Interface InputCollectionSnapshot

interface InputCollectionSnapshot {
    gamepadButtons: readonly number[];
    id: string;
    joystickDirections: readonly ("down" | "left" | "right" | "up")[];
    keyboardButtons: readonly KeyboardButton[];
    matchesDefaultInputs: boolean;
    mouseButtons: readonly number[];
    name: string;
}

Properties

gamepadButtons: readonly number[]
id: string
joystickDirections: readonly ("down" | "left" | "right" | "up")[]
keyboardButtons: readonly KeyboardButton[]
matchesDefaultInputs: boolean
mouseButtons: readonly number[]
name: string