harbaum / galagino

A Galaga, Pac-Man and Donkey Kong arcade emulator for the ESP32
315 stars 21 forks source link

Reworked code for more universal nintendo-input, added functionality #44

Open arminth opened 4 months ago

arminth commented 4 months ago

This commit changes the following:

  1. replace Nunchuk.h with Nintendo.h
  2. add Classic Controller with D-pad, a-button=FIRE, -button(select) = COIN,+button (start) = START, home-button=reset_emulation
  3. enhance Nunchuk capabilities: Z-button= FIRE, C-button=COIN, Z and C together=START, Joystick DOWN+Z+C=reset_emulation

I know this pretty much reverts D0023R's last pullrequest but IMHO it makes things more flexible and more better! ;) Next step I will work on is autodetection of Nintendo-controller.