Attach a new virtual joystick with extended properties.
const SDL_VirtualJoystickDesc *desc); SDL_JoystickID SDL_AttachVirtualJoystickEx(
desc | Joystick description |
Returns the joystick instance ID, or 0 if an error occurred; call SDL_GetError() for more information.
This function is available since SDL 3.0.0.