summaryrefslogtreecommitdiff
path: root/hid/src
diff options
context:
space:
mode:
Diffstat (limited to 'hid/src')
-rw-r--r--hid/src/keymap.h.mako4
1 files changed, 2 insertions, 2 deletions
diff --git a/hid/src/keymap.h.mako b/hid/src/keymap.h.mako
index 7eb4d5d0..b52375a5 100644
--- a/hid/src/keymap.h.mako
+++ b/hid/src/keymap.h.mako
@@ -29,8 +29,8 @@
<%! import operator %>
INLINE KeyboardKeycode keymap(uint8_t code) {
switch(code) {
-% for km in sorted(keymap, key=operator.attrgetter("serial_hid_key")):
- case ${km.serial_hid_code}: return ${km.serial_hid_key};
+% for km in sorted(keymap, key=operator.attrgetter("arduino_key")):
+ case ${km.serial_code}: return ${km.arduino_key};
% endfor
default: return KEY_ERROR_UNDEFINED;
}