Kodi Sony PS3 Controller won't work
Pi Model or other hardware: 3B
Power Supply used: official Raspberry Power Supply
RetroPie Version Used : 4.5.1
Built From: Pre made SD Image on RetroPie website
USB Devices connected: n/a
Controller used: Huijia USB GamePad, Sony PLAYSTATION(R) 3 DualShock
Error messages received: n/a
Log found in /dev/shm/runcommand.log (if relevant): n/a
Guide used: n/a
Attachment of config files: n/a
How to replicate the problem: n/a
so I got a RPI 3B and installed RetroPie 4.5.1, using snes-mini theme, added Games and everything works fine. I thought it would be nice to also have kodi installed. So I did that from the RetroPie Setup in config on ES. I can run Kodi just fine, BUT the "Sony PLAYSTATION (R) 3 Controller" that i can use just fine with ES and ingame just won't work in kodi. When I plug in my keyboard or the "Huijia USB GamePad" (original SNES Controller via USB) both just work fine. I can see the "Sony PLAYSTATION (R) 3 Controller" in settings > system > input > peripherals, but it won't do anything. I already tried to check the peripherals.joystick, but in /buttonmaps/xml/linux all the files are there. Does this: "https://github.com/xbmc/xbmc/pull/16609" have anything to do with it? I'm not an expert with github and coding. Thank you in advance, help would be much appreciated.
 Ok i feel dumb now. So i installed the ps3controller driver package under: config > Retropie Setup > Manage packages > driver -> "ps3controller" and that did the trick. I followed the "Using the RetroPie-Setup GUI to configure the PS3 Controller Bluetooth Connection (for ps3controller)" guide on: https://github.com/RetroPie/RetroPie-Setup/wiki/PS3-Controller.