From b8b3f5ef2001cbe7c11f62d41a9bf47d4a2d8b07 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 22 Jun 2026 22:30:18 -0400 Subject: [PATCH] gamecontroller: Added docs to SDL_GameControllerBindType, to fix wiki docs. --- include/SDL_gamecontroller.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/include/SDL_gamecontroller.h b/include/SDL_gamecontroller.h index 50a3bc6c6c..92f3fd5b6b 100644 --- a/include/SDL_gamecontroller.h +++ b/include/SDL_gamecontroller.h @@ -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,