SDL_OpenGamepad

Open a gamepad for use.

extern (C) nothrow @nogc extern
SDL_OpenGamepad

Parameters

instance_id SDL_JoystickID

the joystick instance ID.

Return Value

A gamepad identifier or NULL if an error occurred; call SDL_GetError() for more information.

See Also

Meta