Thread
:
[ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
View Single Post
cb22
2010-04-03 , 03:50
Posts: 82 | Thanked: 214 times | Joined on Jan 2010 @ Cape town
#
64
Cancel that above post, it seems I've found a way to do it
cat /sys/devices/platform/nokia-av/detect will give 4 when the button is not pressed, and 2 when it is pressed!
EDIT: Unfortunately, this seems to be useless, unless you feel like polling a file repeatedly for changes.
Last edited by cb22; 2010-04-03 at
05:32
.
Quote & Reply
|
The Following 8 Users Say Thank You to cb22 For This Useful Post:
aboaboit
,
andrei1089
,
Bec
,
Flandry
,
MrWeasel
,
OVK
,
qwerty12
,
Wikiwide
cb22
View Public Profile
Send a private message to cb22
Find all posts by cb22