Просмотр исходного кода

Corrected documentation about triggers values in SDL_GameControllerGetAxis().

Fixes Bugzilla #2319.
Ryan C. Gordon 11 лет назад
Родитель
Сommit
80ba854749
1 измененных файлов с 2 добавлено и 1 удалено
  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.
  */