diff options
author | Jason Gerecke <[email protected]> | 2024-10-09 09:41:21 -0700 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2024-10-11 11:12:19 +0200 |
commit | 2934b12281abf4eb5f915086fd5699de5c497ccd (patch) | |
tree | e55d0c3f01d528cb0b3e22ea2ed3657a736972a1 /tools/perf/scripts/python | |
parent | c56f9ecb7fb6a3a90079c19eb4c8daf3bbf514b3 (diff) |
HID: wacom: Hardcode (non-inverted) AES pens as BTN_TOOL_PEN
Unlike EMR tools which encode type information in their tool ID, tools
for AES sensors are all "generic pens". It is inappropriate to make use
of the wacom_intuos_get_tool_type function when dealing with these kinds
of devices. Instead, we should only ever report BTN_TOOL_PEN or
BTN_TOOL_RUBBER, as depending on the state of the Eraser and Invert
bits.
Reported-by: Daniel Jutz <[email protected]>
Closes: https://lore.kernel.org/linux-input/[email protected]/
Bisected-by: Christian Heusel <[email protected]>
Fixes: 9c2913b962da ("HID: wacom: more appropriate tool type categorization")
Link: https://gitlab.freedesktop.org/libinput/libinput/-/issues/1041
Link: https://github.com/linuxwacom/input-wacom/issues/440
Signed-off-by: Jason Gerecke <[email protected]>
Cc: [email protected]
Acked-by: Benjamin Tissoires <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions