Attach a new virtual joystick with extended properties.
Defined in SDL_joystick.h
int SDL_JoystickAttachVirtualEx(const SDL_VirtualJoystickDesc *desc);
(int) Returns the joystick's device index, or -1 if an error occurred.
This function is available since SDL 2.24.0.