We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ce2668 commit 97abec1Copy full SHA for 97abec1
native/winsys.c
@@ -637,7 +637,7 @@ void winsys_process_events()
637
if (!winsys_game_controller && event.jaxis.axis == getparam_joystick_x_axis())
638
{
639
//accelerometer
640
- x_joystick = 2 * event.jaxis.value / 32767.0;
+ x_joystick = -2 * event.jaxis.value / 32767.0;
641
if (x_joystick > 1)
642
x_joystick = 1;
643
if (x_joystick < -1)
0 commit comments