ukw100 / STECCY

ZX-Spectrum 128K and 48K emulator for STM32F407
MIT License
27 stars 6 forks source link

Wii Nunchuk not recognized #5

Open pierrebak opened 11 months ago

pierrebak commented 11 months ago

Steccy is loading well but the nunchuk is not recognized. Has the ini file to be modified, or I2C device should be recognized by default? I'm using an adaptor and the green light shows it is properly powered. Thanks for this brilliant project.

ukw100 commented 11 months ago

No change to the ini file is necessary here, the nunchuk or gamepad should be recognized automatically. Are the other pins connected correctly? Do you have an original nunchuk or a clone?

The documentation shows the connector of a nunchuk from the front. Perhaps you can take a photo schowing the connections.

pierrebak commented 11 months ago

Thanks for your prompt feedback. Apparently, it's a genuine one (the brand Nintendo is visible on it).

I'm using I2C adaptor for Nunchuk from Adafruit. Power is on 3v on STM32 Grd on Grd SDA on PB9 SCL on PB8

I can purchase a new one and cut the connector to make a direct connection to the board, but if the issue comes from the board, the Nunchuk will be useless.

Steccy is working fine with USB keyboard, but using a Nunchuk woud be even more enjoyable.

I've powered the board using USB standard charger first, just by adding the Nunchuk on I2S GPIO's. Then, I've used a STM link to power the board through GPIOs. Nunchuck is still not responding.

Thanks.