Function SDL_JoystickAttachVirtualEx

pub unsafe extern "C" fn SDL_JoystickAttachVirtualEx(
    desc: *const SDL_VirtualJoystickDesc,
) -> i32
Available on crate feature dep_sdl2 only.
Expand description

Attach a new virtual joystick with extended properties.

\returns the joystick’s device index, or -1 if an error occurred.

\since This function is available since SDL 2.24.0.