Interface CreateInputCollectionOptions

interface CreateInputCollectionOptions {
    gamepadButtons?: readonly number[];
    keyboardButtons?: readonly CreateInputCollectionOptionsKeyboardButton[];
    mouseButtons?: readonly number[];
    name: string;
}

Properties

gamepadButtons?: readonly number[]

An array of numbers that correlate to inputs on a controller

keyboardButtons?: readonly CreateInputCollectionOptionsKeyboardButton[]

An array of strings that represents different inputs on a keyboard

mouseButtons?: readonly number[]

An array of numbers that represents different inputs on a mouse

name: string