]> git.baikalelectronics.ru Git - kernel.git/commit
HID: wacom: do not send pen events before touch is up/forced out
authorPing Cheng <pinglinux@gmail.com>
Fri, 20 Feb 2015 22:25:58 +0000 (14:25 -0800)
committerJiri Kosina <jkosina@suse.cz>
Mon, 2 Mar 2015 23:27:09 +0000 (00:27 +0100)
commitd0694a67206058bea3b2b5c1031970424a01641f
treee48f8ab2bdd88dc3c02dcc7385b3e2c33a19e0ea
parentaf5db1eeeb90a77c0c6dcdb9ea7699980b930420
HID: wacom: do not send pen events before touch is up/forced out

If pen comes in proximity while touch is down, we force touch up
before sending pen events. Otherwise, there can be unfinished
touch events compete with pen events. This idea has been fully
implemented for Tablet PCs. But other tablets that support both
pen and touch are not fully considered.

Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_wac.c