• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

Xiaomi gamepad on retropie 4

Scheduled Pinned Locked Moved Help and Support
xiaomi gamepadbluetoothxiaomigamepad
9 Posts 7 Posters 3.6k 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.
  • K
    kbronctjr
    last edited by kbronctjr 18 Sept 2016, 11:15

    Xiaomi gamepad works good in emulationstation. even autoconnects when I turn it off.
    But for some reason, in retroarch the detected buttons are different tan in emulationstation. So i configured it through retroarch using also a keyboard, because I couldn't even go through the menus...

    Here I attach the configuration file, along with a txt with the folder where it should go, that is the "udev" folder inside the rest of the cfg files of the joysticks are.

    https://mega.nz/#!wUdUGTyR!pEgtjJd7EXY0UaIhtOfPj-zBIi_WopqxEn_WIwM_b88

    Cheers

    V 1 Reply Last reply 4 Feb 2017, 20:39 Reply Quote 0
    • K
      kbronctjr
      last edited by 18 Sept 2016, 15:58

      I added this info in the wiki. Hope it's ok

      https://github.com/RetroPie/RetroPie-Setup/wiki/Xiaomi-Gamepad

      1 Reply Last reply Reply Quote 0
      • H
        HansWursT619
        last edited by HansWursT619 14 Dec 2016, 18:13

        This does not work for me :( I also tried a different .cfg that is found here in the forum, is does not work either.

        I tried placing the file in the mentioned directory (after creating the udev folder as it did not exist).
        But none of the buttons work in an emulator, only in ES interface.

        When starting an emulator the lower left corner shows "☐☐☐☐☐☐ (0/0) not configured"(this is probably the name of the controller, but the Chinese symbols are not supported)
        Could it be the reason that retroarch can't identify the controller because of the Chinese symbols in the name?
        When trying to enter the keybindings in retroarch settings it crashes and throws me back to retropie settings.
        Could be caused by the unsupported characters aswell.

        Any ideas?

        1 Reply Last reply Reply Quote 0
        • K
          kbronctjr
          last edited by 14 Dec 2016, 21:50

          Maybe something broke with the latest updates, as this was tried on september. Tomorrow, if I have time, I will try to configure again the gamepad to see if I encounter the same problems.

          The chinese characters not showing correctly is not a problem

          1 Reply Last reply Reply Quote 0
          • N
            n3v0n
            last edited by 18 Dec 2016, 11:32

            I have the same issue as HansWursT619

            and I also experienced that controlling kodi with the gamepad does not work.
            I did look into the kodi.log file to find out which buttoms are recognized while pressing them to put them into the keymap.xml. I was able to get all buttoms right, but no axis and no hat worked. Regardless of what I've tried. To me it looks like the D-Pad is the hat as the kodi.log says "hat 1 value 1,2,4 or 8" while pressing the different directions on the D-Pad. I do not know how to put this into the keymap.xml.
            I've tried the following commands in the .xml file with different values for x and y:

            • hat "x" value "y"
            • hat "x" position "up,..."
            • hat "x" id "y"

            I hope this helps solving this issue.

            1 Reply Last reply Reply Quote 0
            • V
              vretro @kbronctjr
              last edited by 4 Feb 2017, 20:39

              @kbronctjr I followed your guide to get my Xiaomi controller working, but it didn't seem to work.

              I updated to the latest version of EmulationStation and Retroarch today and the directory you mentioned on your guide does not exist in the latest version, perhaps your guide is no longer relevant?

              The directory that is missing is as follows:
              /opt/retropie/configs/all/retroarch-joypads/udev

              1 Reply Last reply Reply Quote 0
              • K
                KlausA0403
                last edited by 1 Mar 2017, 23:37

                Also not working for me

                1 Reply Last reply Reply Quote 0
                • C
                  christian
                  last edited by 23 Apr 2017, 08:41

                  Try to modify these 2 lines in retroarch.cfg:
                  input_driver = "udev"
                  input_joypad_driver = "sdl2"
                  This worked for me.

                  1 Reply Last reply Reply Quote 0
                  • B
                    browerbr
                    last edited by 28 Apr 2017, 13:28

                    I'm also having some issues...
                    Like in the game i can't acces the retroarch config anymore.

                    Is the wiki updated?

                    The directory that is missing is as follows:
                    /opt/retropie/configs/all/retroarch-joypads/udev

                    Thanks!

                    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.

                      This community forum collects and processes your personal information.
                      consent.not_received