diff options
Diffstat (limited to 'hid/src/keymap.h.mako')
-rw-r--r-- | hid/src/keymap.h.mako | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hid/src/keymap.h.mako b/hid/src/keymap.h.mako index 9170117d..4dd1937c 100644 --- a/hid/src/keymap.h.mako +++ b/hid/src/keymap.h.mako @@ -29,7 +29,7 @@ <%! import operator %> INLINE KeyboardKeycode keymap(uint8_t code) { switch(code) { -% for km in sorted(keymap, key=operator.attrgetter("arduino_name")): +% for km in sorted(keymap, key=operator.attrgetter("serial_code")): case ${km.serial_code}: return ${km.arduino_name}; % endfor default: return KEY_ERROR_UNDEFINED; |