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

Joystick Support #266

Open
landonpoch opened this issue Jan 13, 2023 · 1 comment
Open

Joystick Support #266

landonpoch opened this issue Jan 13, 2023 · 1 comment

Comments

@landonpoch
Copy link

Any plans to support joysticks / gamepads in the works? I've tried it out on an old dos game (aces of the pacific) and it appears that it cannot detect a joystick even though I have one connected and working in windows.

No matter what I do I can't turn that joystick on. It isn't detected.

However there is a gamepad API for browsers: https://developer.mozilla.org/en-US/docs/Web/API/Gamepad_API/Using_the_Gamepad_API

I've been able to confirm that my joystick shows up in the API in my browser:

I realize this is probably just a hobby project so any work on this is very appreciated! However, it does seem very possible to achieve and there are quite a few other games that would benefit from this as well (Descent, Red Baron, etc...) Thank you!

@caiiiycuk
Copy link
Owner

Yep, it's possible, but maybe later...

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

2 participants