KeyboardClient
caution
This service is experimental and may change in the future.
Measures KeyboardClient.
import { KeyboardClient } from "@devicescript/core"
const keyboardClient = new KeyboardClient()
Events
down
Emitted when a key is pressed.
keyboardClient.down.subscribe(() => {
})
hold
Emitted when a key is held.
keyboardClient.hold.subscribe(() => {
})