View Single Post
Posts: 1,431 | Thanked: 2,630 times | Joined on Jan 2011 @ Touring
#5
Originally Posted by misiak View Post
According to headset-button-enabler description, when it is installed and a headset button is pressed, "ButtonPressed" signal is emitted by HAL... it should be possible to catch that signal in Python somehow... .
Thanks I think the scripts control will do it for the wired headset. I dont have my N900 right now as a replacement is in the mail but I am also trying to figure out how the HAL or d-bus handles an answer button from a BT headset when there is not an incoming call. I think if there was a way to mod headset-button-enabler to look for the bluetooth answer instead of from the wired headset it would do the job, my sub-script kiddie skills are really failing me now though.