summaryrefslogtreecommitdiff
path: root/kvmd/plugins/hid/otg/keyboard.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/plugins/hid/otg/keyboard.py')
-rw-r--r--kvmd/plugins/hid/otg/keyboard.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/kvmd/plugins/hid/otg/keyboard.py b/kvmd/plugins/hid/otg/keyboard.py
index 3392e8f9..2403dc2c 100644
--- a/kvmd/plugins/hid/otg/keyboard.py
+++ b/kvmd/plugins/hid/otg/keyboard.py
@@ -30,7 +30,7 @@ from typing import Any
from ....logging import get_logger
-from ....keyboard.mappings import OtgKey
+from ....keyboard.mappings import UsbKey
from .device import BaseDeviceProcess
@@ -56,8 +56,8 @@ class KeyboardProcess(BaseDeviceProcess):
**kwargs,
)
- self.__pressed_modifiers: Set[OtgKey] = set()
- self.__pressed_keys: List[Optional[OtgKey]] = [None] * 6
+ self.__pressed_modifiers: Set[UsbKey] = set()
+ self.__pressed_keys: List[Optional[UsbKey]] = [None] * 6
def cleanup(self) -> None:
self._stop()