ValveSoftware / steam-devices

List of devices Steam and SteamVR will want read/write permissions on, to help downstream distributions create udev rules/etc
MIT License
135 stars 41 forks source link

Nintendo switch controllers missing #45

Open WhyNotHugo opened 1 year ago

WhyNotHugo commented 1 year ago

I see the pro controler listed in the rules:

# Nintendo Switch Pro Controller over bluetooth hidraw
KERNEL=="hidraw*", KERNELS=="*057E:2009*", MODE="0660", TAG+="uaccess"

But the regular one seems to be missing:

[301891.672726] input: Nintendo Switch Right Joy-Con as /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0/hci0:256/0005:057E:2007.0039/input/input110

I think the same rule as above should work just changing 2009 to 2007?

smcv commented 1 year ago

If you run

~/.steam/root/ubuntu12_32/steam-runtime/run.sh steam-runtime-input-monitor

with the joycons unconnected, wait for it to finish describing all your other devices (it should say {"all-for-now": true} at the end), and then connect the joycons, what additional information is displayed after the {"all-for-now": true} marker?

Press Ctrl+C to stop the input monitor when it has finished displaying the new device(s). Having that information will help to avoid regressions in SDL for these devices.

Steam Input does seem to support joycons, so their absence from these rules is probably an oversight?