diff options
Diffstat (limited to 'kvmd/keyboard/mappings.py.mako')
-rw-r--r-- | kvmd/keyboard/mappings.py.mako | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kvmd/keyboard/mappings.py.mako b/kvmd/keyboard/mappings.py.mako index 91d46297..b8a6596c 100644 --- a/kvmd/keyboard/mappings.py.mako +++ b/kvmd/keyboard/mappings.py.mako @@ -22,8 +22,6 @@ import dataclasses -from typing import Dict - # ===== @dataclasses.dataclass(frozen=True) @@ -43,7 +41,7 @@ class Key: usb: UsbKey <%! import operator %> -KEYMAP: Dict[str, Key] = { +KEYMAP: dict[str, Key] = { % for km in sorted(keymap, key=operator.attrgetter("mcu_code")): "${km.web_name}": Key(mcu=McuKey(code=${km.mcu_code}), usb=UsbKey(code=${km.usb_key.code}, is_modifier=${km.usb_key.is_modifier})), % endfor |