Commit 80ba854749db5b8e953d7dbfe0ab6a6f1edeb8a5

Ryan C. Gordon 2015-02-18T16:25:15

Corrected documentation about triggers values in SDL_GameControllerGetAxis(). Fixes Bugzilla #2319.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/include/SDL_gamecontroller.h b/include/SDL_gamecontroller.h
index 9df526a..5c9082c 100644
--- a/include/SDL_gamecontroller.h
+++ b/include/SDL_gamecontroller.h
@@ -241,7 +241,8 @@ SDL_GameControllerGetBindForAxis(SDL_GameController *gamecontroller,
 /**
  *  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.
  */