Procházet zdrojové kódy

Corrected documentation about triggers values in SDL_GameControllerGetAxis().

Fixes Bugzilla #2319.
Ryan C. Gordon před 11 roky
rodič
revize
80ba854749
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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.
  *  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.
  *  The axis indices start at index 0.
  */
  */