nbarkhina / N64Wasm

A web based N64 Emulator
https://www.neilb.net/n64wasm/
MIT License
618 stars 122 forks source link

2 controllers not working #23

Open renb0 opened 1 year ago

renb0 commented 1 year ago

OS: MacOS Ventura Browser: Chrome Controllers (Both connected via Bluetooth):

When I go to remap and test a button only one of the controllers works. With the setup above, when both are connected only the Dualshock 4's input works in the remap keys, my 8bitdo controller is ignored, then when I disconnect the DS4 the 8bitdo's button presses then starts to work in the remap dialog.

Further to this, I assume there are supposed to be 2 tabs in the remap section, I only see one - despite the controllers being connected and tested in the browser on gamepad-tester.com which I used to rule out OS related issues.

Screenshots of devices:

image image
nbarkhina commented 1 year ago

Yes unfortunately at the moment the multiple controllers functionality assumes all the controllers are of the same type. So for example if you had 2 DualShock controllers that would work and they would both share the same mappings. I have not yet built out the ability to have different mappings for different controllers however that is something I am planning to do at some point.

DaBiggestBozo commented 1 month ago

I have been trying to connect a set of joy cons to it. They work fine with other programs, and seem to look well with this, but I cannot remap the c-stick or up/down/left/right.