dkms-hid-nintendo icon indicating copy to clipboard operation
dkms-hid-nintendo copied to clipboard

Support the Switch SNES Controller

Open ChadSikorra opened this issue 4 years ago • 9 comments

This makes some changes so that it works with the Switch SNES controller. The SNES controller lacks some of the features of the joycons / pro controller, so I had to add some additional checks to leave things out (gyro, rumble, home button are all missing on the SNES controller).

ChadSikorra avatar Jan 10 '21 00:01 ChadSikorra

can anyone confirm that the above works with master and i ll merge it

nicman23 avatar Feb 01 '21 16:02 nicman23

If anyone wants to test it they'll probably want to use the changes in joycond here too:

https://github.com/DanielOgorchock/joycond/pull/54

ChadSikorra avatar Feb 02 '21 00:02 ChadSikorra

@ChadSikorra You may want to submit this PR to https://github.com/DanielOgorchock/linux as well I think

v1993 avatar Feb 02 '21 00:02 v1993

This somehow messes up pro-controller support...kernel panic :( *sigh* Trying to debug. Not sure specifically what would've done that after looking at what I changed. Will have to take a closer look, unless someone can spot it.

ChadSikorra avatar Feb 02 '21 00:02 ChadSikorra

I modified it slightly so that it still lets certain things to be enabled via the protocol -- rumble / imu (which just ignores things certain controllers don't support it seems). This makes the driver behave better when both SNES / pro controller / joy cons are used. I tested with the Pro Controller and the SNES controller.

ChadSikorra avatar Feb 02 '21 02:02 ChadSikorra

Any update on pulling this in?

trungtangg avatar Sep 15 '21 01:09 trungtangg

i mean i cannot really test it ... i only got joycons and pro controllers..

if anyone can for a week or so and does not find any issues i ll pull it after testing for regressions

nicman23 avatar Sep 15 '21 12:09 nicman23

Been trying to test this, but unable to connect the SNES Controller in the first place. RetroPi recognizes it as paired, but the SNES controller gets stuck in pairing mode. Getting the error "Failed to pair: org.bluez.Error.AlreadyExists." Has anybody else had luck pairing the controller?

AdamHNix avatar Oct 30 '21 14:10 AdamHNix

I don't understand. My SNES controller works without the need for this DKMS. What additional functionality does this DKMS bring for the SNES controller?

nfp0 avatar Feb 25 '22 21:02 nfp0