RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Xin-Mo Instructions?

    Scheduled Pinned Locked Moved Help and Support
    21 Posts 10 Posters 11.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • GreenHawk84G
      GreenHawk84
      last edited by GreenHawk84

      Hello,

      Does anyone have good material to share with the "how to" install and use a Xin-Mo USB arcade board for joystick/button controls? I am building an arcade cabinet with an RPi3 and will use a Xin-Mo. There are things where I don't know what I am doing so I need help.

      Thanks!

      mediamogulM 1 Reply Last reply Reply Quote 0
      • mediamogulM
        mediamogul Global Moderator @GreenHawk84
        last edited by mediamogul

        @GreenHawk84

        Have you read through the information here?

        RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

        1 Reply Last reply Reply Quote 2
        • hakan1708H
          hakan1708
          last edited by hakan1708

          I had the same problem too. Here is the solution:

          You are going to add the following text:

          usbhid.quirks=0x16c0:0x05e1:0x040

          to this cmdline.txt file:

          sudo nano /boot/cmdline.txt

          just add a space to the existing entry so its all on one line

          press "ctrl+x" then press "Y" to accept changes.

          If you mistype or make mistake on spacing it will not work. I was going crazy thinking nothing works but I noticed that i made a mistake by mistyping it.

          source: link text

          SteffenMBS 1 Reply Last reply Reply Quote 0
          • GreenHawk84G
            GreenHawk84
            last edited by

            Thanks a ton guys, when I install the Xin-Mo coming up soon I will report back. I hope everything works.

            1 Reply Last reply Reply Quote 0
            • SteffenMBS
              SteffenMB @hakan1708
              last edited by SteffenMB

              @hakan1708 said in Xin-Mo Instructions?:

              If you mistype or make mistake on spacing it will not work. I was going crazy thinking nothing works but I noticed that i made a mistake by mistyping it.

              source: link text

              I had exactly the same experience :-)

              1 Reply Last reply Reply Quote 0
              • P
                pohlinger31
                last edited by

                I just did the same thing - got it working with these instructions.

                The problem is though, player 1 and player 2 are reversed. The controls on the right side of the arcade are mapped to player 1 and vice versa. Is there any simple way to reprogram the controls so it switches the players? I really want to avoid re-wiring them.

                Thank you so much!

                hakan1708H 1 Reply Last reply Reply Quote 0
                • B
                  bidinou
                  last edited by bidinou

                  In case you haven't purchased it yet, you can do like me and buy the 1 one player version (no tweak required). It'll take 2 USB ports instead of one, though.

                  hakan1708H 1 Reply Last reply Reply Quote 1
                  • hakan1708H
                    hakan1708 @bidinou
                    last edited by

                    @bidinou That's what I almost did. Not a bad idea I think and you can install more buttons.

                    1 Reply Last reply Reply Quote 0
                    • hakan1708H
                      hakan1708 @pohlinger31
                      last edited by

                      @pohlinger31 I messed up with the controls too and I unscrewed the panel, fixed it and put it back. I would recommend the edge of the scissors or something like that to push the cables out.. Fast and painless. Don't dig a hole in your finger though.

                      1 Reply Last reply Reply Quote 0
                      • GreenHawk84G
                        GreenHawk84
                        last edited by

                        Unfortunately I messed up my graphic application to my control panel and set me back some days before I can start building. I hope configuring the Xin-Mo for my cabinet isnt painful. As soon as I can assemble Ill probably be asking more questions.

                        1 Reply Last reply Reply Quote 0
                        • GreenHawk84G
                          GreenHawk84
                          last edited by GreenHawk84

                          Alrighty, I'm back with great news; the Xin-Mo is working with two players with these instructions:

                          Pull up the command line - F4
                          Once in let’s get to the right folder by typing “cd /boot/”
                          Then we can modify the file via a notepad type program called nano; to open the file in nano simply type “sudo nano cmdline.txt”
                          Press enter and you will see a long line of text
                          Press the right key to the end of the text and hit the space key as we want to add a simple line of text to that current line
                          Note: do not press enter and add it to a second line, we want one long string with a simple space in between the last entry.
                          Type or paste: usbhid.quirks=0x16c0:0x05e1:0x040

                          Press ctrl x to escape
                          Press Y to save it
                          

                          Open retroarch.cfg and enter this into line 490:

                          input_player1_b_btn = 3
                          input_player1_y_btn = 0
                          input_player1_select_btn = 7
                          input_player1_start_btn = 6
                          input_player1_up_axis = -1
                          input_player1_down_axis = +1
                          input_player1_left_axis = -0
                          input_player1_right_axis = +0
                          input_player1_a_btn = 4
                          input_player1_x_btn = 1
                          input_player1_l_btn = 2
                          input_player1_r_btn = 5
                          input_player2_b_btn = 3
                          input_player2_y_btn = 0
                          input_player2_select_btn = 7
                          input_player2_start_btn = 6
                          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_x_btn = 1
                          input_player2_l_btn = 2
                          input_player2_r_btn = 5
                          input_enable_hotkey_btn = 9
                          input_exit_emulator_btn = 8
                          input_menu_toggle_btn = 1
                          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
                          input_volume_up_axis = -1
                          input_volume_down_axis = +1
                          

                          Open es_input.cfg and replace with this:

                          <?xml version="1.0"?>
                          
                          <inputList>
                          
                          <inputConfig type="joystick" deviceName="Xin-Mo Xin-Mo Dual Arcade" deviceGUID="03000000c0160000e105000001010000">
                          <input name="a" type="button" id="11" value="1" />
                          <input name="b" type="button" id="8" value="1" />
                          <input name="down" type="axis" id="1" value="1" />
                          <input name="left" type="axis" id="0" value="-1" />
                          <input name="leftbottom" type="button" id="2" value="1" />
                          <input name="right" type="axis" id="0" value="1" />
                          <input name="rightbottom" type="button" id="5" value="1" />
                          <input name="select" type="button" id="9" value="1" />
                          <input name="start" type="button" id="10" value="1" />
                          <input name="up" type="axis" id="1" value="-1" />
                          <input name="x" type="button" id="1" value="1" />
                          <input name="y" type="button" id="0" value="1" />
                          </inputConfig>
                          </inputList>
                          

                          With all this, my control panel works (photo here: https://1drv.ms/i/s!AluYjzvuXNufgwxn36AHGlPvX_GX)

                          One issue though, every time I load a game (any game/system) I get a series of "not configured" messages that go like this:

                          Xin Mo Dual Arcade (5824/1505) not configured

                          Microsoft Keyboard 600 (1118/1872) not configured

                          Xin Mo Dual Arcade (5824/1505) not configured

                          So the Xin Mo shows twice I'm guessing because there are two players seen. It doesn't seem to bother anything and the keyboard still works for the command prompt. I only have the control panel hooked up and my Microsoft USB keyboard. I also went in and updated my Retropie installation (which there is no menu sound now?) before I did all this. Does anyone have input as to how to get rid of this or if anything has become wonky (that I have yet to encounter)? Any help is awesome; this machine is nearly done and I'm pretty excited to build it. Here is an example photo of one of the lines upon loading (sorry its blurry): https://1drv.ms/i/s!AluYjzvuXNufgw1yr6vht69cOrtc

                          rbakerR BuZzB C 3 Replies Last reply Reply Quote 0
                          • rbakerR
                            rbaker @GreenHawk84
                            last edited by rbaker

                            @GreenHawk84 If you edit the retroarch.cfg file, you will see a section where you can change the font, colour and position of the messages. You can even turn them off. The relevant section to look out for is:

                            # Path to a font used for rendering messages. This path must be defined to enable fonts.
                            # Do note that the _full_ path of the font is necessary!
                            # video_font_path = 
                            
                            # Size of the font rendered.
                            # video_font_size = 32
                            
                            # Enable usage of OSD messages.
                            # video_font_enable = true
                            
                            # Offset for where messages will be placed on screen. Values are in range 0.0 to 1.0 for both x and y values. 
                            # [0.0, 0.0] maps to the lower left corner of the screen.
                            # video_message_pos_x = 0.05
                            # video_message_pos_y = 0.05
                            
                            # Color for message. The value is treated as a hexadecimal value.
                            # It is a regular RGB hex number, i.e. red is "ff0000".
                            

                            Just modify

                            video_font_enable = true
                            

                            to false.

                            1 Reply Last reply Reply Quote 0
                            • GreenHawk84G
                              GreenHawk84
                              last edited by

                              @rbaker , thank you, I just hope that I am not covering up something since the system is throwing these messages about configuration.

                              rbakerR 1 Reply Last reply Reply Quote 0
                              • rbakerR
                                rbaker @GreenHawk84
                                last edited by

                                @GreenHawk84 I wouldn't worry, I get ipac not configured when my roms boot because I configured a separate keyboard but not the usb decoder....even though it works.

                                1 Reply Last reply Reply Quote 0
                                • BuZzB
                                  BuZz administrators @GreenHawk84
                                  last edited by BuZz

                                  @GreenHawk84 please add markdown code formatting when posting logs and configs

                                  To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                  GreenHawk84G 1 Reply Last reply Reply Quote 0
                                  • GreenHawk84G
                                    GreenHawk84 @BuZz
                                    last edited by

                                    @BuZz said in Xin-Mo Instructions?:

                                    @GreenHawk84 please add markdown code formatting when posting logs and configs

                                    Sorry, I am not sure how to do that. Such a noob I am..

                                    mediamogulM 1 Reply Last reply Reply Quote 0
                                    • mediamogulM
                                      mediamogul Global Moderator @GreenHawk84
                                      last edited by

                                      @GreenHawk84 said in Xin-Mo Instructions?:

                                      Sorry, I am not sure how to do that.

                                      http://commonmark.org/help/

                                      RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                                      1 Reply Last reply Reply Quote 0
                                      • GreenHawk84G
                                        GreenHawk84
                                        last edited by

                                        @BuZz @mediamogul Okay I think I did it.

                                        mediamogulM 1 Reply Last reply Reply Quote 2
                                        • mediamogulM
                                          mediamogul Global Moderator @GreenHawk84
                                          last edited by

                                          @GreenHawk84

                                          Suitable for Sunday service.

                                          RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                                          1 Reply Last reply Reply Quote 1
                                          • C
                                            Coax88 @GreenHawk84
                                            last edited by Coax88

                                            @GreenHawk84 hi have done this tweak so i could get two player to work, but it seems that my start and SELECT button does not work. Do you know why. Were in the usb board should they be

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                            Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.