Controller setup not persisting into emulators.
-
@Mr-Lumbergh No, the order in the file shouldn't matter. Can you post the contents of your
.cfg
file ? -
@mitu Please see below. Note that I still have the vendor and prod ID callouts in the config file.
input_device = "DragonRise Inc. Generic USB Joystick" input_vendor_id=121 input_product_id=6 input_driver = "udev" input_left_axis = "-0" input_state_slot_decrease_axis = "-0" input_right_axis = "+0" input_state_slot_increase_axis = "+0" input_r_btn = "6" input_save_state_btn = "6" input_down_axis = "+1" input_l_btn = "4" input_l_btn_label = "LB" input_load_state_btn = "4" input_y_btn = "0" input_y_btn_label = "Y" input_x_btn = "1" input_menu_toggle_btn = "1" input_b_btn = "2" input_reset_btn = "2" input_a_btn = "3" input_up_axis = "-1" input_select_btn = "8" input_select_btn_label = "Back" input_start_btn = "9" input_start_btn_label = "Start" input_exit_emulator_btn = "9" input_enable_hotkey_btn = "8" input_l2_btn = "5" input_r2_btn = "7" input_r2_btn_label = "RT"
-
The
.cfg
seems fine. Maybe adding a"
around the values is better ?... input_vendor_id="121" input_product_id="6" ...
Can you run
cat /proc/bus/input/devices
and post the output ? -
@mitu @Mr-Lumbergh and is the spaces around
=
also important, I think?input_vendor_id = 121
Vs.
input_vendor_id=121
-
@sleve_mcdichael @mitu
I'm not sure if it was the spaces or the quotes I forgot to include, but after taking both of your suggestions on the config file edits I'm in business.Thank you both.
Mitu, I didn't post the results of cat on the input devices but I can if you're still interested, otherwise I'll go ahead and tag this as solved.
-
@Mr-Lumbergh said in Controller setup not persisting into emulators.:
Mitu, I didn't post the results of cat on the input devices but I can if you're still interested, otherwise I'll go ahead and tag this as solved.
No, it's not necessary - if it worked it means the vendor/produc IDs were correct, this is what the command would have shown in detail.
-
@mitu Thanks again for your time.
-
@mitu Any idea when this issue is going to get perma-fixed?
I gather it's some issue with SDL2... -
@Neo-Rio said in Controller setup not persisting into emulators.:
@mitu Any idea when this issue is going to get perma-fixed?
Should be fixed by https://github.com/RetroPie/RetroPie-Setup/pull/3702, though you'll need ES-dev installed (for now, until the corresponding ES changes trickle down to the
stable
branch). -
.. and now the needed EmulationStation changes are available in the
stable
ES branch. Thanks @BuZz !
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.