core/hid: Improve accuracy of the keyboard implementation
This commit is contained in:
parent
7fcfe24a3e
commit
b673857d7d
13 changed files with 682 additions and 313 deletions
|
@ -134,6 +134,9 @@ private:
|
|||
/// Generates a serialized param package for creating a keyboard button device.
|
||||
std::string GenerateKeyboardParam(int key_code);
|
||||
|
||||
/// Generates a serialized param package for creating a moddifier keyboard button device.
|
||||
std::string GenerateModdifierKeyboardParam(int key_code);
|
||||
|
||||
/// Generates a serialized param package for creating an analog device taking input from keyboard.
|
||||
std::string GenerateAnalogParamFromKeys(int key_up, int key_down, int key_left, int key_right,
|
||||
int key_modifier, float modifier_scale);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue