Legacy:Functions/Input/Joystick

From Spherical
Jump to: navigation, search

Joystick

General device polling

Button status

Orientation

  • GetJoystickAxis(joystick, axis): Returns the current joystick axis position in normalized coordinates fro -1 to 1.
  • Allowed axis values:
    • JOYSTICK_AXIS_X
    • JOYSTICK_AXIS_Y
    • JOYSTICK_AXIS_Z
    • JOYSTICK_AXIS_R (rotation)