]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit8947b0cfdcc111722b2293f26debdab8697f4c68
treef31ec4a547bdfd8d0a489346d1fc604703d7073e
parent008464a9360e31b14677457dcd976fbf9dd58e2e
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