Help with USB controllers

This topic contains 8 replies, has 3 voices, and was last updated by  feederchain 2 years, 8 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #96601

    irmanezirevic
    Participant

    Hi guys

    I have now been trying for two days, but just can’t seem to get my Xin-Mio usb controller configured with retropie. Not even player 1 works in games.

    The joystick works ok, can go op and down, but the six buttones does not work πŸ™

    There are seven buttons:
    The first row three have numbers 1, 0, 9
    The second row three have numbers 2,3,4
    And then there is the One Player button on the side, that has the number 8

    My retroarch files input is this:
    input_player1_joypad_index = “0”
    input_player1_b_btn = β€œ1”
    input_player1_y_btn = β€œ0”
    input_player1_select_btn = β€œ9”
    input_player1_start_btn = β€œ4”
    input_player1_a_btn = β€œ8”
    input_player1_x_btn = β€œ7”
    input_player1_l_btn = β€œ3”
    input_player1_r_btn = β€œ2”
    input_player1_up_axis = “-1”
    input_player1_down_axis = “+1”
    input_player1_left_axis = “-0”
    input_player1_right_axis = “+0”

    input_player2_joypad_index = “0”
    input_player2_b_btn = “11”
    input_player2_y_btn = “14”
    input_player2_select_btn = “7”
    input_player2_start_btn = “16”
    input_player2_a_btn = “10”
    input_player2_x_btn = “13”
    input_player2_l_btn = “12”
    input_player2_r_btn = “15”
    input_player2_up_axis = “-3”

    input_player2_down_axis = “+3”
    input_player2_left_axis = “-2”
    input_player2_right_axis = “+2”

    input_enable_hotkey_btn = “6”
    input_exit_emulator_btn = “7”
    input_save_state_btn = β€œ#”
    input_load_state_btn = β€œ#”

    I also have a file in the folder /opt/retropie/emulators/retroarch/configs called Xin-MoXin-MoDualArcade.cfg with the following input:

    input_device = “Xin-Mo Xin-Mo Dual Arcade”
    input_driver = “udev”

    What am I doing wrong?? Is there a step by step guide somewhere for all this? I have read lots of blogs and other articles but just can’t seem to find out what to do.

    PS. When I for example try to play sonic game then i can use the joystick and button 0 which pauses the game. Anything else is not possible, all the other buttons have no effect when used

    #96632

    irmanezirevic
    Participant

    Ok, big progress. Player 1 works now but not player two. Have the following:
    input_player1_joypad_index = 0
    input_player1_b_btn = 1
    input_player1_y_btn = 0
    input_player1_select_btn = 9
    input_player1_start_btn = 4
    input_player1_up_axis = -1
    input_player1_down_axis = +1
    input_player1_left_axis = -0
    input_player1_right_axis = +0
    input_player1_a_btn = 3
    input_player1_enable_hotkey_btn = 2
    input_player1_exit_emulator_btn = 8

    input_player2_joypad_index = 0
    input_player2_b_btn = 2
    input_player2_y_btn = 1
    input_player2_select_btn = 0
    input_player2_start_btn = 3
    input_player2_up_axis = +1
    input_player2_down_axis = -1
    input_player2_left_axis = -0
    input_player2_right_axis = +0
    input_player2_a_btn = 4
    input_player2_enable_hotkey_btn = 5
    input_player2_exit_emulator_btn = 6

    any suggestions?

    #96644

    dpicc68
    Participant

    Have a look in retroarch config file…. Somewhere just above the buttons section, you will see a list of player1, player 2, player 3 using different ‘hats’.
    Set player 2 to use the same as player 01…. In my case I set them both to ‘0’.or the same as what player 1 is (From memory)

    It’s been a while.. This is from memory (not sitting in front of it at the moment)

    Dpicc….

    #96645

    irmanezirevic
    Participant

    Hi Dpicc

    Thanks for your reply. I dont see any “hats” πŸ™‚ Which one of these are we talking about:

    # Keyboard input, Joypad and Joyaxis will all obey the “nul” bind, which disables the bind completely,
    # rather than relying on a default.
    input_player1_a = x
    input_player1_b = z
    input_player1_y = a
    input_player1_x = s
    input_player1_start = enter
    input_player1_select = rshift
    input_player1_l = q
    input_player1_r = w
    input_player1_left = left
    input_player1_right = right
    input_player1_up = up
    input_player1_down = down
    # input_player1_l2 =
    # input_player1_r2 =
    # input_player1_l3 =
    # input_player1_r3 =

    # Two analog sticks (DualShock-esque).
    # Bound as usual, however, if a real analog axis is bound,
    # it can be read as a true analog.
    # Positive X axis is right, Positive Y axis is down.
    # input_player1_l_x_plus =
    # input_player1_l_x_minus =
    # input_player1_l_y_plus =
    # input_player1_l_y_minus =
    # input_player1_r_x_plus =
    # input_player1_r_x_minus =
    # input_player1_r_y_plus =
    # input_player1_r_y_minus =

    # If desired, it is possible to override which joypads are being used for user 1 through 8.
    # First joypad available is 0.
    # input_player1_joypad_index = 0
    # input_player2_joypad_index = 1
    # input_player3_joypad_index = 2
    # input_player4_joypad_index = 3
    # input_player5_joypad_index = 4
    # input_player6_joypad_index = 5
    # input_player7_joypad_index = 6
    # input_player8_joypad_index = 7

    # Joypad buttons.
    # Figure these out by using RetroArch-Phoenix or retroarch-joyconfig.
    # You can use joypad hats with hnxx, where n is the hat, and xx is a string representing direction.
    # E.g. “h0up”
    # input_player1_a_btn =
    # input_player1_b_btn =
    # input_player1_y_btn =
    # input_player1_x_btn =
    # input_player1_start_btn =
    # input_player1_select_btn =
    # input_player1_l_btn =
    # input_player1_r_btn =
    # input_player1_left_btn =
    # input_player1_right_btn =
    # input_player1_up_btn =
    # input_player1_down_btn =
    # input_player1_l2_btn =
    # input_player1_r2_btn =
    # input_player1_l3_btn =
    # input_player1_r3_btn =

    #96646

    irmanezirevic
    Participant

    The funny thing is that if I use the player1 title on the now player2 title, then the buttons and joystick work on that side, but not on the other side (which worked when it was player1).

    So there seems to be communication on all the buttons. But not both sides can work at the same time.

    I have also tried with these combinations:
    input_player1_joypad_index = 0
    input_player2_joypad_index = 0

    and

    input_player1_joypad_index = 0
    input_player2_joypad_index = 1

    but still no luck.

    When I list all med inputs i have js0 and js1, so the retropi sees the both sides…

    #96894

    feederchain
    Participant

    Does the mapping here not work?

    Autofire on the axis

    #97118

    irmanezirevic
    Participant

    Hi,
    nope it doesn’t work πŸ™

    #97119

    irmanezirevic
    Participant

    After I ran the patch from the “autofire on axis” post, the retropie sees my Xin-Mo as two controllers. Should I maybe try to start all from scratch ( reinstall retoroppie) and see if it works without the patch?

    #97133

    feederchain
    Participant

    You can try without the patch from scratch. I have not upgraded my pie since I installed my patch. So I don’t know if some of these issues have been addressed in the vanilla code.

    I’m a bit surprised that a button setup for one person wouldn’t work for someone else. All else being equal.

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

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

PLEASE NOTE: All orders that are placed between January 14th and January 28th will be shipped on January 29th. Dismiss