Wireless controller config issue
-
I'm using a rp3. I paired the bluetooth controller and it works fine within the emulation station, but it gets screwy in any emulation. It is a generic xbox type controller. When in the emulatulation, the d pad works but A is start and B is Select and no other buttons work. However, if I hit the player 1-4 button and change it to player 2 then every button acts as A. It is the same for every emulator. I assume I have to change the retroarch config, but I have no idea what to change the values to. Any ideas?
-
@heinstein can you tell us what brand and model the controller is? Without any info it is hard to help you.
-
@edmaul69 Its a gen game s3. I a cheap chinese knock off. I couldn't find much info about it.
-
@edmaul69 I just did jstest via ssh and everything looks matches up with whats in the retroarch config file.
-
@heinstein can you copy the contents of the config file on the website pastebin.com and post the link here?
-
@edmaul69
input_device = "GEN GAME"
input_driver = "udev"
input_r_y_plus_axis = "+3"
input_l3_btn = "13"
input_r_x_minus_axis = "-2"
input_l_btn = "6"
input_load_state_btn = "6"
input_start_btn = "11"
input_exit_emulator_btn = "11"
input_l_y_minus_axis = "-1"
input_up_btn = "h0up"
input_r_y_minus_axis = "-3"
input_a_btn = "0"
input_b_btn = "1"
input_reset_btn = "1"
input_down_btn = "h0down"
input_l_x_plus_axis = "+0"
input_l_y_plus_axis = "+1"
input_r_btn = "7"
input_save_state_btn = "7"
input_r2_btn = "9"
input_r3_btn = "14"
input_right_btn = "h0right"
input_state_slot_increase_btn = "h0right"
input_x_btn = "3"
input_menu_toggle_btn = "3"
input_select_btn = "10"
input_enable_hotkey_btn = "10"
input_l_x_minus_axis = "-0"
input_y_btn = "4"
input_left_btn = "h0left"
input_state_slot_decrease_btn = "h0left"
input_r_x_plus_axis = "+2"
input_l2_btn = "8" -
Should I try changing input driver to SDL2 or linuxraw instead of udev?
-
I figured it out. I went into retroarch>settings>user 1 bind all. Click bind all and it will go into an autoconfig. This is what ended up in the config file.
input_device = "GEN GAME"
input_driver = "udev"
input_r_y_plus_axis = "+3"
input_l3_btn = "23"
input_r_x_minus_axis = "-2"
input_l_btn = "16"
input_load_state_btn = "6"
input_start_btn = "21"
input_exit_emulator_btn = "21"
input_l_y_minus_axis = "-1"
input_up_btn = "h0up"
input_r_y_minus_axis = "-3"
input_a_btn = "10"
input_b_btn = "11"
input_reset_btn = "1"
input_down_btn = "h0down"
input_l_x_plus_axis = "+0"
input_l_y_plus_axis = "+1"
input_r_btn = "17"To exit an emuation I have to hit start and A but I'm fine with that. every thing else works fine.
-
@heinstein ok. So it uses different keys. So what you can do is edit the first config file with the correct button numbers from the second file you posted. The select button was 10 in the first config. It is a in the second config. You need to find out what button number is select and change that and the hotkey to that same number and everything will work correctly. The way it is now you have select and a on button 10. That is why it exits with button 10. Edit the first config file and then you can delete the second config
-
What I'm finding odd is that after configuring both ES and retroarch, I still need to configure controllers emulator-by-emulator to have it all work properly. For Example: I have my "exit to retroarch menu" hotkey set to L+R+B+down, but it only works for genesis, mama/fba, and NES sections....anyone know why the discrepancy?
I also have one of those knock off bt controllers, it registers on ES as "BB-GAME", i believe....it connects great to the Pi, though :)
I'm thinking to remove all configs, and start from the beginning...? Maybe i fudged something up... -
@edmaul69 I think if I edit the first file, wont it mess up how it works in ES? It works fine in the emulation. select works as select but the hot key is start and A.
-
@heinstein no it wont. Retroarch files are seperate from emulationstation. es_input.cfg is emulationstations config file.
-
@heinstein also, if you fix the first file you listed you wont have to configure any more configs
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.