SDL2 Wiki
[ front page | index | search | recent changes | git repo | offline html ]

SDL_GameControllerBindType

Types of game controller control bindings.

Header File

Defined in SDL_gamecontroller.h

Syntax

typedef enum SDL_GameControllerBindType
{
    SDL_CONTROLLER_BINDTYPE_NONE = 0,
    SDL_CONTROLLER_BINDTYPE_BUTTON,
    SDL_CONTROLLER_BINDTYPE_AXIS,
    SDL_CONTROLLER_BINDTYPE_HAT
} SDL_GameControllerBindType;

Remarks

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.

Version

This enum is available since SDL 2.0.0.

See Also


CategoryAPI, CategoryAPIEnum, CategoryGameController


[ edit | delete | history | feedback | raw ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.