src/joystick/bsd/SDL_sysjoystick.c
changeset 10714 a9c15922ad7b
parent 10617 346c02ff71b6
child 10737 3406a0f8b041
     1.1 --- a/src/joystick/bsd/SDL_sysjoystick.c	Thu Dec 22 17:33:45 2016 -0800
     1.2 +++ b/src/joystick/bsd/SDL_sysjoystick.c	Thu Dec 22 18:43:00 2016 -0700
     1.3 @@ -563,7 +563,7 @@
     1.4                              v *= 32768 /
     1.5                                  ((hitem.logical_maximum -
     1.6                                    hitem.logical_minimum + 1) / 2);
     1.7 -                            if (v != joy->axes[naxe]) {
     1.8 +                            if (v != joy->axes[naxe].value) {
     1.9                                  SDL_PrivateJoystickAxis(joy, naxe, v);
    1.10                              }
    1.11                          } else if (usage == HUG_HAT_SWITCH) {