Added documentation for the game controller axis values
authorSam Lantinga <slouken@libsdl.org>
Tue, 27 Dec 2016 09:59:36 -0800
changeset 10727b40ce9a0c0d4
parent 10726 893faaa67394
child 10728 21348ad9a7ec
Added documentation for the game controller axis values
include/SDL_gamecontroller.h
     1.1 --- a/include/SDL_gamecontroller.h	Tue Dec 27 09:51:58 2016 -0800
     1.2 +++ b/include/SDL_gamecontroller.h	Tue Dec 27 09:59:36 2016 -0800
     1.3 @@ -247,6 +247,12 @@
     1.4  
     1.5  /**
     1.6   *  The list of axes available from a controller
     1.7 + *
     1.8 + *  Thumbstick axis values range from SDL_JOYSTICK_AXIS_MIN to SDL_JOYSTICK_AXIS_MAX,
     1.9 + *  and are centered within ~8000 of zero, though advanced UI will allow users to set
    1.10 + *  or autodetect the dead zone, which varies between controllers.
    1.11 + *
    1.12 + *  Trigger axis values range from 0 to SDL_JOYSTICK_AXIS_MAX.
    1.13   */
    1.14  typedef enum
    1.15  {