cathery / sys-con

Nintendo Switch sysmodule that allows support for third-party controllers
GNU General Public License v3.0
973 stars 65 forks source link

Mapping share button on Xbox Series X|S controllers to screenshot #314

Open opencooper opened 1 year ago

opencooper commented 1 year ago

Firstly, thanks so much for such useful software. I have an Xbox Series X|S controller, which works fine, with screenshotting currently mapped to the sync button. However, compared to previous Xbox controllers, this one has an extra "Share" button which Steam for example uses to screenshot. You can see a visual of the controller here.

Is there a way to expose this in the config file so it can be mapped?

Zatheroger commented 1 year ago

How did you manage to make the xbox series x controller work? Mine is detected but the buttons don't do anything...

opencooper commented 1 year ago

@Zatheroger It worked out of the box for me on Switch firmware 16.0.1 and Atmosphere 1.5.1. My controller is the Carbon Black color and was purchased November 2022. First, I installed sys-con 0.6.4 via the HB App Store. Then I restarted my system. I use a third-party dock powered by the official Nintendo USB-C power brick. I plugged a (JSAUX brand) USB-A to USB-C cable into the back of the dock, and then the USB-C end into the XBox controller. The controller should vibrate to indicate that it has powered on. From there, everything worked without configuration, with all buttons properly mapped. (the only unmapped being the Share button, hence this Issue)

Make sure you restarted your system, and try another USB cable. if you're able to send payloads from your computer to your Switch with it, should probably work? If you're trying to connect the controller directly to the Switch using a USB-C to USB-C cable, make sure it's not a charging-only cable. Not sure if it would affect anything, but I would also make sure the controller isn't synced wirelessly to anything else, as that might cause the cable to power it only. Note, the description for sys-con says "[Switch FW 5.0.0+] [Atmosphère only]". Also, I know controllers have their own firmware, but I haven't intentionally upgraded mine since purchase, unless Windows does something automatically.

Zatheroger commented 1 year ago

Yeah I found the problem. The controller does not work on any of the 3 usb ports the dock (the Nintendo one) has, however it works flawlessly when I plug it to the Switch itself via the usb type-c port. Which means I have to play on handheld if I want to use my xbox controller...

Zatheroger commented 1 year ago

Ok so I checked the discussions and someone said to "Press the Xbox button so it starts blinking, then plug the controller into the switch" and it worked! I hope I can also map the share button to something on the switch.

SaddyGR3 commented 5 months ago

I can confirm what Zatheroger said worked perfectly. Now I can use the Xbox Series X controller connected to the original dock