View Single Post
thp's Avatar
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#45
At least on Maemo 5 the headset button was exposed as a hal input device at /org/freedesktop/Hal/devices/platform_retu_headset_logicaldev_input

Check out the Panucci source for how it's used there (search for headset_button):

http://nikosapi.org/git/panucci/tree...usinterface.py
http://nikosapi.org/git/panucci/tree...cci/panucci.py

Edit: After reading the whole thread, it seems like this is not working anymore on the N900..

Last edited by thp; 2010-01-19 at 17:37.
 

The Following 2 Users Say Thank You to thp For This Useful Post: