Homepage Forums RetroPie Project Controller Configuration in RetroPie Setting up all/retroarch.cfg

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #102300
    peanut
    Participant

    On my previous raspberry installation I used to install all controls for /all/retroarch.cfg with the following usefull command.

    sudo chown pi /opt/retropie/configs/all/retroarch.cfg 
    cd /opt/retropie/emulators/RetroArch/installdir/bin
    sudo ./retroarch-joyconfig -j 0 >> /opt/retropie/configs/all/retroarch.cfg

    but this code does not work in the latest 2.6 retropie image.

    can someone help me use a similar command :(?

    #102302
    peanut
    Participant

    I might have installed the wrong version of retropie :doh: will check if version 3 will help me out :E

    #102309
    peanut
    Participant

    I was able to solve the issue in version 3. I’m using a dragon inc usb encoder and I have a joystick 6 buttons plus start and select.

    for some reason though when I press down in a N64 (smashbrothers)
    the character goes up…

    when I hold down it will ‘crouch aswell’

    so right now 1 button is doing 2 actions.

    my DragonRiseInc.GenericUSBJoystick.cfg has the following settings.

    input_device = "DragonRise Inc.   Generic   USB  Joystick  "
    input_driver = "udev"
    input_b_btn = "3"
    input_y_btn = "0"
    input_select_btn = "6"
    input_start_btn = "7"
    input_up_axis = "-1"
    input_down_axis = "+1"
    input_left_axis = "-0"
    input_right_axis = "+0"
    input_a_btn = "1"
    input_x_btn = "4"
    input_l_btn = "2"
    input_r_btn = "5"
    input_l2_btn = "2"
    input_r2_btn = "5"
    input_l3_btn = "2"
    input_r3_btn = "5"
    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 = "6"
    input_exit_emulator_btn = "7"
    input_menu_toggle_btn = "4"
    input_load_state_btn = "2"
    input_save_state_btn = "5"
    input_reset_btn = "3"
    input_state_slot_increase_axis = "+0"
    input_state_slot_decrease_axis = "-0"
    

    anyone know what can cause the issue?

    #102321
    deiv
    Participant

    I’ve got the same controller, and the joystick and the hatswitch are connected to the same axis

    as we can see in your configuration

    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”

    And i THINK (this i’m not sure at all) that mupen64plus has a tendancy to automatically link the right joypad of any controller with the c-button (like on Xbox controller).

    That would mean that when you press down on the stick, the emulator see down and C-up, whitch makes your character jump in SSB.

    Whatsoever you can check this by editing the n64 config file

    sudo nano /opt/retropie/configs/n64/retroarch.cfg

    #102401
    peanut
    Participant

    I noticed not only the up and down was different I also noticed when pressing left or right made the character jump up diagonally.

    When installing my retroarch controller I had my d-pad, Analogstick and C-buttons overlap with eachother

    If I remember correctly the c buttons on the N64 controller of the official game when pressed would give a diagonal jump in SSB. That could be a reason why the c buttons can’t overlap D-Pad and Analogstick directions.

    I temporarily removed the following lines from my DragonRiseInc.GenericUSBJoystick.cfg

    input_r_x_plus_axis = “+0″
    input_r_x_minus_axis = “-0″
    input_r_y_plus_axis = “+1″
    input_r_y_minus_axis = “-1″

    this has solved the SSB issue N64.

    But here comes the actual problem:
    Seeing I wanna play multiple N64 games with only one joystick and 8 buttons to my disposal

    I’d like to bind Analogstick with my select button to input the d-pad directions

    And 4 of my arcade buttons in combination with select to input the c buttons

    And bind B with select to input the z-trigger. Although I wonder how I can bind a ‘press and hold’ z-trigger :P

    I wonder if anyone else has come up with a solution to this problem with let’s say a standard Snes controller ;P

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Controller Configuration in RetroPie’ is closed to new topics and replies.