Skip to content

Conversation

@arminth
Copy link

@arminth arminth commented Feb 14, 2024

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.

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.
…ion for classic controller

1. If you enable NINTENDO_INPUT in config.h, on bootup of the machine, the controller is detected automagically. Currently supported: Nunchuk and Classic controller (don't see any value in having guitar- or drumcontrollerbut they are in the code already with no function behind. So you might get creative!
2. Added  #define CLASSIC_DPAD and CLASSIC_LJOY
You can use either of them or both on the Classic controller. You have to define at least one. If not, you will receive a compiler error message when building
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant