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

Support for old controllers & Faster controller polling frequency. #844

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

Conversation

phu54321
Copy link

@phu54321 phu54321 commented Dec 25, 2024

Old PS2->USB controller mappers map buttons to DPAD movements. This PR interprets the first DPAD's movement to button 29~32.

Due to limitations of gdx-controllers 1.9.0, the key input is tied to the render frame. This can be hacked, but it's for the latter.

Joystick polling now happens on the polling thread itself, so it will be much faster.

@phu54321 phu54321 changed the title Support for old controllers Support for old controllers & Faster controller polling frequency. Dec 25, 2024
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

Successfully merging this pull request may close these issues.

1 participant