diff options
author | Martin Funk <[email protected]> | 2020-09-20 23:04:52 +0200 |
---|---|---|
committer | Martin Funk <[email protected]> | 2020-09-20 23:04:52 +0200 |
commit | 3701a0a7421e96e9beedb9fe1a2a27c807fce2dc (patch) | |
tree | 0755af747b7a6486aa01289848daed41f7c2fd21 /hid | |
parent | 7dd9895dda55e8a4d80d85dae4dca57dc7789b09 (diff) |
Added missing no us key
Diffstat (limited to 'hid')
-rw-r--r-- | hid/src/ps2/keymap.h | 1 | ||||
-rw-r--r-- | hid/src/usb/keymap.h | 1 |
2 files changed, 2 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 } } diff --git a/hid/src/usb/keymap.h b/hid/src/usb/keymap.h index 6c9d6073..35df2be4 100644 --- a/hid/src/usb/keymap.h +++ b/hid/src/usb/keymap.h @@ -134,6 +134,7 @@ INLINE KeyboardKeycode keymapUsb(uint8_t code) { case 103: return KEYPAD_0; case 104: return KEYPAD_DOT; case 105: return KEY_POWER; + case 106: return KEY_NON_US; default: return KEY_ERROR_UNDEFINED; } } |