mirror of
https://github.com/shadps4-emu/ext-SDL.git
synced 2025-02-24 12:40:41 +00:00
Windows: Fixed compile error.
This commit is contained in:
parent
7c60a638b0
commit
3e9284519a
@ -345,7 +345,7 @@ SDL_SYS_JoystickUpdate(SDL_Joystick * joystick)
|
||||
value =
|
||||
(int) (((float) pos[i] +
|
||||
transaxis[i].offset) * transaxis[i].scale);
|
||||
change = (value - joystick->axes[i]);
|
||||
change = (value - joystick->axes[i].value);
|
||||
if ((change < -JOY_AXIS_THRESHOLD)
|
||||
|| (change > JOY_AXIS_THRESHOLD)) {
|
||||
SDL_PrivateJoystickAxis(joystick, (Uint8) i, (Sint16) value);
|
||||
|
Loading…
x
Reference in New Issue
Block a user