Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

Properties

button: Buttons
other: Gamepad

Other target object for this event

target: Gamepad

Target object for this event.

value: number

Accessors

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

    Returns boolean

  • If set to false, prevents event from propagating to other actors. If true it will be propagated to all actors that apply.

    Parameters

    • value: boolean

    Returns void

Methods

  • stopPropagation(): void