ndeadly / MissionControl

Use controllers from other consoles natively on your Nintendo Switch via Bluetooth. No dongles or other external hardware neccessary.
GNU General Public License v2.0
2.49k stars 137 forks source link

N64 Controller Remap / Label as Pro Controller #481

Open shmuga9 opened 2 years ago

shmuga9 commented 2 years ago

Feature Description

The N64 controller doesn't allow button remapping. I'd like to see one of these options become available.

1) Relabel the N64 controller as a Pro controller. This would automatically unlock the ability to remap buttons, as it's available for pro controllers.

2) Native support. This would allow you to remap the C-buttons as extra buttons, rather than only being seen as the 2nd joystick.

I'm completely fine with #1, which should be easy to implement. #2 I'm throwing out there as an idea, but I have no clue how much work that would take, if possible.

Rationale

It would allow compatibility for more games.

The N64 lacks the X/Y face buttons, but plenty of games don't need ZL/ZR or L/R (or stick clicks). So being able to remap buttons as replacements for X/Y would mean the controller could be used for more than just the N64 Online app. And you would be able to close apps from the home menu (it requires the X button).

Games like Mario Party Superstars (a remake of the N64 games), New Super Lucky's Tale, and Kirby and the Forgotten Land are some examples that only need access to X or Y to be fully compatible, if the unused buttons could be used in their place.

Additional Details

No response

shmuga9 commented 10 months ago

@shmuga9 how did you make it work the C buttons as the right analog stick? My n64 controller gets recognized as Pro controller but there is not option to remap the c buttons to right analog stick

You don't remap it. You probably overlooked it in the diagram, but if you hold C-Up, then the analog stick will act as the right analog stick (and L and R are the respective stick presses). When you let go, the analog stick reverts back to being the "left" stick. Hope that clears things up.

gjimenezf commented 4 days ago

Has this been merged to the main branch? I would like to use the N64 remap as pro controller with the latest switch firmware and latest version of Mission control

ndeadly commented 3 days ago

This won't be merged in its current form. It's too much of a hack. There are plans to do controller type emulation properly, but they're on the backburner. Got a bunch of other higher priority things to work on at the moment.

Banz99 commented 3 days ago

Has this been merged to the main branch? I would like to use the N64 remap as pro controller with the latest switch firmware and latest version of Mission control

I've updated the pull request with a 0.11.1 build, though I can't really test if it actually works or not. As ndeadly said, it'll be done differently eventually.

shmuga9 commented 1 day ago

I've updated the pull request with a 0.11.1 build, though I can't really test if it actually works or not. As ndeadly said, it'll be done differently eventually.

Tested, it works.