Handling of USB device buttons

2012-08-19 Thread Alex Dubov
Greetings. ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com

Consistent handling of USB device buttons

2012-08-19 Thread Alex Dubov
Hi, Sorry for my previous mis-posting, there appears to be some problem with gmane interface. There exist considerable number of hot-pluggable USB devices with helper buttons (cameras and headsets being the more prominent examples). The buttons in question are recognized by evdev as USB HID inter

Re: Consistent handling of USB device buttons

2012-08-21 Thread Alex Dubov
Peter Hutterer who-t.net> writes: > > > > 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? For example, if I press a button on a headset and say it maps to "XF86Volum

Re: Consistent handling of USB device buttons

2012-08-21 Thread Alex Dubov
> > use XI2 and deviceid in events, then you know that the volume up was hit on > this particular device. clients may not make use of this right now, but the > infrastructure is in place. Thanks a lot. This is exactly the piece of information I was looking for. > > > file this as bug and atta