I made it work with the following combination of hardware/software:
Raspberry Pi 3 Model B Operating System: OSMC (enable Bluetooth at MyOsmc-->Network) RetroPie 4.3 (installed using retroosmc) ps3controller driver configured for "clone support shanwan" (gasia will not work)