summaryrefslogtreecommitdiff
path: root/hid/lib/drivers-avr/ps2/keymap.h.mako
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-07-22 05:46:57 +0300
committerMaxim Devaev <[email protected]>2022-07-22 05:46:57 +0300
commitf277160396ae7267756f87a215b93a2b5bb7a989 (patch)
treeb508722ac82233c2aaf8eebda1c7a5e68914c730 /hid/lib/drivers-avr/ps2/keymap.h.mako
parent867412a6cdc91f997baa42cee92df2b466dfdc75 (diff)
using usb codes instead of arduino cinstants
Diffstat (limited to 'hid/lib/drivers-avr/ps2/keymap.h.mako')
-rw-r--r--hid/lib/drivers-avr/ps2/keymap.h.mako2
1 files changed, 1 insertions, 1 deletions
diff --git a/hid/lib/drivers-avr/ps2/keymap.h.mako b/hid/lib/drivers-avr/ps2/keymap.h.mako
index bc4ecb47..56644f87 100644
--- a/hid/lib/drivers-avr/ps2/keymap.h.mako
+++ b/hid/lib/drivers-avr/ps2/keymap.h.mako
@@ -38,7 +38,7 @@ void keymapPs2(uint8_t code, Ps2KeyType *ps2_type, uint8_t *ps2_code) {
switch (code) {
% for km in sorted(keymap, key=operator.attrgetter("mcu_code")):
- case ${km.mcu_code}: *ps2_type = PS2_KEY_TYPE_${km.ps2_key.type.upper()}; *ps2_code = ${km.ps2_key.code}; return; // ${km.arduino_name}
+ case ${km.mcu_code}: *ps2_type = PS2_KEY_TYPE_${km.ps2_key.type.upper()}; *ps2_code = ${km.ps2_key.code}; return; // ${km.web_name}
% endfor
}
}