Quellcode durchsuchen

Corrected documentation about triggers values in SDL_GameControllerGetAxis().

Fixes Bugzilla #2319.
Ryan C. Gordon vor 10 Jahren
Ursprung
Commit
80ba854749
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      include/SDL_gamecontroller.h

+ 2 - 1
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.
  */