Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GamepadButtonEvent

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

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • Parameters

    • button: Buttons

      The Gamepad button

    • value: number

      A numeric value between 0 and 1

    Returns GamepadButtonEvent

Properties

button

button: Buttons

The Gamepad button

target

target: any

Target object for this event.

value

value: number

A numeric value between 0 and 1