Corrected documentation about triggers values in SDL_GameControllerGetAxis().
authorRyan C. Gordon <icculus@icculus.org>
Wed, 18 Feb 2015 16:25:15 -0500
changeset 93593d0af39849fa
parent 9358 d7301b277d13
child 9360 c671d8ca48a1
Corrected documentation about triggers values in SDL_GameControllerGetAxis().

Fixes Bugzilla #2319.
include/SDL_gamecontroller.h
     1.1 --- a/include/SDL_gamecontroller.h	Wed Feb 18 16:17:53 2015 -0500
     1.2 +++ b/include/SDL_gamecontroller.h	Wed Feb 18 16:25:15 2015 -0500
     1.3 @@ -241,7 +241,8 @@
     1.4  /**
     1.5   *  Get the current state of an axis control on a game controller.
     1.6   *
     1.7 - *  The state is a value ranging from -32768 to 32767.
     1.8 + *  The state is a value ranging from -32768 to 32767 (except for the triggers,
     1.9 + *  which range from 0 to 32767).
    1.10   *
    1.11   *  The axis indices start at index 0.
    1.12   */