RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    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

    ROM/emulator specific controls.

    Scheduled Pinned Locked Moved Help and Support
    retropie 4.1 piretroarch.cfghelp
    1 Posts 1 Posters 634 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      DojoBaggins
      last edited by

      hello. this has been answered and asked on other forums however im still having much difficulty. so essentially I've got an xbox one controller hooked up to the retropie and works great. (ive configured it so that the left joystick is used as the Dpad and vice versa, its easier for playstation games). however when my mrs wants to play mariokart (N64) she has to then use the DPAD to control the car and its annoying, so ive gotta swap the controls back and then back to how i want them etc.

      is it possible to have a control layout that is different for each emulator. i thought this was achieved by going to the retroarch.cfg file in the emulator. (N64). below is what my retoarch.cfg file. however it does not change. im an I.T guy, but i know absolutely nothing about linux (yes i know what youre thinking). so any tutorials/help in language i could understand would help.

      Settings made here will only override settings in the global retroarch.cfg if placed above the #include line

      input_remapping_directory = /opt/retropie/configs/n64/

      input_driver = "udev"
      input_r_y_plus_axis = "+3"
      input_l3_btn = "11"
      input_r_x_minus_axis = "-2"
      input_l_btn = "4"
      input_load_state_btn = "4"
      input_start_btn = "9"
      input_exit_emulator_btn = "9"
      input_l_y_minus_axis = "-1"
      input_up_btn = "h0up"
      input_r_y_minus_axis = "-3"
      input_a_btn = "1"
      input_b_btn = "0"
      input_reset_btn = "0"
      input_down_btn = "h0down"
      input_l_x_plus_axis = "+0"
      input_l_y_plus_axis = "+1"
      input_r_btn = "5"
      input_save_state_btn = "5"
      input_r2_btn = "7"
      input_r3_btn = "12"
      input_right_btn = "h0right"
      input_state_slot_increase_btn = "h0right"
      input_x_btn = "3"
      input_menu_toggle_btn = "3"
      input_select_btn = "8"
      input_enable_hotkey_btn = "8"
      input_l_x_minus_axis = "-0"
      input_y_btn = "2"
      input_left_btn = "h0left"
      input_state_slot_decrease_btn = "h0left"
      input_r_x_plus_axis = "+2"
      input_l2_btn = "6"

      #include "/opt/retropie/configs/all/retroarch.cfg"

      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      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.