Open a joystick for use.
Defined in <SDL3/SDL_joystick.h>
instance_id | the joystick instance ID |
Returns a joystick identifier or NULL if an error occurred; call SDL_GetError() for more information.
The joystick subsystem must be initialized before a joystick can be opened for use.
This function is available since SDL 3.0.0.