Function SDL_IsGamepad
pub unsafe extern "C" fn SDL_IsGamepad(instance_id: u32) -> bool
Available on crate feature
dep_sdl3
only.Expand description
Check if the given joystick is supported by the gamepad interface.
§Parameters
instance_id
: the joystick instance ID.
§Return value
Returns true if the given joystick is supported by the gamepad interface, false if it isn’t or it’s an invalid index.
§Availability
This function is available since SDL 3.2.0.