Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › Help with USB controllers
- This topic has 8 replies, 3 voices, and was last updated 9 years, 7 months ago by feederchain.
-
AuthorPosts
-
05/01/2015 at 18:00 #96601irmanezirevicParticipant
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 8My 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
05/01/2015 at 20:20 #96632irmanezirevicParticipantOk, 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 = 8input_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 = 6any suggestions?
05/01/2015 at 23:28 #96644dpicc68ParticipantHave 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….
05/01/2015 at 23:32 #96645irmanezirevicParticipantHi 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 =05/01/2015 at 23:57 #96646irmanezirevicParticipantThe 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 = 0and
input_player1_joypad_index = 0
input_player2_joypad_index = 1but still no luck.
When I list all med inputs i have js0 and js1, so the retropi sees the both sides…
05/04/2015 at 03:00 #96894feederchainParticipantDoes the mapping here not work?
05/09/2015 at 10:17 #97118irmanezirevicParticipantHi,
nope it doesn’t work :-(05/09/2015 at 10:49 #97119irmanezirevicParticipantAfter 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?
05/09/2015 at 17:04 #97133feederchainParticipantYou 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.
-
AuthorPosts
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.