gamecontroller: Added docs to SDL_GameControllerBindType, to fix wiki docs.
Some checks failed
Build (All) / Create test plan (push) Has been cancelled
Build (All) / level2 (push) Has been cancelled
Build (All) / level1 (push) Has been cancelled

This commit is contained in:
Ryan C. Gordon 2026-06-22 22:30:18 -04:00
parent 1fbce8a06a
commit b8b3f5ef20
No known key found for this signature in database
GPG key ID: FA148B892AB48044

View file

@ -79,6 +79,19 @@ typedef enum SDL_GameControllerType
SDL_CONTROLLER_TYPE_MAX
} SDL_GameControllerType;
/**
* Types of game controller control bindings.
*
* A game controller is a collection of bindings that map arbitrary joystick
* buttons, axes and hat switches to specific positions on a generic
* console-style gamepad.
*
* \since This enum is available since SDL 2.0.0.
*
* \sa SDL_GameControllerButtonBind
* \sa SDL_GameControllerGetBindForAxis
* \sa SDL_GameControllerGetBindForButton
*/
typedef enum SDL_GameControllerBindType
{
SDL_CONTROLLER_BINDTYPE_NONE = 0,