diff --git a/project/jni/sdl-1.2/src/video/android/SDL_androidinput.c b/project/jni/sdl-1.2/src/video/android/SDL_androidinput.c index 290d14df0..db45612a6 100644 --- a/project/jni/sdl-1.2/src/video/android/SDL_androidinput.c +++ b/project/jni/sdl-1.2/src/video/android/SDL_androidinput.c @@ -885,12 +885,9 @@ static void ProcessMoveMouseWithGyroscope(float gx, float gy, float gz) if( hardwareMouseDetected == MOUSE_HW_INPUT_MOUSE ) // We don't need all that stuff with a proper precise input device return; - gx += gz; // Ignore Z? - gx *= -moveMouseWithGyroscopeSpeed; - gy *= moveMouseWithGyroscopeSpeed; // Screen has Y coordinate inverted - - //gx *= 10; // debug - //gy *= 10; // debug + //gx += gz; // Ignore Z + gx *= moveMouseWithGyroscopeSpeed; + gy *= -moveMouseWithGyroscopeSpeed; // Screen has Y coordinate inverted static float subpixelX = 0.0f, subpixelY = 0.0f;