summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-12-10 17:08:45 +0300
committerMaxim Devaev <[email protected]>2022-12-10 17:08:45 +0300
commit392b8c3f9e76213cafa92e1e1b3c1b20cafd1834 (patch)
treeb7bb618df0ebe0698e0d81c9e8ab9e1a11599c17
parentb4f448b671979cd196f14f59e056cff68d327ca0 (diff)
regen
-rw-r--r--kvmd/keyboard/mappings.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/kvmd/keyboard/mappings.py b/kvmd/keyboard/mappings.py
index 01a538b8..e639cef4 100644
--- a/kvmd/keyboard/mappings.py
+++ b/kvmd/keyboard/mappings.py
@@ -22,8 +22,6 @@
import dataclasses
-from typing import Dict
-
# =====
@dataclasses.dataclass(frozen=True)
@@ -43,7 +41,7 @@ class Key:
usb: UsbKey
-KEYMAP: Dict[str, Key] = {
+KEYMAP: dict[str, Key] = {
"KeyA": Key(mcu=McuKey(code=1), usb=UsbKey(code=4, is_modifier=False)),
"KeyB": Key(mcu=McuKey(code=2), usb=UsbKey(code=5, is_modifier=False)),
"KeyC": Key(mcu=McuKey(code=3), usb=UsbKey(code=6, is_modifier=False)),