Consistent handling of USB device buttons

Peter Hutterer peter.hutterer at who-t.net
Tue Aug 21 01:32:20 PDT 2012


On 21/08/12 18:19 , Xavier Bestel wrote:
> On Tue, 2012-08-21 at 13:16 +1000, Peter Hutterer wrote:
>>> 1. Buttons have session global effect and there's no easy, nor stable way to
>>> limit their effect to a particular device.
>>
>> I don't understand this bit. can you paraphrase?
>
> I guess he means if you have two webcams with a "mute" button, there's
> no way to associate the button with a particular webcam. To X11 it's
> just a global mute button.

using XI2, you get the deviceid with each event, so that's easy enough 
to work around. whatever listens to it at the moment (e.g. 
gnome-settings-daemon) may not do this, but X certainly makes it possible.

Cheers,
   Peter




More information about the xorg mailing list