Class SDL.Joystick
- Description
Represents a joystick, gamepad or other similar input device attached to the system.
You must call SDL.init() with the SDL.INIT_JOYSTICK flag to enable joystick support.
All index numbers count from
0.All SDL.Joystick methods throw an exception if they are called on an uninitialized object.