mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-06 07:20:48 +00:00
Sync SDL3 wiki -> header
This commit is contained in:
parent
059fb560ba
commit
44adab7dfd
1 changed files with 5 additions and 6 deletions
|
@ -963,13 +963,12 @@ extern DECLSPEC SDL_bool SDLCALL SDL_GamepadHasAxis(SDL_Gamepad *gamepad, SDL_Ga
|
||||||
*
|
*
|
||||||
* The axis indices start at index 0.
|
* The axis indices start at index 0.
|
||||||
*
|
*
|
||||||
* For thumbsticks, the state is a value ranging from -32768 (up/left)
|
* For thumbsticks, the state is a value ranging from -32768 (up/left) to
|
||||||
* to 32767 (down/right).
|
* 32767 (down/right).
|
||||||
*
|
*
|
||||||
* Triggers range from 0 when released to 32767 when fully pressed, and
|
* Triggers range from 0 when released to 32767 when fully pressed, and never
|
||||||
* never return a negative value. Note that this differs from the value
|
* return a negative value. Note that this differs from the value reported by
|
||||||
* reported by the lower-level SDL_GetJoystickAxis(), which normally uses
|
* the lower-level SDL_GetJoystickAxis(), which normally uses the full range.
|
||||||
* the full range.
|
|
||||||
*
|
*
|
||||||
* \param gamepad a gamepad
|
* \param gamepad a gamepad
|
||||||
* \param axis an axis index (one of the SDL_GamepadAxis values)
|
* \param axis an axis index (one of the SDL_GamepadAxis values)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue