Re: [SailfishDevel] How to monitor inputs from a earphone remote control

2014-02-28 Thread Franck Routier (perso)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Le 27/02/2014 17:39, Jonni Rainisto a écrit :
 Currently you cannot as there is no support for earphone buttons
 done yet.

Thanks for your quick answer. So I understand there is no support in
the sdk. But is there also no low level support ? With X, I would use
xev to monitor events. Is there a similar tool for Wayland ?

Franck
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTEEWMAAoJEGEvoAir78RorV4H/j2X1BDOsOvtP1t6rxjtu7kE
arl170Lj4iDaAhnq3T0ZzIj1UUfD5hwh5iJVR/qivY2Qx9WzqR/1a63TcKNrtR9W
elASs5chm/X+Y8A7WsRDeXa9YtUpLn5BoiIXGPzCZCC60bg7PeEpEqOv5qQvDxd3
2dr6RtwYX8hWOL3qLZlXjSCoLD9Si5++NAsYxLeI/t7rolW1gAGfGhWd0znewSNb
yysmEbSkqP7veSQhQwsCTN4mFjBLQrk1dTb/4GEGNTiWw0x1lkx7/pYgys9bRxe8
Z0iG8GVw7ZKVcxXiuKKkpzodeI9OQRH/Z6FoiQR95+oH3khqkIbaDAlHuSAeimc=
=Hqt6
-END PGP SIGNATURE-
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] How to monitor inputs from a earphone remote control

2014-02-28 Thread Jonni Rainisto
Hi,

Afaik there is no low level support (correct me if I'm wrong). Someone would 
need to implement a kernel module, that exposes /dev/input/event[x] for those 
buttons. But last time when I checked there was no such module in firmware. But 
kernel is of course open source, so nobody is stopping you or the community to 
do it. Or make a feature request in together.jolla.com and hope that it will be 
picked up in some future sw update.



From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] 
on behalf of Franck Routier (perso) [a...@mecadu.org]
Sent: Friday, February 28, 2014 10:15 AM
To: devel@lists.sailfishos.org
Subject: Re: [SailfishDevel] How to monitor inputs from a earphone remote 
control

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Le 27/02/2014 17:39, Jonni Rainisto a écrit :
 Currently you cannot as there is no support for earphone buttons
 done yet.

Thanks for your quick answer. So I understand there is no support in
the sdk. But is there also no low level support ? With X, I would use
xev to monitor events. Is there a similar tool for Wayland ?

Franck
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTEEWMAAoJEGEvoAir78RorV4H/j2X1BDOsOvtP1t6rxjtu7kE
arl170Lj4iDaAhnq3T0ZzIj1UUfD5hwh5iJVR/qivY2Qx9WzqR/1a63TcKNrtR9W
elASs5chm/X+Y8A7WsRDeXa9YtUpLn5BoiIXGPzCZCC60bg7PeEpEqOv5qQvDxd3
2dr6RtwYX8hWOL3qLZlXjSCoLD9Si5++NAsYxLeI/t7rolW1gAGfGhWd0znewSNb
yysmEbSkqP7veSQhQwsCTN4mFjBLQrk1dTb/4GEGNTiWw0x1lkx7/pYgys9bRxe8
Z0iG8GVw7ZKVcxXiuKKkpzodeI9OQRH/Z6FoiQR95+oH3khqkIbaDAlHuSAeimc=
=Hqt6
-END PGP SIGNATURE-
___
SailfishOS.org Devel mailing list
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] How to monitor inputs from a earphone remote control

2014-02-28 Thread Silviu Vulcan
Such a request already exists:

https://together.jolla.com/question/2771/please-add-support-for-wired-headset-buttons/

On Fri, Feb 28, 2014 at 11:13 AM, Jonni Rainisto
jonni.raini...@jolla.com wrote:
 Hi,

 Afaik there is no low level support (correct me if I'm wrong). Someone would 
 need to implement a kernel module, that exposes /dev/input/event[x] for those 
 buttons. But last time when I checked there was no such module in firmware. 
 But kernel is of course open source, so nobody is stopping you or the 
 community to do it. Or make a feature request in together.jolla.com and hope 
 that it will be picked up in some future sw update.


 
 From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] 
 on behalf of Franck Routier (perso) [a...@mecadu.org]
 Sent: Friday, February 28, 2014 10:15 AM
 To: devel@lists.sailfishos.org
 Subject: Re: [SailfishDevel] How to monitor inputs from a earphone remote 
 control

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


 Le 27/02/2014 17:39, Jonni Rainisto a écrit :
 Currently you cannot as there is no support for earphone buttons
 done yet.

 Thanks for your quick answer. So I understand there is no support in
 the sdk. But is there also no low level support ? With X, I would use
 xev to monitor events. Is there a similar tool for Wayland ?

 Franck
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1
 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

 iQEcBAEBAgAGBQJTEEWMAAoJEGEvoAir78RorV4H/j2X1BDOsOvtP1t6rxjtu7kE
 arl170Lj4iDaAhnq3T0ZzIj1UUfD5hwh5iJVR/qivY2Qx9WzqR/1a63TcKNrtR9W
 elASs5chm/X+Y8A7WsRDeXa9YtUpLn5BoiIXGPzCZCC60bg7PeEpEqOv5qQvDxd3
 2dr6RtwYX8hWOL3qLZlXjSCoLD9Si5++NAsYxLeI/t7rolW1gAGfGhWd0znewSNb
 yysmEbSkqP7veSQhQwsCTN4mFjBLQrk1dTb/4GEGNTiWw0x1lkx7/pYgys9bRxe8
 Z0iG8GVw7ZKVcxXiuKKkpzodeI9OQRH/Z6FoiQR95+oH3khqkIbaDAlHuSAeimc=
 =Hqt6
 -END PGP SIGNATURE-
 ___
 SailfishOS.org Devel mailing list
 ___
 SailfishOS.org Devel mailing list



-- 
Silviu VULCAN
www.silviuvulcan.ro

Animals are such agreeable friends, they ask no questions, they pass
no criticism.
___
SailfishOS.org Devel mailing list


[SailfishDevel] How to monitor inputs from a earphone remote control

2014-02-27 Thread Franck Routier (perso)
Hi,

I have earphones plugged in, with a three buttons remote control.
How can I monitor how the remote control translate on the linux (wayland
??) level ?
How can I get these commands in my QML application ?

Thanks,
Franck
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] How to monitor inputs from a earphone remote control

2014-02-27 Thread Jonni Rainisto
Currently you cannot as there is no support for earphone buttons done yet.

From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] 
on behalf of Franck Routier (perso) [a...@mecadu.org]
Sent: Thursday, February 27, 2014 3:58 PM
To: devel@lists.sailfishos.org
Subject: [SailfishDevel] How to monitor inputs from a earphone remote control

Hi,

I have earphones plugged in, with a three buttons remote control.
How can I monitor how the remote control translate on the linux (wayland
??) level ?
How can I get these commands in my QML application ?

Thanks,
Franck
___
SailfishOS.org Devel mailing list
___
SailfishOS.org Devel mailing list