8BitDo SN30 Pro Wired Trigger Assignment
simpleethat last edited by simpleethat
Pi Model or other hardware: 4B 4GB
Power Supply used: USB-C 5v/3a that came with my villros kit
RetroPie Version Used: 4.6.4
Built From: retropie-buster-4.6-rpi4.img ALSO (different SD card) manual install over raspberry pi OS lite 2020-05-27-raspios-buster-lite-armhf.img
USB Devices connected: AmazonBasics USB Keyboard, 8BitDo SN30 Pro
Controller used: 8BitDo SN30 Pro
Working on a new build for my RaspberryPi 4 and I'm having trouble assigning the L2/R2 triggers on my new 8BitDo SN30 Pro through the EmulationStation Controller config. When I press either trigger there is no response. I have updated the firmware of the controller to v1.03.
I ran jstest and it does register the buttons as axis 2 and axis 5. Both start at -32767 (no input) and change to 32767 when the trigger is pressed.
When I initially configured the controller it did register it as an Xbox 360 controller.
EDIT1: I did try to run the controller configuration again (as someone in a different post said this worked for them) and twice after performing the firmware update on the controller.
EDIT2: the Star button (below the dpad) doesn't respond in jstest. Is there anyway to get this button to work? I would prefer to use it for the hotkey.
Also, when I tried to run jstest on my manual install it didn't work. Does it not get installed when doing a manual install? I tried looking for it in the menus of the setup script and couldn 't find it (although it is possible I missed it).
The trigger buttons registering as axis should be solved by installing the
xpaddriver from RetroPie's drivers section.
For the 2nd part issue - menu button - this looks like a firmware configuration, you may have to change the pairing mode to 'Nintendo Switch' for the button (Start) to become active.
simpleethat last edited by
@mitu thanks for the reply! I don't think there's any way to change the pairing setting on the wired controller. The manual is pretty sparse. The button below the B button is actually the Home button and I have it set to the hotkey currently it's just awkward to use with some of the combinations.
I'll have to give the xpad a whirl. I think I managed a work to make it work by manually editing the appropriate .cfg in the retroarch-joypads folder (the same way I set the toggle fast forward to work across all of the retroarch emulators). But I haven't yet added any games to see if it works. I'll report back with my findings.
I added these two lines:
input_l2_axis = "+2" input_r2_axis = "+5"
adding this line:
input_toggle_fast_forward_axis = "+5"
works to toggle fast forward so I think it will work to make the triggers function. I've got to track down a PS1 game that uses L2/R2 to see if my solution worked. I'll try the driver on another build as it's always good to have multiple working solutions.