summaryrefslogtreecommitdiffstats
path: root/src/input_common/drivers/keyboard.h
diff options
context:
space:
mode:
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