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

More Axes! #6371

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

More Axes! #6371

wants to merge 6 commits into from

Conversation

z64555
Copy link
Member

@z64555 z64555 commented Sep 28, 2024

Adds two axes, U and V, to joysticks.

A handful of popular joysticks are going beyond the old 6 axis and 32 button limits, to which FSO just flat out ignores even though SDL2 can support it.

Axis limits are based on Windows Direct X limits.

These changes shouldn't internal control vector sizes, but I'd feel more comfortable if somebody is able to test them.

@z64555 z64555 added the controls A feature or issue related to input devices or actions controlled/triggered by them label Sep 28, 2024
@z64555 z64555 added this to the Release 25.0 milestone Sep 28, 2024
Update XSTR_SIZE to 1859
@z64555 z64555 added the localization / translation (XSTR) A feature or issue related to language localization and translations. label Sep 28, 2024
code/io/joy.h Outdated Show resolved Hide resolved
* Remove unneeded comment on U and V axis. (Comments there are for original axis XSTR indices)
* Fix UI issue where bound button message did not display which controller it belonged to
* Removed unused extern reference of Joy_button_text
* Reorder hat position labels to match SDL order (christian cross -> clockwise)
@Goober5000 Goober5000 added the Waiting for Stable Marks a pull request that is to be merged after the next stable release, due to a release cycle label Sep 30, 2024
@Goober5000 Goober5000 removed the Waiting for Stable Marks a pull request that is to be merged after the next stable release, due to a release cycle label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
controls A feature or issue related to input devices or actions controlled/triggered by them localization / translation (XSTR) A feature or issue related to language localization and translations.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants