Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #93188
    calumetjohn
    Participant

    I am helping a friend build an arcade.

    He wants to use MAME as well as NES, SNES, Sega, etc

    He has a Xin-Mo dual arcade controller setup. I am able to see the controller using jstest js0. For some reason both Joysticks provide the same results -1,+1,-0 and +0. all the buttons work when testing. But for the life of me I cannot get it to work in any of the emulators!

    The only thing that works is the keyboard.

    I have ran the retroarch config in the setup script, I have manually created one from online documentation i found.

    I have modified the /opt/retropie/configs/all, /opt/retropie/emulators/configs, etc and no luck.

    Any idea would be greatly appreciated

    #93226
    krauthaus
    Participant

    Autofire on the axis

    Quote 90318 and later <- This is what you are searching for. You need a kernel update for the xin-mo controllers, feederchain made a noob-proof install script
    which do this job for you.

    After this you can configure both joysticks! I had the same problem when i built my arcade (you can find it in the “projects” here in the forum.)

    If you have further questions i offer my help:) It was hard to get my arcade running, but i love it now:D

    greets
    krauthaus

    #93252
    calumetjohn
    Participant

    I was able to apply the kernel update and that indeed fixed my auto-fire issue.

    I am still not able to use the joystick and buttons in any emulator. I can run jstest js0 and everything works. I can even run retroarch-joyconfig and everything works. it even saves a file like Xin-Mo.cfg.

    The only place the joystick and buttons work is in emulation station.

    Any ideas?

    #93339
    rook0316
    Participant

    Do not try to set up a player 1 and player 2 using the index method in some posts here, that is when my controls quit working.

    Edit the configuration file below for only 1 player. It seems player 2 gets duplicated to the exact button layout. Make sure your button wiring for both controllers are mirrored copies of each other.

    input_device = "THT THT Arcade console 2P USB Player"
    input_driver = "udev"
    
    #Player 1&2P
    
    input_b_btn = "1"
    input_y_btn = "0"
    input_select_btn = "8"
    input_start_btn = "9"
    input_up_axis = "-1"
    input_down_axis = "+1"
    input_left_axis = "-0"
    input_right_axis = "+0"
    input_a_btn = "3"
    input_x_btn = "2"
    input_l_btn = "4"
    input_r_btn = "5"
    
    input_enable_hotkey_btn = "9"
    input_exit_emulator_btn = "8"

    Put the edited file in /opt/retropie/emulators/retroarch/configs named THTTHTArcadeconsole2PUSBPlayer.cfg, for some reason the Xin MO gets named that.

    Hope this helps.

    #93459
    krauthaus
    Participant

    input_player1_joypad_index = “0”
    input_player1_b_btn = “1”
    input_player1_y_btn = “4”
    input_player1_select_btn = “7”
    input_player1_start_btn = “6”
    input_player1_a_btn = “0”
    input_player1_x_btn = “3”
    input_player1_l_btn = “2”
    input_player1_r_btn = “5”
    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” ###— RetroArchConfig gave me a other entry than this one.
    This four (up, down, left, right) are working.
    input_player2_down_axis = “+3”
    input_player2_left_axis = “-2”
    input_player2_right_axis = “+2”

    input_enable_hotkey_btn = “6” ###– If you press Button 6 AND 7 you get back to Emulation Station
    input_exit_emulator_btn = “7” ###– -“-
    input_save_state_btn = “#” ###— Save Games
    input_load_state_btn = “#” ###— Load Games

    ____________________________________________

    This is my working config. -> https://www.petrockblock.com/forums/topic/raspberryretropie-arcade-gaming-cabinet/

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.