CodeArtemis / TriggerRally

Trigger Rally Online Edition - fast arcade rally racing
Other
322 stars 132 forks source link

Problems with Gamepad #56

Open krasnoglaz opened 11 years ago

krasnoglaz commented 11 years ago

I'm using Xbox 360 gamepad on Windows and on Linux. My right analog stick (throttle) is slightly off center(1500 out of +/- 32k range), and absence of deadzones causes car to be slower noticeably, if I use button or trigger for throttle. Same thing with steering axis when I use D-pad for steering. Other minor problem is that there is no way to restart race from the gamepad without using keyboard.

jareiko commented 11 years ago

There is actually a deadzone, but it's currently just 1%. 1.5/32 is about 4.5%, so I increased the deadzone to 5% now. Has it fixed the problem?

Adding a restart race button is an excellent idea. :) It will require a bit more work though.

krasnoglaz commented 11 years ago

Has it fixed the problem?

Yeah. Car doesn't try to drive in opposite direction at the start anymore.