summaryrefslogtreecommitdiff
path: root/hid/src/keymap.h
diff options
context:
space:
mode:
Diffstat (limited to 'hid/src/keymap.h')
-rw-r--r--hid/src/keymap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hid/src/keymap.h b/hid/src/keymap.h
index be393625..675d0b2f 100644
--- a/hid/src/keymap.h
+++ b/hid/src/keymap.h
@@ -3,7 +3,7 @@
#include "inline.h"
-INLINE uint8_t keymap(uint8_t code) {
+INLINE KeyboardKeycode keymap(uint8_t code) {
switch(code) {
case 36: return KEY_0;
case 27: return KEY_1;
@@ -91,4 +91,4 @@ INLINE uint8_t keymap(uint8_t code) {
case 26: return KEY_Z;
default: return 0;
}
-} \ No newline at end of file
+}