2017-07-09, 19:31
(2017-07-09, 09:46)linkinsoldier Wrote: Unfortunately I don't know any project which has this implemented. However on libreelec I can go to the libreeelec settings -> Bluetooth and see my different controllers. Those controller are shown as connected (yes) or not connected (no) and there I can disconnect single controllers (option is called disconnect - I have no idea what enable standby is supposed to do, but disconnect works!)
Couldn't this be used by you?
Currently, Bluetooth devices are handled by the OS. LibreELEC settings aren't part of Kodi, they're added by the LE team to control operating system-level settings.
In order to power-off the PS3 controller, we'd have to rely on an undocumented API (that's how we grab the Guide button on windows machines). Not having access to this API, and not wanting to reverse engineer it myself, there's not much I can do. Keep an eye out for projects that can power off controllers, though, because if you find some open source code we can add it to Kodi or LE.