Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

joystick handlers interfeer with keyboard flight ctrls? #304

Open
cag62 opened this issue Jul 4, 2018 · 1 comment
Open

joystick handlers interfeer with keyboard flight ctrls? #304

cag62 opened this issue Jul 4, 2018 · 1 comment

Comments

@cag62
Copy link

cag62 commented Jul 4, 2018

[pretty obscure = low priority]
Flight axis dampening for keyboard flight controls is just delta (of the frame) and so equals their max rate in seconds. In a strict game, a Cobra MkIII has maxPitch & maxYaw == 1, maxRoll == 2 and that's how long it takes the ship to stop rotating once the key is released.
A joystick (gamepad stick in my case) has uniform dampening of 1/2 sec for all 3 axes, which is ok as far as it goes. The problem arises when you switch back to using keyboard flight controls: pitch & yaw now dampen in 1/2 instead of the full 1 sec but the roll dampen remains at 2 sec.
Here's a short oxp to measure these times:
https://www.dropbox.com/s/850yzz54uooi5m4/measureramp.oxz?dl=0

windows10, oolite-trunk-1.87.0.99f1e07-dev.x64

@HiranChaudhuri
Copy link
Contributor

Joystick handling has been reworked via #403
Would you like to test again and confirm if the problem still persists?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants