SDL Wiki

SDL_GameControllerBindType

An enumeration of the different kinds of SDL_Joystick controls a SDL_GameControllerButtonBind can map to.

Values

SDL_CONTROLLER_BINDTYPE_NONE

Not mapped to anything on this SDL_Joystick (doesn't have this button/axis)

SDL_CONTROLLER_BINDTYPE_BUTTON

Maps to a button

SDL_CONTROLLER_BINDTYPE_AXIS

Maps to an axis

SDL_CONTROLLER_BINDTYPE_HAT

Maps to (a direction of) a hat

SDL_GameControllerButtonBind
SDL_GameControllerGetBindForAxis
SDL_GameControllerGetBindForButton

CategoryAPI, CategoryAPIEnum


[ edit | delete | history | feedback | raw ]

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

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