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 Gamepad handling when only one axis is present #761

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sherpal
Copy link

@sherpal sherpal commented Aug 22, 2024

... in particular, a single connected Joy-Con.

Fixes #760

I imagine we could go one step further and handle the hypothetical case where there is 0 axis (They seem to exist*). But as I don't own one, I can't verify whether it would actually translate to the axes array to be of length 0. So I would leave it like that for now.

image

... in particular, a single connected Joy-Con.

Fixes PurpleKingdomGames#760
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.

Add support for lone Joy-Con (and other would be controller with only one axis)
1 participant