Xiaomi gamepad on retropie 4
-
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
-
I added this info in the wiki. Hope it's ok
https://github.com/RetroPie/RetroPie-Setup/wiki/Xiaomi-Gamepad
-
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?
-
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
-
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.
-
@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 -
Also not working for me
-
Try to modify these 2 lines in retroarch.cfg:
input_driver = "udev"
input_joypad_driver = "sdl2"
This worked for me. -
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/udevThanks!
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.