summaryrefslogtreecommitdiff
path: root/kvmd/plugins/hid/bt
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/bt
parent249098b41c2372052ff90d017f18f30772d1f839 (diff)
renamed otg key to usb key
Diffstat (limited to 'kvmd/plugins/hid/bt')
-rw-r--r--kvmd/plugins/hid/bt/server.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/kvmd/plugins/hid/bt/server.py b/kvmd/plugins/hid/bt/server.py
index feac5329..9cfbce53 100644
--- a/kvmd/plugins/hid/bt/server.py
+++ b/kvmd/plugins/hid/bt/server.py
@@ -40,7 +40,7 @@ from ....logging import get_logger
from .... import tools
from .... import aiomulti
-from ....keyboard.mappings import OtgKey
+from ....keyboard.mappings import UsbKey
from ..otg.events import BaseEvent
from ..otg.events import ClearEvent
@@ -115,8 +115,8 @@ class BtServer: # pylint: disable=too-many-instance-attributes
"scroll": False,
"num": False,
}, notifier)
- self.__modifiers: Set[OtgKey] = set()
- self.__keys: List[Optional[OtgKey]] = [None] * 6
+ self.__modifiers: Set[UsbKey] = set()
+ self.__keys: List[Optional[UsbKey]] = [None] * 6
self.__mouse_buttons = 0
def run(self) -> None: