Ps3 controller

Hi hope this is in the right category. I want to connect my ps3 controller to the kodi box downloaded the ps3 controller add on my phone thought could have connected my phone and installed it via zip but I’m a bit stuck