Difference between revisions of "Legacy:Functions/Input/Joystick"

From Spherical
Jump to: navigation, search
(created)
 
(No difference)

Latest revision as of 23:09, 30 May 2013

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)