mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-30 00:17:40 +00:00
Fixed compile errors on various platforms
This commit is contained in:
parent
ca019dada5
commit
ad26769cd7
4 changed files with 6 additions and 4 deletions
|
@ -563,7 +563,7 @@ SDL_SYS_JoystickUpdate(SDL_Joystick * joy)
|
|||
v *= 32768 /
|
||||
((hitem.logical_maximum -
|
||||
hitem.logical_minimum + 1) / 2);
|
||||
if (v != joy->axes[naxe]) {
|
||||
if (v != joy->axes[naxe].value) {
|
||||
SDL_PrivateJoystickAxis(joy, naxe, v);
|
||||
}
|
||||
} else if (usage == HUG_HAT_SWITCH) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue