summaryrefslogtreecommitdiff
path: root/hid/src
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-02-21 11:50:57 +0300
committerDevaev Maxim <[email protected]>2020-02-21 11:50:57 +0300
commitb7419ecb3a3710e4722f42d934826f6e6dc49cd7 (patch)
tree6d8eafb69999899dd64d78608586289b4588792a /hid/src
parentb8b9bbe53a7f771a8ce4bc331bab30d27d06507c (diff)
supported menu and numlock keys
Diffstat (limited to 'hid/src')
-rw-r--r--hid/src/keymap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hid/src/keymap.h b/hid/src/keymap.h
index ac7bc5ea..c66a454d 100644
--- a/hid/src/keymap.h
+++ b/hid/src/keymap.h
@@ -82,8 +82,10 @@ INLINE KeyboardKeycode keymap(uint8_t code) {
case 80: return KEY_LEFT_GUI;
case 78: return KEY_LEFT_SHIFT;
case 13: return KEY_M;
+ case 88: return KEY_MENU;
case 42: return KEY_MINUS;
case 14: return KEY_N;
+ case 87: return KEY_NUM_LOCK;
case 15: return KEY_O;
case 16: return KEY_P;
case 72: return KEY_PAGE_DOWN;