core/hid: Improve accuracy of the keyboard implementation

This commit is contained in:
german77
2021-11-13 23:25:45 -06:00
committed by Narr the Reg
parent 7fcfe24a3e
commit b673857d7d
13 changed files with 682 additions and 313 deletions

View File

@ -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