diff options
author | german77 <juangerman-13@hotmail.com> | 2021-11-13 23:25:45 -0600 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2021-11-24 20:30:28 -0600 |
commit | b673857d7dfc72f38d9242b315cd590b859795ff (patch) | |
tree | 8dbb0823ddfdb827eec99f9f05c678a9d15d6631 /src/input_common/drivers/keyboard.h | |
parent | 7fcfe24a3edff903871bee6c249d97e64648ddfa (diff) |
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.h | 7 |
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 |