summaryrefslogtreecommitdiff
path: root/genmap.py
diff options
context:
space:
mode:
Diffstat (limited to 'genmap.py')
-rwxr-xr-xgenmap.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/genmap.py b/genmap.py
index b601d007..60b2bc9b 100755
--- a/genmap.py
+++ b/genmap.py
@@ -23,15 +23,16 @@
import sys
import textwrap
+import dataclasses
from typing import List
-from typing import NamedTuple
import mako.template
# =====
-class _KeyMapping(NamedTuple):
[email protected](frozen=True)
+class _KeyMapping:
kvmd_code: int
arduino_hid_key: str
web_key: str