diff options
author | Jiri Kosina <jkosina@suse.cz> | 2017-11-22 11:19:51 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-22 09:23:27 +0100 |
commit | c5b1c194e1fe3eb097ac391919b9a40a8e4c3ebc (patch) | |
tree | 9604f8fac8a8df849555678a1c7372f0aa8241d0 /kernel/sched/core.c | |
parent | ea1bdd6d034ca469012905d8d20d897cc4466938 (diff) |
HID: elo: clear BTN_LEFT mapping
[ Upstream commit 9abd04af951e5734c9d5cfee9b49790844b734cf ]
ELO devices have one Button usage in GenDesk field, which makes hid-input map
it to BTN_LEFT; that confuses userspace, which then considers the device to be
a mouse/touchpad instead of touchscreen.
Fix that by unmapping BTN_LEFT and keeping only BTN_TOUCH in place.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/sched/core.c')
0 files changed, 0 insertions, 0 deletions