Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GamepadAxisEvent

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

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • Parameters

    • axis: Axes

      The Gamepad axis

    • value: number

      A numeric value between -1 and 1

    Returns GamepadAxisEvent

Properties

axis

axis: Axes

The Gamepad axis

target

target: any

Target object for this event.

value

value: number

A numeric value between -1 and 1