diff options
author | Devaev Maxim <[email protected]> | 2020-06-03 09:01:57 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-06-03 09:01:57 +0300 |
commit | 333908b6a15074c17b31c3be14e82a17ac959138 (patch) | |
tree | 009f1d5f144e7c99cd77983ddc0a948a0b12035e | |
parent | 9997935a2e6f838df0d1ef52d842219c452228cc (diff) |
fixed keypad dot on arduino hid
-rw-r--r-- | hid/src/keymap.h | 2 | ||||
-rw-r--r-- | keymap.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/hid/src/keymap.h b/hid/src/keymap.h index d34dd9bd..fd74e488 100644 --- a/hid/src/keymap.h +++ b/hid/src/keymap.h @@ -40,8 +40,8 @@ INLINE KeyboardKeycode keymap(uint8_t code) { case 101: return KEYPAD_8; case 102: return KEYPAD_9; case 92: return KEYPAD_ADD; - case 104: return KEYPAD_DECIMAL; case 89: return KEYPAD_DIVIDE; + case 104: return KEYPAD_DOT; case 93: return KEYPAD_ENTER; case 90: return KEYPAD_MULTIPLY; case 91: return KEYPAD_SUBTRACT; @@ -131,6 +131,6 @@ Numpad7 100 KEYPAD_7 0x5f 0x47 XK_KP_7 Numpad8 101 KEYPAD_8 0x60 0x48 XK_KP_8 Numpad9 102 KEYPAD_9 0x61 0x49 XK_KP_9 Numpad0 103 KEYPAD_0 0x62 0x52 XK_KP_0 -NumpadDecimal 104 KEYPAD_DECIMAL 0x63 0x53 XK_KP_Decimal +NumpadDecimal 104 KEYPAD_DOT 0x63 0x53 XK_KP_Decimal # KEY_NON_US # KEY_NON_US_NUM |