summaryrefslogtreecommitdiff
path: root/drivers/hid/wacom_wac.h
diff options
context:
space:
mode:
authorPing Cheng <pinglinux@gmail.com>2015-01-09 19:05:13 (GMT)
committerJiri Kosina <jkosina@suse.cz>2015-01-12 09:16:32 (GMT)
commitb3bd7ef397a6031f5398c76a9a0b0695a38f6587 (patch)
tree107de1438ea1f9ed8148c8cdce52419270e89863 /drivers/hid/wacom_wac.h
parent373a5356dfb75ea7140f8d37cf26eb6a62910617 (diff)
downloadlinux-b3bd7ef397a6031f5398c76a9a0b0695a38f6587.tar.xz
HID: wacom: peport In Range event according to the spec
Some Cintiq and Intuos tablets report In Range event. This event is sent before valid data is reported when tool enters proximity; or before out of proximity event is reported when tool exits. While entering proximity, In Range means a pen is detected. This information can be used for palm/touch rejection on both pen and touch enabled devices. While exiting, it means the tool has reached its maximum detectable distance. Signed-off-by: Ping Cheng <pingc@wacom.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/wacom_wac.h')
-rw-r--r--drivers/hid/wacom_wac.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/wacom_wac.h b/drivers/hid/wacom_wac.h
index 7afd929..72e78cc 100644
--- a/drivers/hid/wacom_wac.h
+++ b/drivers/hid/wacom_wac.h
@@ -189,6 +189,7 @@ struct wacom_wac {
int tool[2];
int id[2];
__u32 serial[2];
+ bool reporting_data;
struct wacom_features features;
struct wacom_shared *shared;
struct input_dev *input;