mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-01 18:41:54 +08:00
otg keyboard leds
This commit is contained in:
@@ -61,7 +61,12 @@ class _WheelEvent(BaseEvent):
|
||||
# =====
|
||||
class MouseProcess(BaseDeviceProcess):
|
||||
def __init__(self, **kwargs: Any) -> None:
|
||||
super().__init__(name="mouse", **kwargs)
|
||||
super().__init__(
|
||||
name="mouse",
|
||||
read_size=0,
|
||||
initial_state={},
|
||||
**kwargs,
|
||||
)
|
||||
|
||||
self.__pressed_buttons: int = 0
|
||||
self.__x = 0
|
||||
|
||||
Reference in New Issue
Block a user