![]() |
usage of headset button
Hi,
Would it be possible to use the button of the headset for several applications, and if yes, how please? For example like this: When button is pressed: - if there is an incoming call, accept it - else if music is playing (with QuasarMXPro), skip to next song - else if Recorder application is open, start recording from microphone TIA for any hints, Peter |
Re: usage of headset button
So what if you have music playing AND you receive a call? ;)
(Sorry, I haven't got a clue about the actual solution. Just throwing in some food for thought.) |
Re: usage of headset button
Quote:
|
Re: usage of headset button
I just plugged in a headset and pressed its call button, while monitoring xev for output. It's picked up as the special XF86Phone button, much like the volume buttons (on phone and headset) are XF86AudioRaiseVolume and XF86AudioLowerVolume. Here's the result of a press & release:
Code:
KeyPress event, serial 30, synthetic NO, window 0x3a00001, |
Interesting. I know there different headsets out there; one with 1 button, one with 2 buttons, one with 3 buttons, and of course ones with no buttons. I can see doing a double-press to change music track and stuff. It would be neat if we could manually customize the action(s) ourself.
|
All times are GMT. The time now is 02:27. |
vBulletin® Version 3.8.8