summaryrefslogtreecommitdiff
path: root/kvmd/plugins/hid/otg/keyboard.py
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-07-22 04:36:54 +0300
committerMaxim Devaev <[email protected]>2022-07-22 04:36:54 +0300
commit867412a6cdc91f997baa42cee92df2b466dfdc75 (patch)
treedbb0da45518763f2b211cee3f90f963b9957a254 /kvmd/plugins/hid/otg/keyboard.py
parent249098b41c2372052ff90d017f18f30772d1f839 (diff)
renamed otg key to usb key
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()