You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support for the official NES and SNES controllers #14
Hi,
Would it be possible to add in support for the official NES and SNES controllers?
@nadiaholmquist added them into an older version of this driver which worked fine, so I'm guessing any needed information can be found in there. (Links to the code: hid-ids.h, hid-nintendo.c)
Thanks for all the work put into this driver,
it's immensely appreciated!
I'm aware of @nadiaholmquist's existing work to add support for the NES joycons and the SNES controller against an older version of hid-nintendo. These changes work great when I test them locally.
I'd love to help move NES and SNES support ahead, if that's possible, against the latest version of hid-nintendo. What would that entail? Applying @nadiaholmquist's patches to hid-nintendo and opening a pull request for each here? Or do I need to interact with the Linux Input Mailing List?
In addition, I have the Nintendo Switch Online Sega Genesis control pad. It has product ID 0x201e, so it unfortunately gets picked up by the hid-generic driver and does not work at all (e.g., jstest reports no events). I'd be happy to attempt to write a patch for it as well. And if I ever manage to get ahold of the N64 controller, I could try it as well.
Thanks to you both for the work you've done already. Let me know if or how I can help.
I'd love to help move NES and SNES support ahead, if that's possible, against the latest version of hid-nintendo. What would that entail? Applying @nadiaholmquist's patches to hid-nintendo and opening a pull request for each here? Or do I need to interact with the Linux Input Mailing List?
In addition, I have the Nintendo Switch Online Sega Genesis control pad. It has product ID 0x201e, so it unfortunately gets picked up by the hid-generic driver and does not work at all (e.g., jstest reports no events). I'd be happy to attempt to write a patch for it as well. And if I ever manage to get ahold of the N64 controller, I could try it as well.
FYI: I have a draft of this work done, available to view in this pull request: #35. I've marked it as a draft to indicate that it's not fully done, but it's ready for input if desired. Hopefully this will speed up getting this support incorporated into kernel 5.17 or 5.18.
If I don't receive a response, I'll try emailing you, @DanielOgorchock, or going to the Linux Input list directly.
Activity
nadiaholmquist commentedon Aug 20, 2020
Once the driver makes it into mainline, I'm going to try and submit my patches to add support for those controllers too.
photodiode commentedon Aug 20, 2020
Thank you so much
v1993 commentedon Feb 1, 2021
Relevant PR for SNES controller on DKMS version of this module: nicman23/dkms-hid-nintendo#27
emilyst commentedon Mar 28, 2022
It looks like the
hid-nintendodriver hit mainline in 5.16 (congrats, Daniel!).I'm aware of @nadiaholmquist's existing work to add support for the NES joycons and the SNES controller against an older version of
hid-nintendo. These changes work great when I test them locally.I'd love to help move NES and SNES support ahead, if that's possible, against the latest version of
hid-nintendo. What would that entail? Applying @nadiaholmquist's patches tohid-nintendoand opening a pull request for each here? Or do I need to interact with the Linux Input Mailing List?In addition, I have the Nintendo Switch Online Sega Genesis control pad. It has product ID
0x201e, so it unfortunately gets picked up by thehid-genericdriver and does not work at all (e.g.,jstestreports no events). I'd be happy to attempt to write a patch for it as well. And if I ever manage to get ahold of the N64 controller, I could try it as well.Thanks to you both for the work you've done already. Let me know if or how I can help.
emilyst commentedon Mar 28, 2022
FYI: I have a draft of this work done, available to view in this pull request: #35. I've marked it as a draft to indicate that it's not fully done, but it's ready for input if desired. Hopefully this will speed up getting this support incorporated into kernel 5.17 or 5.18.
If I don't receive a response, I'll try emailing you, @DanielOgorchock, or going to the Linux Input list directly.
emilyst commentedon Apr 2, 2022
I ended up closing that pull request since I got no response, but anyone who likes can install my work from here: https://github.com/emilyst/hid-nintendo.
nfp0 commentedon Jan 27, 2024
Has there been any progress in getting the rest of the controllers mainlined?
SuperSamus commentedon Jan 27, 2024
torvalds/linux@94f18bb
Will be merged for Linux 6.8.
nfp0 commentedon Jan 27, 2024
Wow, I did not expect that. Great news!
Thank you for everyone involved!