Re: [RFC] HID: input: do not increment usages when a duplicate is found

2017-10-22 Thread Peter Hutterer
A bit late, but this has bitten us again recently. below are two typos/nitpicks comments On Mon, Jun 19, 2017 at 11:55:13AM +0200, Benjamin Tissoires wrote: > This is something that bothered us from a long time. When hid-input 'for a long time' > doesn't know how to map a usage, it uses *_MISC.

[RFC] HID: input: do not increment usages when a duplicate is found

2017-06-19 Thread Benjamin Tissoires
This is something that bothered us from a long time. When hid-input doesn't know how to map a usage, it uses *_MISC. But there is something else which increments the usage if the evdev code is already used. This leads to few issues: - some devices may have their ABS_X mapped to ABS_Y if they expor