Namespace: GAMEPAD

me.input. GAMEPAD

Namespace for standard gamepad mapping constants
Source:
gamepad.js, line 294

Members

<static> AXES :Number

Standard gamepad mapping information for axes
  • Left control stick: LX (horizontal), LY (vertical)
  • Right control stick: RX (horizontal), RY (vertical)
  • Extras: EXTRA_1, EXTRA_2, EXTRA_3, EXTRA_4
Type:
  • Number
Source:
gamepad.js, line 301
See:

<static> BUTTONS :Number

Standard gamepad mapping information for buttons
  • Face buttons: FACE_1, FACE_2, FACE_3, FACE_4
  • D-Pad: UP, DOWN, LEFT, RIGHT
  • Shoulder buttons: L1, L2, R1, R2
  • Analog stick (clicks): L3, R3
  • Navigation: SELECT (BACK), START (FORWARD), HOME
  • Extras: EXTRA_1, EXTRA_2, EXTRA_3, EXTRA_4
Type:
  • Number
Source:
gamepad.js, line 325
See:
Copyright © 2011 - 2017, Olivier Biot, Jason Oster, Aaron McLeod
Documentation generated by JSDoc 3.4.0 on 2017-02-28T11:37:40+08:00 using the DocStrap template modified by codename-.