Thread
:
[ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
View Single Post
qwerty12
2010-05-17 , 17:46
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#
86
Originally Posted by
tym81
I have not found "bias" in "/usr/share/policy"
Hello,
You sure? I have it here and the only thing that differs is that I'm using LPR 1.2.
Anyway, just pushed Headset Control 0.2 to
Extras
-
devel
.
[Insert standard, usual Extras-devel warning]
By default - when pressing the button - it tells MAFW to pause/play the track.
If you set the GConf key /apps/headset-control/next-mode to true, a press will result in it skipping to the next track in whatever state the Media Player is currently in (Paused/Stopped/Playing etc.)
Implementing a "if button held" functionality would've been nice, but the only time a signal gets emitted is when the button is depressed.
A "delay between presses" functionality would've also been nice, but it seems the nokia-av module enforces a mandatory delay before you can press the button again. It's too long, IMO, for any sort of delay in the program for sending different commands.
Also, because the ability for a signal to be emitted when pressing the signal was intermittent, Headset Control will force the button to be enabled (if a Nokia headset is plugged in, of course) on startup and 5 seconds after a call is ended. (Code snippet here:
http://slexy.org/view/s21Wl6YqxI
)
Best regards.
Quote & Reply
|
The Following 5 Users Say Thank You to qwerty12 For This Useful Post:
Bec
,
manavs
,
MohammadAG
,
OVK
,
Wikiwide
qwerty12
View Public Profile
Find all posts by qwerty12