-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Switch SNES controller support. #54
Add Switch SNES controller support. #54
Conversation
thanks, looks good to me |
What function of joycond benefits the Switch SNES controller exactly. |
I also find this a little confusing. Honestly? It feels like a bug. Furthermore, since the NSO Sega Genesis controller has the same product ID as the NSO SNES controller when connected via Bluetooth (thanks, Nintendo), Luckily, there's a workaround. You can create a custom udev rules file to override the tags on the devices you want
This adds rules to ignore the Pro controller, the SNES controller, the N64 controller (just in case it this gets added in the future for some reason), and the Genesis controller (when connected via USB, also just in case it comes up in the future).
Also, note that this will override any other tags applied by any other rules in the system. I recommend you use |
@emilyst Thanks!
Yeah, I have no idea why Nintendo did that. It makes it more difficult to distinguish them on Windows. But RetroArch can distinguish them by their name on udev on Linux. Can't the same be applied here? |
Ah, I bet you're right. That wouldn't be hard to do. For the case of SNES versus Genesis controllers, that's probably not terribly useful since we want the same behavior for each case. There's no real need to distinguish. But this does suggest there's a way to disable I just tested this out, and it works well! The amended file
If there's some reason to need to distinguish Genesis from SNES in this case, let me know, and I can suggest rules which do so. |
@emilyst Nice, looks good! Thanks. |
I created a PR to add support for the Switch SNES wireless controller in hid-nintendo (well, this repo of it anyway):
nicman23/dkms-hid-nintendo#27
To get it to work I had to add it here too. Leaving it out here in case someone thinks it's worth merging.