diff --git a/src/component/internal/control.ts b/src/component/internal/control.ts index 4750dadf..f9bde5d1 100644 --- a/src/component/internal/control.ts +++ b/src/component/internal/control.ts @@ -37,15 +37,15 @@ export class NekoControl extends EventEmitter { this._connection.websocket.send(EVENT.CONTROL_RELEASE) } - public keypress(keysym: number) { + public keyPress(keysym: number) { this._connection.websocket.send(EVENT.CONTROL_KEYPRESS, { keysym } as message.ControlKey) } - public keydown(keysym: number) { + public keyDown(keysym: number) { this._connection.websocket.send(EVENT.CONTROL_KEYDOWN, { keysym } as message.ControlKey) } - public keyup(keysym: number) { + public keyUp(keysym: number) { this._connection.websocket.send(EVENT.CONTROL_KEYUP, { keysym } as message.ControlKey) }