Corrected documentation about triggers values in SDL_GameControllerGetAxis().
authorRyan C. Gordon <icculus@icculus.org>
Wed, 18 Feb 2015 16:25:15 -0500
changeset 9359 3d0af39849fa
parent 9358 d7301b277d13
child 9360 c671d8ca48a1
Corrected documentation about triggers values in SDL_GameControllerGetAxis(). Fixes Bugzilla #2319.
include/SDL_gamecontroller.h
--- a/include/SDL_gamecontroller.h	Wed Feb 18 16:17:53 2015 -0500
+++ b/include/SDL_gamecontroller.h	Wed Feb 18 16:25:15 2015 -0500
@@ -241,7 +241,8 @@
 /**
  *  Get the current state of an axis control on a game controller.
  *
- *  The state is a value ranging from -32768 to 32767.
+ *  The state is a value ranging from -32768 to 32767 (except for the triggers,
+ *  which range from 0 to 32767).
  *
  *  The axis indices start at index 0.
  */