SDL_IsGamepad

Check if the given joystick is supported by the gamepad interface.

extern (C) nothrow @nogc extern
bool
SDL_IsGamepad

Parameters

instance_id SDL_JoystickID

the joystick instance ID.

Return Value

Type: bool

true if the given joystick is supported by the gamepad interface, false if it isn't or it's an invalid index.

See Also

Meta