mooware / arduino-wii-usb

Arduino-based USB-adapter for Wii/WiiU controllers
MIT License
14 stars 2 forks source link

Works great, but disconnects momentarily every so often. #2

Open MissNewtype opened 5 years ago

MissNewtype commented 5 years ago

Heya! I love your software so far! Just wanted to give some feedback and see if it it helps improve its compatibility.

Issue one is that it disconnects momentarily every so often, (about every half an hour, maybe less) and it refuses to register keypresses for a few seconds until returning to normal. I'm using a wireless MyArcade Super gamepad, so it may be something to do with how the wireless dongle works.

Secondary issue is that unplugging and re-plugging just ends up locking up the controls at times. The controls in gamepad settings go all wonky until I unplug the dongle. I have to reflash the adapter with your software to get the controller working again. I suspect it's an unexpected USB disconnection that is the culprit.

Other than that it's super responsive and works really well on an arduino pro micro.

mooware commented 5 years ago

Thanks for the nice words. To be honest, I haven't used this code at all after writing it, so I don't think I could help you with your issues.

I don't know what would cause the "disconnects", and I've only ever tested it with a few of the official, wired controllers.

I understand the issue regarding unplugging, since I didn't implement any detection of disconnecting either side of the adapter. The Wii extension port does apparently have a device detect pin, but I didn't know how to implement that. You shouldn't have to reflash the adapter; just turning it off and on should be sufficient.