Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added documentation for the game controller axis values
  • Loading branch information
slouken committed Dec 27, 2016
1 parent 21cb42d commit 8000e6d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/SDL_gamecontroller.h
Expand Up @@ -247,6 +247,12 @@ extern DECLSPEC void SDLCALL SDL_GameControllerUpdate(void);

/**
* The list of axes available from a controller
*
* Thumbstick axis values range from SDL_JOYSTICK_AXIS_MIN to SDL_JOYSTICK_AXIS_MAX,
* and are centered within ~8000 of zero, though advanced UI will allow users to set
* or autodetect the dead zone, which varies between controllers.
*
* Trigger axis values range from 0 to SDL_JOYSTICK_AXIS_MAX.
*/
typedef enum
{
Expand Down

0 comments on commit 8000e6d

Please sign in to comment.