summaryrefslogtreecommitdiff
path: root/hid
diff options
context:
space:
mode:
Diffstat (limited to 'hid')
-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 b52375a5..9170117d 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("arduino_key")):
- case ${km.serial_code}: return ${km.arduino_key};
+% for km in sorted(keymap, key=operator.attrgetter("arduino_name")):
+ case ${km.serial_code}: return ${km.arduino_name};
% endfor
default: return KEY_ERROR_UNDEFINED;
}