Interface GamepadDisplayVariableButton

Hierarchy

  • GamepadDisplayVariableButton

Properties

buttonElement: HTMLElement | SVGElement

The element to move to represent pressing on this button

direction: gamepadDirection

Direction the buttonElement should move to represent being pressed

directionHighlight?: HTMLElement | SVGElement

Drag direction indicator / highlight element for this variable button

extraData?: any

optional, for your own use

highlight: HTMLElement | SVGElement

The element to add the touch and press classses, to represent touching or pressing on this button

movementRange: number

How far the buttonElement should move to represent being pressed fully

type: variable

Generated using TypeDoc