src/joystick/iphoneos/SDL_sysjoystick.m
changeset 10873 8754e496e7b2
parent 10737 3406a0f8b041
child 11284 3db78361e751
     1.1 --- a/src/joystick/iphoneos/SDL_sysjoystick.m	Thu Feb 02 17:33:40 2017 -0800
     1.2 +++ b/src/joystick/iphoneos/SDL_sysjoystick.m	Thu Feb 02 16:56:02 2017 -0800
     1.3 @@ -553,7 +553,7 @@
     1.4              };
     1.5  
     1.6              for (i = 0; i < SDL_arraysize(axes); i++) {
     1.7 -                updateplayerindex |= (joystick->axes[i] != axes[i]);
     1.8 +                updateplayerindex |= (joystick->axes[i].value != axes[i]);
     1.9                  SDL_PrivateJoystickAxis(joystick, i, axes[i]);
    1.10              }
    1.11