Hierarchy

  • GamepadDisplayJoystick

Properties

highlights?: { down?: null | HTMLElement | SVGElement; left?: null | HTMLElement | SVGElement; right?: null | HTMLElement | SVGElement; up?: null | HTMLElement | SVGElement }

When the joystick is moved in a given direction, the corresponding highlight element will be given the moveDirectionHighlightClass from the config

Type declaration

  • Optional down?: null | HTMLElement | SVGElement
  • Optional left?: null | HTMLElement | SVGElement
  • Optional right?: null | HTMLElement | SVGElement
  • Optional up?: null | HTMLElement | SVGElement
joystickElement: HTMLElement | SVGElement
movementRange: number
xAxisIndex?: number
yAxisIndex?: number

Generated using TypeDoc