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

Remove dependency on the gamepad.js library #1524

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

rafaellehmkuhl
Copy link
Member

This library adds less than 100 lines of code while obfuscating the native usage of the Gamepad API and hiding part of the code.

This hidden parts can be responsible for bugs, like the one we see regarding gamepads not being detected after sometime of inactivity.

To ease this and future debugs, as well as future implementations regarding the usage of virtual gamepads and native access on the Electron app, the library is removed and replaced with native code.

@rafaellehmkuhl rafaellehmkuhl force-pushed the remove-gamepad-lib branch 4 times, most recently from bbf1b3d to c606b28 Compare January 17, 2025 13:02
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