summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-multitouch.c
diff options
context:
space:
mode:
authorJason Gerecke <jason.gerecke@wacom.com>2019-05-07 21:53:22 +0300
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>2019-05-17 19:21:56 +0300
commit69dbdfffef20c715df9f381b2cee4e9e0a4efd93 (patch)
tree8fef17c9b4f17ce8b461ae9d4dcbe783901099ae /drivers/hid/hid-multitouch.c
parent6441fc781c344df61402be1fde582c4491fa35fa (diff)
downloadlinux-69dbdfffef20c715df9f381b2cee4e9e0a4efd93.tar.xz
HID: wacom: Sync INTUOSP2_BT touch state after each frame if necessary
The Bluetooth interface of the 2nd-gen Intuos Pro batches together four independent "frames" of finger data into a single report. Each frame is essentially equivalent to a single USB report, with the up-to-10 fingers worth of information being spread across two frames. At the moment the driver only calls `input_sync` after processing all four frames have been processed, which can result in the driver sending multiple updates for a single slot within the same SYN_REPORT. This can confuse userspace, so modify the driver to sync more often if necessary (i.e., after reporting the state of all fingers). Fixes: 4922cd26f03c ("HID: wacom: Support 2nd-gen Intuos Pro's Bluetooth classic interface") Cc: <stable@vger.kernel.org> # 4.11+ Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Diffstat (limited to 'drivers/hid/hid-multitouch.c')
0 files changed, 0 insertions, 0 deletions