Function SDL_JoystickIsVirtual

pub unsafe extern "C" fn SDL_JoystickIsVirtual(
    device_index: i32,
) -> SDL_bool
Available on crate feature dep_sdl2 only.
Expand description

Query whether or not the joystick at a given device index is virtual.

\param device_index a joystick device index. \returns SDL_TRUE if the joystick is virtual, SDL_FALSE otherwise.

\since This function is available since SDL 2.0.14.