diff options
| author | 2021-09-20 19:44:34 -0500 | |
|---|---|---|
| committer | 2021-11-24 20:30:23 -0600 | |
| commit | 967cca10ff5721cc942f557c3e0a20c07f5aa45e (patch) | |
| tree | 464abf622ab259581a04ffea6ad99330cfc27eb8 /src/core/core.h | |
| parent | core/hid: Add emulated controllers (diff) | |
| download | yuzu-967cca10ff5721cc942f557c3e0a20c07f5aa45e.tar.gz yuzu-967cca10ff5721cc942f557c3e0a20c07f5aa45e.tar.xz yuzu-967cca10ff5721cc942f557c3e0a20c07f5aa45e.zip | |
core: Register HID
Diffstat (limited to 'src/core/core.h')
| -rw-r--r-- | src/core/core.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/core.h b/src/core/core.h index 01bc0a2c7..5a031efb0 100644 --- a/src/core/core.h +++ b/src/core/core.h | |||
| @@ -89,6 +89,10 @@ namespace Core::Hardware { | |||
| 89 | class InterruptManager; | 89 | class InterruptManager; |
| 90 | } | 90 | } |
| 91 | 91 | ||
| 92 | namespace Core::HID { | ||
| 93 | class HIDCore; | ||
| 94 | } | ||
| 95 | |||
| 92 | namespace Core { | 96 | namespace Core { |
| 93 | 97 | ||
| 94 | class ARM_Interface; | 98 | class ARM_Interface; |
| @@ -285,6 +289,12 @@ public: | |||
| 285 | /// Provides a constant reference to the kernel instance. | 289 | /// Provides a constant reference to the kernel instance. |
| 286 | [[nodiscard]] const Kernel::KernelCore& Kernel() const; | 290 | [[nodiscard]] const Kernel::KernelCore& Kernel() const; |
| 287 | 291 | ||
| 292 | /// Gets a mutable reference to the HID interface | ||
| 293 | [[nodiscard]] HID::HIDCore& HIDCore(); | ||
| 294 | |||
| 295 | /// Gets an immutable reference to the HID interface. | ||
| 296 | [[nodiscard]] const HID::HIDCore& HIDCore() const; | ||
| 297 | |||
| 288 | /// Provides a reference to the internal PerfStats instance. | 298 | /// Provides a reference to the internal PerfStats instance. |
| 289 | [[nodiscard]] Core::PerfStats& GetPerfStats(); | 299 | [[nodiscard]] Core::PerfStats& GetPerfStats(); |
| 290 | 300 | ||