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 Configuration and Fixes #5477

Merged
merged 7 commits into from
Jan 19, 2023

Conversation

Web-eWorks
Copy link
Member

This is also technically a bugfix PR, it's just that the main bug it fixes never got reported...
Fixes #5357, and partially mitigates #3147. Also fixes #4976 by dint of everything in that issue being fixed in other PRs already; the "select active missile" part of that issue should be probably be split out into an item in the design docs.

I've added input bindings for landing gear (finally!), including a separate axis binding for someone crazy enough to use a physical lever or three-position switch as their landing gear control. I've also fixed some bugs in the half-axis mode for joystick triggers and exposed all axis configuration parameters to the UI (with a nice preview!) so users don't have to fiddle with the config file anymore.

2023-01-17.19-29-26.mp4

- Landing gear default operable with N key
- Optional axis provided for controlling landing gear position directly with a gear lever or multiple buttons
- Fix an issue with the float slider converting its arguments to integers
- Add more type information to PiGui functions
- Avoid accidentally inverting the axis
- Adds a new function to write a joystick's configuration to a config file
- Supports querying axis, button, hat number and state
- Can configure curve, deadzone, and half-axis mode for all joystick axes
- Allows adjusting joystick axis curves and deadzones from inside the application, as well as previewing which axis is currently deflected
@Web-eWorks Web-eWorks merged commit 1449817 into pioneerspacesim:master Jan 19, 2023
@Web-eWorks Web-eWorks deleted the input-fixes branch January 19, 2023 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Landing gear inoperable with HUD off M and T keystrokes not working
1 participant