summaryrefslogtreecommitdiff
path: root/hid
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-09-26 10:26:21 +0300
committerDevaev Maxim <[email protected]>2019-09-26 10:26:21 +0300
commit31c17bb583717bf99fa5990d6a4507bebe8086ce (patch)
treee774256754a658f471673943ecee59c5e3c31915 /hid
parentcbebefc6c97c45b8e7c63c07df8c355077fed657 (diff)
otg keymap
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 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;
}