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

Fix the joyticks #1533

Open
SiegeLord opened this issue Feb 15, 2024 · 1 comment
Open

Fix the joyticks #1533

SiegeLord opened this issue Feb 15, 2024 · 1 comment
Milestone

Comments

@SiegeLord
Copy link
Member

SiegeLord commented Feb 15, 2024

Joysticks have been subtly and not so subtly broken for years. If we want to have a joystick feature at all, it should work well.

SDL has established a standard for joystick interpretation, and other libraries have sought to emulate it. It makes sense to do the same. If the SDL API appears to be deficient, at least our API should be a strict improvement over it.

Tasks:

  • Investigate the SDL/GLFW APIs for joysticks, see if it makes sense to map to Allegro's.
  • Adjust the code for all 3 major platforms to start. Use the joystick_version compatibility switch to maintain compatibility with the older code.
@SiegeLord SiegeLord added this to the 5.2.10 milestone Feb 15, 2024
@ReiquelApplegate
Copy link
Contributor

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