mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-26 15:58:41 +00:00
gamecontroller: Added docs to SDL_GameControllerBindType, to fix wiki docs.
This commit is contained in:
parent
1fbce8a06a
commit
b8b3f5ef20
1 changed files with 13 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue