Removed joystick axis value negation on OS X.

This commit is contained in:
Camilla Berglund
2013-11-07 20:45:29 +01:00
parent b410cff68c
commit b13c84f854
2 changed files with 1 additions and 3 deletions
-3
View File
@@ -251,9 +251,6 @@ static void pollJoystickEvents(void)
joystick->axes[i] = value;
else
joystick->axes[i] = (2.f * (value - axis->minReport) / readScale) - 1.f;
if (i & 1)
joystick->axes[i] = -joystick->axes[i];
}
for (i = 0; i < CFArrayGetCount(joystick->hatElements); i++)