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

Android tablet keyboards do not work #166

Closed
AlexKhayrullin opened this issue Jun 19, 2021 · 1 comment
Closed

Android tablet keyboards do not work #166

AlexKhayrullin opened this issue Jun 19, 2021 · 1 comment
Assignees
Milestone

Comments

@AlexKhayrullin
Copy link
Collaborator

AlexKhayrullin commented Jun 19, 2021

While testing the game on a Galaxy Tab S7 with a keyboard, the keyboard did not work.

This might be due to the code designed to not detect input devices if a player presses Vol- or Vol+ on their phone.

@AlexKhayrullin
Copy link
Collaborator Author

AlexKhayrullin commented Jun 25, 2021

The initial assessment is false. In reality, it's the low-level mapping in the Java library being overzealous, filtering out inputs that can't be found on a gamepad. Which includes pretty much everything a keyboard contains.

The library has been edited to accept unmapped button inputs. Unmapped axes are still filtered out, which is on purpose in order to always filter out gyroscope-related MotionEvents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant