]> git.baikalelectronics.ru Git - kernel.git/commit
HID: wacom: Support "in range" for Intuos/Bamboo tablets where possible
authorJason Gerecke <killertofu@gmail.com>
Fri, 18 May 2018 14:17:18 +0000 (07:17 -0700)
committerJiri Kosina <jkosina@suse.cz>
Tue, 22 May 2018 12:35:14 +0000 (14:35 +0200)
commit4e2a99546ce8fd7ec4346182f586638dd4bccdb3
treef31ec4a547bdfd8d0a489346d1fc604703d7073e
parent6c7bf4ec5617072067cc7e34fe811d4b3539e919
HID: wacom: Support "in range" for Intuos/Bamboo tablets where possible

The 1st-generation Intuos tablets (CTL-X80) include an "in range" flag
like some professional tablets. To ensure the pen remains usable at as
large as distance as possible (and to preemptively disable touch when
it is nearby) we need to ensure that we handle these "in range" events.
Handling of tool type identification has been moved to occur only when
the pen is fully in prox rather than any time the "stylus_in_proximity"
flag changes (which is controlled by the further-out "in range" flag).

Link: https://sourceforge.net/p/linuxwacom/bugs/358/
Link: https://github.com/linuxwacom/xf86-input-wacom/issues/14
Link: https://github.com/linuxwacom/xf86-input-wacom/issues/17
Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Tested-by: Ping Cheng <ping.cheng@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_wac.c