mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-03 11:31:53 +08:00
binary keyboard protocol
This commit is contained in:
@@ -134,7 +134,7 @@ export function Keyboard(__recordWsEvent) {
|
||||
"event": {"key": code, "state": state},
|
||||
};
|
||||
if (__ws && !$("hid-mute-switch").checked) {
|
||||
__ws.send(JSON.stringify(event));
|
||||
__ws.sendHidEvent(event);
|
||||
}
|
||||
__recordWsEvent(event);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user