djyt / cannonball

Cannonball: An Enhanced OutRun Engine
http://reassembler.blogspot.com
649 stars 116 forks source link

Car only accelerates when gas is released #42

Closed Namco51 closed 3 years ago

Namco51 commented 5 years ago

When the game starts the accelerator is pegged all the time. I have to press it down for it to not be engaged. I have analog controls turned on and I have my gas and brake mapped correctly as axis 2 and 3. Most other apps require me to set axis 3 as inverted in order to work correctly, but cannonball expects axis 2 to be inverted. Brake (axis 3) works correctly, but I have to hold down accel (as axis 2) in order to coast.

Is there any way to invert an axis in cannonball settings?

WildPenquin commented 5 years ago

I can confirm this issue. Accelerator axis is inverted in cannonball. This is on Linux, PS3 controller.

djyt commented 3 years ago

I believe this is now fixed (in the latest source code at least). There was an issue with the SDL 2 migration that might have impacted this.

I'll compile a new binary in due course.