summaryrefslogtreecommitdiff
path: root/src/core/hid/emulated_devices.h
diff options
context:
space:
mode:
authorGravatar german772021-10-24 11:22:20 -0500
committerGravatar Narr the Reg2021-11-24 20:30:25 -0600
commit464c4d26ac8e7af6302390684445b357e5cda4e4 (patch)
tree160f98a8bce324756f46b7b5aee889bb5b53f8af /src/core/hid/emulated_devices.h
parentweb_applet: Replace HIDButton with NpadButton (diff)
downloadyuzu-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.h3
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
145private: 145private:
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