@sliderem
Thanks for putting me on the right track for configuring my pandora controller on retropie.
Since search engines continue to find this thread on the subject, I just would like to add that the trick with the usbhid.quirks is dependant on the model of the Pandora box.
The general procedure of adding usbhid.quirks to /boot/cmdline.txt is the same as described in
https://retropie.org.uk/docs/Xin-Mo-Controller/
BUT make sure you use
usbhid.quirks=0xVendorID:0xProductID:0x040
with VendorID, ProducID being the output from the command 'lsusb' for the corresponding controller!