summaryrefslogtreecommitdiff
path: root/src/input_common/drivers/keyboard.h
diff options
context:
space:
mode:
authorGravatar german772021-11-13 23:25:45 -0600
committerGravatar Narr the Reg2021-11-24 20:30:28 -0600
commitb673857d7dfc72f38d9242b315cd590b859795ff (patch)
tree8dbb0823ddfdb827eec99f9f05c678a9d15d6631 /src/input_common/drivers/keyboard.h
parentcore/hid: Fix keyboard alignment (diff)
downloadyuzu-b673857d7dfc72f38d9242b315cd590b859795ff.tar.gz
yuzu-b673857d7dfc72f38d9242b315cd590b859795ff.tar.xz
yuzu-b673857d7dfc72f38d9242b315cd590b859795ff.zip
core/hid: Improve accuracy of the keyboard implementation
Diffstat (limited to 'src/input_common/drivers/keyboard.h')
-rw-r--r--src/input_common/drivers/keyboard.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/input_common/drivers/keyboard.h b/src/input_common/drivers/keyboard.h
index 46fe78576..2ab92fd6c 100644
--- a/src/input_common/drivers/keyboard.h
+++ b/src/input_common/drivers/keyboard.h
@@ -28,6 +28,13 @@ public:
28 */ 28 */
29 void ReleaseKey(int key_code); 29 void ReleaseKey(int key_code);
30 30
31 /**
32 * Sets the status of all keyboard modifier keys
33 * @param key_modifiers the code of the key to release
34 */
35 void SetModifiers(int key_modifiers);
36
37 /// Sets all keys to the non pressed state
31 void ReleaseAllKeys(); 38 void ReleaseAllKeys();
32 39
33 /// Used for automapping features 40 /// Used for automapping features