diff options
author | Benjamin Tissoires <[email protected]> | 2022-02-03 15:32:23 +0100 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2022-03-01 15:46:03 +0100 |
commit | 048cddfd440583a07530774fe20c7d26d7378155 (patch) | |
tree | a26f3204f7707792fa9f9b80250349fa5e4e5615 /lib/test_overflow.c | |
parent | bebcc522fbee4bf51a2571378154ef2a4bf14724 (diff) |
HID: input: enforce Invert usage to be processed before InRange
When a device exposes both Invert and InRange, Invert must be processed
before InRange. If we keep the order of the device and we process them
out of order, InRange will first set BTN_TOOL_PEN, and then Invert will
set BTN_TOOL_RUBBER. Userspace knows how to deal with that situation,
but fixing it in the kernel is now easier.
Signed-off-by: Benjamin Tissoires <[email protected]>
Reviewed-by: Ping Cheng <[email protected]>
Acked-by: Peter Hutterer <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions