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

2017-11-29 Thread Benjamin Tissoires
On Nov 23 2017 or thereabouts, Benjamin Tissoires wrote: > 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

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

2017-11-23 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