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

Game crashes when a “keyboard” is connected/disconnected while a game is running. #986

Open
jddoan1 opened this issue Jan 7, 2025 · 0 comments

Comments

@jddoan1
Copy link

jddoan1 commented Jan 7, 2025

Phone: LG G8X
Android Version: 9

Some game controllers (mine is the GameSir G8+) are recognized by Android as a “keyboard,” which triggers the system default of restarting an app when connected/disconnected. I read online that it only takes a few lines of code to stop this behavior.

On another note, to anyone who uses my controller model, set it to “PlayStation” or “Switch” mode, and the game won’t crash when connecting the controller.

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

1 participant