Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

Change inputs for Vectrex games



  • Hi all,
    I tested many things but I probably have to miss something even if I read articles.
    I have configured my inputs and obtained an autoconfig file. All is working perfectly.
    --- /opt/retropie/configs/all/retroarch/autoconfig/Xin-Mo Xin-Mo Controller.cfg ---
    input_device = "Xin-Mo Xin-Mo Controller"
    input_driver = "udev"
    input_l_btn = "5"
    input_load_state_btn = "5"
    input_start_btn = "9"
    input_exit_emulator_btn = "9"
    input_down_axis = "+1"
    input_r_btn = "4"
    input_save_state_btn = "4"
    input_right_axis = "+0"
    input_state_slot_increase_axis = "+0"
    input_select_btn = "8"
    input_left_axis = "-0"
    input_state_slot_decrease_axis = "-0"
    input_up_axis = "-1"
    input_a_btn = "0"
    input_b_btn = "1"
    input_reset_btn = "1"
    input_enable_hotkey_btn = "8"
    input_x_btn = "3"
    input_menu_toggle_btn = "3"
    input_y_btn = "2"

    I would like to invert btn_a and btn_b for Vectrex games. So I change this file like this:
    --- /opt/retropie/configs/vectrex/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/vectrex/"
    input_a_btn = "1"
    input_b_btn = "0"
    #include "/opt/retropie/configs/all/retroarch.cfg"

    No inversion.

    I tried to add all the content of autconfig file (just changing btn_a and btn_b).

    But nothing is working for now (no inversion at all). I think I have forget something. Could you help me, please ?

    If I invert btn_a and btn_b into autoconfig file, I obtain inversion... but for alla games of course...

    Here is my config:
    Pi 3 B+ / RetroPie 4.4 official image (retropie-4.4-rpi2_rpi3.img) / Emu 2.8.0rp-dev.

    I don't know what is wrong. All seems logical for me.
    Thanks for your help.



  • I finally used the retroarch menu (Select+X) and remapped the controls here. It works fine.
    I think that the problem was the special syntax for Vectrex.



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.