mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-09-02 15:17:00 +08:00
The original code mapped incorrectly from [min, max] to [-32768, 32512], the upper bound being SDL_JOYSTICK_AXIS_MAX - 255 instead of SDL_JOYSTICK_AXIS_MAX.