summaryrefslogtreecommitdiffstats
path: root/src/input_common/drivers/keyboard.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2021-11-14 06:25:45 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2021-11-25 03:30:28 +0100
commitb673857d7dfc72f38d9242b315cd590b859795ff (patch)
tree8dbb0823ddfdb827eec99f9f05c678a9d15d6631 /src/input_common/drivers/keyboard.h
parentcore/hid: Fix keyboard alignment (diff)
downloadyuzu-b673857d7dfc72f38d9242b315cd590b859795ff.tar
yuzu-b673857d7dfc72f38d9242b315cd590b859795ff.tar.gz
yuzu-b673857d7dfc72f38d9242b315cd590b859795ff.tar.bz2
yuzu-b673857d7dfc72f38d9242b315cd590b859795ff.tar.lz
yuzu-b673857d7dfc72f38d9242b315cd590b859795ff.tar.xz
yuzu-b673857d7dfc72f38d9242b315cd590b859795ff.tar.zst
yuzu-b673857d7dfc72f38d9242b315cd590b859795ff.zip
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:
*/
void ReleaseKey(int key_code);
+ /**
+ * Sets the status of all keyboard modifier keys
+ * @param key_modifiers the code of the key to release
+ */
+ void SetModifiers(int key_modifiers);
+
+ /// Sets all keys to the non pressed state
void ReleaseAllKeys();
/// Used for automapping features