Query whether or not a joystick is virtual.
Defined in <SDL3/SDL_joystick.h>
bool SDL_IsJoystickVirtual(SDL_JoystickID instance_id);
SDL_JoystickID | instance_id | the joystick instance ID. |
(bool) Returns true if the joystick is virtual, false otherwise.
This function is available since SDL 3.1.3.