Function sdl2_sys::SDL_JoystickAttachVirtualEx
source · pub unsafe extern "C" fn SDL_JoystickAttachVirtualEx(
desc: *const SDL_VirtualJoystickDesc,
) -> c_int
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.