Re: [PATCH v2] Input: evdev - add event-mask API

2014-06-17 Thread Peter Hutterer
On Mon, Jun 16, 2014 at 12:09:18PM +0200, David Herrmann wrote: Hardware manufacturers group keys in the weirdest way possible. This may cause a power-key to be grouped together with normal keyboard keys and thus be reported on the same kernel interface. However, user-space is often only

Re: [PATCH v2] Input: evdev - add event-mask API

2014-06-17 Thread David Herrmann
Hi On Wed, Jun 18, 2014 at 6:47 AM, Peter Hutterer peter.hutte...@who-t.net wrote: On Mon, Jun 16, 2014 at 12:09:18PM +0200, David Herrmann wrote: Hardware manufacturers group keys in the weirdest way possible. This may cause a power-key to be grouped together with normal keyboard keys and

[PATCH v2] Input: evdev - add event-mask API

2014-06-16 Thread David Herrmann
Hardware manufacturers group keys in the weirdest way possible. This may cause a power-key to be grouped together with normal keyboard keys and thus be reported on the same kernel interface. However, user-space is often only interested in specific sets of events. For instance, daemons dealing