Wireless SNES controller via I2C Nunchuk interface
Rayman
Posts: 14,646
in Propeller 2
Just tried this out and looks like it will work
There's this <$4 wireless SNES controller on Amazon: https://www.amazon.com/gp/product/B07BT3QRT3?th=1
Looked like Nunchuk connector to me, so I tried it out and appears to work...
Adapted Jon's code just a bit from here to show binary data: https://forums.parallax.com/discussion/130118/wireless-nunchuck-it-works
The data is a bit strange, but each button does affect at least one bit. But, some affect 4-bits and some 8-bits, so it's a bit weird.
Fun puzzle to solve. Definitely looks solvable though...
Planning on including 2 of these connectors on my first P2 board so can play multiplayer games with wireless controllers
There's this <$4 wireless SNES controller on Amazon: https://www.amazon.com/gp/product/B07BT3QRT3?th=1
Looked like Nunchuk connector to me, so I tried it out and appears to work...
Adapted Jon's code just a bit from here to show binary data: https://forums.parallax.com/discussion/130118/wireless-nunchuck-it-works
The data is a bit strange, but each button does affect at least one bit. But, some affect 4-bits and some 8-bits, so it's a bit weird.
Fun puzzle to solve. Definitely looks solvable though...
Planning on including 2 of these connectors on my first P2 board so can play multiplayer games with wireless controllers
Comments
Your controller, being made for SNES mini, doesn't have all the inputs, but the format is the same.
Fingers crossed you can get it working Rayman
The board looks nice too, is that a P1 driving things?
I'm intrigued by some traces already going to the bottom, without any reason to. It seems that you have the layout already figured out and you are making room for future components.
Kind regards, Samuel Lourenço
Hope to have done just in time for P2 chips