Cleans up the userdata when the joystick is detached
Implements SDL_RumbleJoystick()
Implements SDL_RumbleJoystickTriggers()
Implements SDL_SendJoystickEffect()
Implements SDL_SetJoystickLED()
Called when the player index is set
Implements SDL_SetGamepadSensorEnabled()
Called when the joystick state should be updated
A mask of which axes are valid for this controller e.g. (1 << SDL_GAMEPAD_AXIS_LEFTX)
A mask of which buttons are valid for this controller e.g. (1 << SDL_GAMEPAD_BUTTON_SOUTH)
The name of the joystick
the number of axes on this joystick
the number of balls on this joystick
the number of buttons on this joystick
the number of hats on this joystick
the number of sensors on this joystick, requires sensors to point at valid descriptions
the number of touchpads on this joystick, requires touchpads to point at valid descriptions
unused
unused
the USB product ID of this joystick
A pointer to an array of sensor descriptions, required if nsensors is > 0
A pointer to an array of touchpad descriptions, required if ntouchpads is > 0
SDL_JoystickType
User data pointer passed to callbacks
the USB vendor ID of this joystick
the version of this interface
The structure that describes a virtual joystick.
This structure should be initialized using SDL_INIT_INTERFACE(). All elements of this structure are optional.