summaryrefslogtreecommitdiff
path: root/kvmd/validators/kvm.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/validators/kvm.py')
-rw-r--r--kvmd/validators/kvm.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/validators/kvm.py b/kvmd/validators/kvm.py
index df09d06e..cf63b97e 100644
--- a/kvmd/validators/kvm.py
+++ b/kvmd/validators/kvm.py
@@ -22,7 +22,7 @@
from typing import Any
-from .. import keymap
+from ..keyboard.mappings import KEYMAP
from . import check_string_in_list
@@ -58,7 +58,7 @@ def valid_stream_fps(arg: Any) -> int:
# =====
def valid_hid_key(arg: Any) -> str:
- return check_string_in_list(arg, "HID key", keymap.KEYMAP, lower=False)
+ return check_string_in_list(arg, "HID key", KEYMAP, lower=False)
def valid_hid_mouse_move(arg: Any) -> int: