mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 17:20:30 +08:00
todo
This commit is contained in:
parent
9c44852aa1
commit
5238fa64ac
@ -54,6 +54,8 @@ class Hid(multiprocessing.Process):
|
|||||||
get_logger().info("Starting HID daemon ...")
|
get_logger().info("Starting HID daemon ...")
|
||||||
super().start()
|
super().start()
|
||||||
|
|
||||||
|
# TODO: add reset or power switching
|
||||||
|
|
||||||
async def send_key_event(self, key: str, state: bool) -> None:
|
async def send_key_event(self, key: str, state: bool) -> None:
|
||||||
if not self.__stop_event.is_set():
|
if not self.__stop_event.is_set():
|
||||||
async with self.__lock:
|
async with self.__lock:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user