Mapping issues 8Bitdo SN30 Pro+ in ROM
-
Pi Model or other hardware: Raspberry Pi 4 Model B
RetroPie Version Used 4.6:
Built From: Iso from site
Controller used: 2x 8Bitdo SN30 Pro+ (Bluetooth), updated firmware
Attachment of config files: /opt/retropie/configs/all/retroarch.cfgThe issue:
In the menus the controllers are working great, but I'm having issues with mapping of buttons in game. X opens the retro arch menu, A restarts the game, up/down etc triggers load/save states, start exits the ROM, etc.What I have tried: I have reconnected bluetooth connections several times, with and without the "hack" option (mostly with the hack OFF). Redone the key mapping multiple times. Tested running the controller in different OS modes. I've had a look in the config files but I don't see anything obviously wrong (from what I've read here). Cleared input settings in Configuration/Tools -> emulationstation, and reset them.
Example of SNES config:
cat /opt/retropie/configs/snes/retroarch.cfg # Settings made here will only override settings in the global retroarch.cfg if placed above the #include line input_remapping_directory = "/opt/retropie/configs/snes/" #include "/opt/retropie/configs/all/retroarch.cfg"
Any ideas on what I should try next?
-
Looks like you forgot to set a hotkey so every hotkey combination triggers automatically. Normally, the hotkey + combination has an action assigned (see here), you're triggering the action just by pressing the combination key (Start = exits emulator, etc.).
Re-configure your input in EmulationStation and choose Select as your hotkey.
-
@mitu thanks for your quick reply!
That sounds like a good theory, that mapping is how my system behaves.
I tried clearing input settings in Configuration/Tools and map the keys again from the emulationstation, setting select as the hotkey. Same behaviour. Did you see the mapping issue in the conf? If yes, where (so I can see for myself if it has changed correctly)? -
I got a SN30 Pro+ the other day and could never get the Controller Configuration to recognize any key on it as a Hotkey. I was, however, able to set a Hotkey in the RetroArch menu settings(Settings > Input > Hotkey Binds). It does seem that some emulators still don't recognize the bind, and I have to use a keyboard to exit.
-
@trallis said in Mapping issues 8Bitdo SN30 Pro+ in ROM:
Did you see the mapping issue in the conf?
The mapping is not kept in the configuration file your posted. Search in
\\retropie\configs\all\retroarch-joypads
and post the contents of the.cfg
file named after your controller. -
@mitu
/home/pi$ cat /opt/retropie/configs/all/retroarch-joypads/8BitDo\ SN30\ Pro+.cfginput_device = "8BitDo SN30 Pro+" input_driver = "udev" input_enable_hotkey_btn = "10" input_r3_btn = "14" input_r_y_minus_axis = "-3" input_l_btn = "6" input_load_state_btn = "6" input_r_y_plus_axis = "+3" input_up_btn = "h0up" input_left_btn = "h0left" input_state_slot_decrease_btn = "h0left" input_select_btn = "10" input_r2_btn = "9" input_r_x_minus_axis = "-2" input_l_y_plus_axis = "+1" input_l_x_plus_axis = "+0" input_right_btn = "h0right" input_state_slot_increase_btn = "h0right" input_l2_btn = "8" input_l_x_minus_axis = "-0" input_r_x_plus_axis = "+2" input_l3_btn = "13" input_r_btn = "7" input_save_state_btn = "7" input_l_y_minus_axis = "-1" input_y_btn = "4" input_x_btn = "3" input_menu_toggle_btn = "3" input_down_btn = "h0down" input_start_btn = "11" input_exit_emulator_btn = "11" input_b_btn = "1" input_reset_btn = "1" input_a_btn = "0"
It looks like the hotkey has a button defined. But are all of the others supposed to look exactly the same, or any difference for the "hotkey ones"?
-
@trallis I tested out removing the RetroArch commands from the conf file and it seems to work now. I guess I can just keep the binding for the menu and do the actions from there - but having the hotkey switch would be nice.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.