diff options
author | Maxim Devaev <[email protected]> | 2020-09-23 21:21:32 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2020-09-23 21:21:32 +0300 |
commit | 3f743114857b11656957767bec4bfa27f4dd7fee (patch) | |
tree | 724789f1e5cedc5c5d5f168fa2aa1cdaa16a3b7d /hid/src/ps2 | |
parent | bbf3b18fe3350c08e6dbcfde20a9e2a4685e8be1 (diff) | |
parent | 3701a0a7421e96e9beedb9fe1a2a27c807fce2dc (diff) |
Merge pull request #10 from mfunkey/new_key
Added missing key on non us keyboards
Diffstat (limited to 'hid/src/ps2')
-rw-r--r-- | hid/src/ps2/keymap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hid/src/ps2/keymap.h b/hid/src/ps2/keymap.h index eae605db..2e484cac 100644 --- a/hid/src/ps2/keymap.h +++ b/hid/src/ps2/keymap.h @@ -144,5 +144,6 @@ INLINE void keymapPs2(uint8_t code, Ps2KeyType *ps2_type, uint8_t *ps2_code) { case 103: *ps2_type = PS2_KEY_TYPE_REG; *ps2_code = 112; return; // KEYPAD_0 case 104: *ps2_type = PS2_KEY_TYPE_REG; *ps2_code = 113; return; // KEYPAD_DOT case 105: *ps2_type = PS2_KEY_TYPE_SPEC; *ps2_code = 94; return; // KEY_POWER + case 106: *ps2_type = PS2_KEY_TYPE_REG; *ps2_code = 97; return; // KEY_NON_US } } |