Skip to main content

Keyboard Button

type KeyboardButtonPayload = {
key: string
isDown: boolean
}

This data is sent when the host presses or releases a keyboard button.

The key field is one of the JavaScript KeyboardEvent.key values.