diff options
author | Jason Gerecke <[email protected]> | 2019-04-24 15:12:58 -0700 |
---|---|---|
committer | Benjamin Tissoires <[email protected]> | 2019-05-17 16:24:03 +0200 |
commit | e92a7be7fe5b2510fa60965eaf25f9e3dc08b8cc (patch) | |
tree | 6b4bed976821d13a5f569e2605eaa068ac1e9687 /scripts/gdb/linux/config.py | |
parent | 2cc08800a6b9fcda7c7afbcf2da1a6e8808da725 (diff) |
HID: wacom: Don't report anything prior to the tool entering range
If the tool spends some time in prox before entering range, a series of
events (e.g. ABS_DISTANCE, MSC_SERIAL) can be sent before we or userspace
have any clue about the pen whose data is being reported. We need to hold
off on reporting anything until the pen has entered range. Since we still
want to report events that occur "in prox" after the pen has *left* range
we use 'wacom-tool[0]' as the indicator that the pen did at one point
enter range and provide us/userspace with tool type and serial number
information.
Fixes: a48324de6d4d ("HID: wacom: Bluetooth IRQ for Intuos Pro should handle prox/range")
Cc: <[email protected]> # 4.11+
Signed-off-by: Jason Gerecke <[email protected]>
Reviewed-by: Aaron Armstrong Skomra <[email protected]>
Signed-off-by: Benjamin Tissoires <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions