Options
All
  • Public
  • Public/Protected
  • All
Menu

Simplifies working with the Gamepad API.

Hierarchy

  • GamepadControls

Index

Constructors

Properties

Accessors

Constructors

constructor

Properties

threshold

threshold: number

Deadzone threshold. Default is .21

Accessors

actionA

  • get actionA(): boolean

actionB

  • get actionB(): boolean

actionEsc

  • get actionEsc(): boolean

actionX

  • get actionX(): boolean

actionY

  • get actionY(): boolean

x

  • get x(): 0 | 1 | -1

y

  • get y(): 0 | 1 | -1