ToadKing / wii-u-gc-adapter

Tool for using the Wii U GameCube Adapter on Linux
MIT License
247 stars 45 forks source link

Make Wavebird controller work. #1

Closed jchv closed 10 years ago

jchv commented 10 years ago

I don't know if this is proper, but it works great for me. YMMV.

ToadKing commented 10 years ago

Thanks for this. Do any of the other bits in the status byte change when the controller is connected or just the adapter and no controller?

jchv commented 10 years ago

As far as I can remember, the exact string of bits I got when the Wavebird was ready was 0b100110.

To answer your question: The controller port, before connected, returns 0x4, then once it's connected, returns 0x22. If I then turn off the controller, the wavebird adapter seems to never switch off of 0x22.

ToadKing commented 10 years ago

Bit 2 is set for all controllers when the second USB is plugged in.

I assume either bit 1 or bit 5 signify the Wavebird, but are they only seen at the same time? What if you try using a Wavebird with only one USB port?

jchv commented 10 years ago

I unplugged the other USB, and it starts returning back 0b110100.

ToadKing commented 10 years ago

Do Wavebird controllers work with only the main USB port plugged in? I noticed that 0x02 byte disappeared when you unplugged the second USB.

jchv commented 10 years ago

Interestingly enough, yes- it works just fine. I was wondering the same thing.

ToadKing commented 10 years ago

Added Wavebird support in a little different way. Thanks for the input.