Hi all,
I was worrying about setting this controller up on my system
RPi3
RetroPie 4.0.3
The Xin-Mo shows up as "Bus 001 Device 007: ID 16c0:05e1 Van Ooijen Technische Informatica Free shared USB VID/PID pair for CDC devices
I added usbhid.quirks=0x16c0:0x05e1:0x040 to /boot/cmdline.txt after a space after the last entry on the same line and rebooted.
I have a NES controller as Joystick one.
I reset emulation station in RetroPie-Setup, Configuration / Tools to Clear/Reset Emulation Station input config and restarted EmulationStation and configured the new controller by pressing a Xin-Mo button on Player 1. I could then control the EmulatinStation/RetroPie menus via Xin-Mo P1. This shows as Joystick 2.
I then fired up a game in Mame4All (Streetfighter2) and hit Tab when the game started and Selected Input General. For UI Cancel I chose , My NES controller Hotkets Select+Start and also Xin-Mo Select +Start as my ROM exit keys.
I then added P1 and P2 settings in Input (This Game) for Xin-Mo P1 and P2. My joy 2 and joy3,as NES controller is joy1.
This is working for me. I hope this helps anyone trying to keep up with getting this working on new versions of everything.
Cheers
Stuart