fixed keypad dot on arduino hid

This commit is contained in:
Devaev Maxim 2020-06-03 09:01:57 +03:00
parent 9997935a2e
commit 333908b6a1
2 changed files with 2 additions and 2 deletions

View File

@ -40,8 +40,8 @@ INLINE KeyboardKeycode keymap(uint8_t code) {
case 101: return KEYPAD_8; case 101: return KEYPAD_8;
case 102: return KEYPAD_9; case 102: return KEYPAD_9;
case 92: return KEYPAD_ADD; case 92: return KEYPAD_ADD;
case 104: return KEYPAD_DECIMAL;
case 89: return KEYPAD_DIVIDE; case 89: return KEYPAD_DIVIDE;
case 104: return KEYPAD_DOT;
case 93: return KEYPAD_ENTER; case 93: return KEYPAD_ENTER;
case 90: return KEYPAD_MULTIPLY; case 90: return KEYPAD_MULTIPLY;
case 91: return KEYPAD_SUBTRACT; case 91: return KEYPAD_SUBTRACT;

View File

@ -131,6 +131,6 @@ Numpad7 100 KEYPAD_7 0x5f 0x47 XK_KP_7
Numpad8 101 KEYPAD_8 0x60 0x48 XK_KP_8 Numpad8 101 KEYPAD_8 0x60 0x48 XK_KP_8
Numpad9 102 KEYPAD_9 0x61 0x49 XK_KP_9 Numpad9 102 KEYPAD_9 0x61 0x49 XK_KP_9
Numpad0 103 KEYPAD_0 0x62 0x52 XK_KP_0 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
# KEY_NON_US_NUM # KEY_NON_US_NUM