diff options
Diffstat (limited to 'kvmd/web/index.html')
-rw-r--r-- | kvmd/web/index.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kvmd/web/index.html b/kvmd/web/index.html index cb61185a..3bfe8cc5 100644 --- a/kvmd/web/index.html +++ b/kvmd/web/index.html @@ -42,9 +42,9 @@ function onKeyEvent(event, state) { // TODO: run this code under the lock console.log("Key", (state ? "pressed:" : "released:"), event) ws.send(JSON.stringify({ - event_type: "key_event", - key_code: event.code, - key_state: state, + event_type: "key", + key: event.code, + state: state, })); } |