Files
SDL/include
Sam Lantinga d3c21666de gamepad: Clarify range and direction of axes
It would be easy to assume that all APIs that reference
SDL_JOYSTICK_AXIS_MAX work the same way, but they do not: triggers
generally use the full signed 16-bit range in the lower-level joystick
API, but are normalized to be non-negative by the higher-level gamepad
API.

We also never said explicitly which direction is positive here.
Experimentally, it's right (X), down (Y), and pressed (triggers).

Resolves: https://github.com/libsdl-org/SDL/issues/8793
Signed-off-by: Simon McVittie <smcv@collabora.com>

(cherry picked from commit 059fb560ba)
2024-01-08 09:48:04 -08:00
..
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-05 09:01:30 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2024-01-01 13:19:49 -08:00
2021-10-27 01:36:05 +00:00
2024-01-01 13:19:49 -08:00