diff options
| author | 2021-10-24 11:22:20 -0500 | |
|---|---|---|
| committer | 2021-11-24 20:30:25 -0600 | |
| commit | 464c4d26ac8e7af6302390684445b357e5cda4e4 (patch) | |
| tree | 160f98a8bce324756f46b7b5aee889bb5b53f8af /src/core/hid/emulated_devices.h | |
| parent | web_applet: Replace HIDButton with NpadButton (diff) | |
| download | yuzu-464c4d26ac8e7af6302390684445b357e5cda4e4.tar.gz yuzu-464c4d26ac8e7af6302390684445b357e5cda4e4.tar.xz yuzu-464c4d26ac8e7af6302390684445b357e5cda4e4.zip | |
settings: Fix mouse and keyboard mappings
Diffstat (limited to 'src/core/hid/emulated_devices.h')
| -rw-r--r-- | src/core/hid/emulated_devices.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hid/emulated_devices.h b/src/core/hid/emulated_devices.h index c6c19fae4..7ed95eac6 100644 --- a/src/core/hid/emulated_devices.h +++ b/src/core/hid/emulated_devices.h | |||
| @@ -143,6 +143,9 @@ public: | |||
| 143 | void DeleteCallback(int key); | 143 | void DeleteCallback(int key); |
| 144 | 144 | ||
| 145 | private: | 145 | private: |
| 146 | /// Helps assigning a value to keyboard_state | ||
| 147 | void UpdateKey(std::size_t key_index, bool status); | ||
| 148 | |||
| 146 | /** | 149 | /** |
| 147 | * Updates the touch status of the console | 150 | * Updates the touch status of the console |
| 148 | * @param callback: A CallbackStatus containing the key status | 151 | * @param callback: A CallbackStatus containing the key status |