Gamepad button event. See Gamepads for information on responding to controller input. Gamepad instances receive this event;

Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

Properties

button: Buttons

The Gamepad button

other: Gamepad

Other target object for this event

target: Gamepad

Target object for this event.

value: number

A numeric value between 0 and 1

Accessors

  • get bubbles(): boolean
  • If set to false, prevents event from propagating to other actors. If true it will be propagated to all actors that apply.

    Returns boolean

  • set bubbles(value: boolean): void
  • Parameters

    • value: boolean

    Returns void

Methods