diff options
author | Devaev Maxim <[email protected]> | 2019-09-26 04:23:50 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-09-26 04:23:50 +0300 |
commit | 5e1e3cdf640face90ac5898ea4de7484c5edeae1 (patch) | |
tree | 71997b466302594a43929076a817b5748927512e /hid | |
parent | 2f767573d301dbc2b9403363a71ff7acf38049b4 (diff) |
refactoring
Diffstat (limited to 'hid')
-rw-r--r-- | hid/src/keymap.h.mako | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hid/src/keymap.h.mako b/hid/src/keymap.h.mako index 6a965ca9..7eb4d5d0 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_hid_key")): - case ${km.arduino_hid_code}: return ${km.arduino_hid_key}; +% for km in sorted(keymap, key=operator.attrgetter("serial_hid_key")): + case ${km.serial_hid_code}: return ${km.serial_hid_key}; % endfor default: return KEY_ERROR_UNDEFINED; } |