[SailfishDevel] Bluetooth headset button

Taixzo taixzo at gmail.com
Fri Jun 12 20:42:41 UTC 2015


I would like to trigger an action when someone presses the call button on a Bluetooth headset. So far the only way I’ve found to do this is to edit /etc/bluetooth/audio.conf and replace 

HFP=true

with

HFP=false

which switches the headset into HSP mode, at which point it will emit dbus signals. Is there any way of reading this button without mucking about in system files?

— Taixzo


More information about the Devel mailing list