diff options
author | Devaev Maxim <[email protected]> | 2020-03-20 03:07:27 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-03-20 03:07:27 +0300 |
commit | d5ae32b1326fc5ac9207193d7679b34e0ceec4c7 (patch) | |
tree | 43bb961fd3006c06dffec900a2c84fb8387302c0 /hid | |
parent | ab6264bd5e65497121139eab6deae353e06d592f (diff) |
vnc
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 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; } |