changing fba controls in retropie 3.2.1

Welcome Page Forums RetroPie Project Controller Configuration in RetroPie changing fba controls in retropie 3.2.1

This topic contains 3 replies, has 3 voices, and was last updated by Profile photo of dankcushions dankcushions 1 year, 6 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #111033
    Profile photo of peanut
    peanut
    Participant

    Hi,

    I’ve done a clean install of retropie and all emulators work fine.

    I want to change the button layout of FBA.

    /opt/retropie/configs/all/retroarch-joypads/DragonRiseInc.GenericUSBJoystick.cfg

    input_device = "DragonRise Inc.   Generic   USB  Joystick  "
    input_driver = "udev"
    input_b_btn = "3"				
    input_y_btn = "0"
    
    input_select_btn = "7"
    input_start_btn = "6"
    
    input_up_axis = "-1"
    input_down_axis = "+1"
    input_left_axis = "-0"
    input_right_axis = "+0"
    
    input_a_btn = "2"
    input_x_btn = "0"
    input_l_btn = "4"
    input_r_btn = "3"
    input_l2_btn = "4"
    input_r2_btn = "3"
    input_l3_btn = "4"
    input_r3_btn = "3"
    
    input_l_x_plus_axis = "+0"
    input_l_x_minus_axis = "-0"
    input_l_y_plus_axis = "+1"
    input_l_y_minus_axis = "-1"
    input_r_x_plus_axis = "+0"
    input_r_x_minus_axis = "-0"
    input_r_y_plus_axis = "+1"
    input_r_y_minus_axis = "-1"
    
    input_enable_hotkey_btn = "7"
    input_exit_emulator_btn = "6"
    
    input_menu_toggle_btn = "0"
    input_load_state_btn = "4"
    input_save_state_btn = "3"
    input_reset_btn = "3"					
    input_state_slot_increase_axis = "+0"
    input_state_slot_decrease_axis = "-0"
    

    I wanted to switch around keys in FBA so i’ve change the following

    /opt/retropie/configs/fba/fba2x.cfg

    [Joystick]
    # Get codes from "jstest /dev/input/js0"
    # from package "joystick"
    # Defaults to XBOX 360 Controller
    A_1=1
    B_1=0
    X_1=2
    Y_1=3
    L_1=4
    R_1=5
    START_1=7
    SELECT_1=6
    #Joystick axis
    JA_LR=0
    JA_UD=1
    
    [Graphics]
    DisplaySmoothStretch=1
    # Display Effect: 0 none, 1 scanlines
    DisplayEffect=0
    DisplayBorder=0
    MaintainAspectRatio=1
    DisplayAutoRotate=0
    
    [Sound]
    

    I switch around a and b for instance but the keys stayed exactly the same.
    also editing the retroarch.cfg within the fba folder had no effect.
    (did a proper reset in between aswell)

    Can someone tell me what I can do to fix it?

    kind regards,

    Peanut

    #111039
    Profile photo of herbfargus
    herbfargus
    Member
    #111041
    Profile photo of peanut
    peanut
    Participant

    Are you sure you’re using pifba?

    https://github.com/RetroPie/RetroPie-Setup/wiki/runcommand

    it is using the default emulator : lr-fba-next

    Are there different files I need to eddit in that case? if so which ones?

    #111124
    Profile photo of dankcushions
    dankcushions
    Participant

    /opt/retropie/config/fba/retroarch.cfg has the config for lr-fba-next

Viewing 4 posts - 1 through 4 (of 4 total)

Forums are currently read only - please visit the new RetroPie forums at https://retropie.org.uk/forums/

Skip to toolbar