projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5052589
)
Input: wacom - set stylus_in_proximity when pen is in range
author
Ping Cheng
<pinglinux@gmail.com>
Thu, 29 May 2014 07:08:20 +0000
(
00:08
-0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Thu, 29 May 2014 07:09:16 +0000
(
00:09
-0700)
Signed-off-by: Ping Cheng <pingc@wacom.com>
Reviewed-by: Jason Gerecke <killertofu@gmail.com>
Tested-by: Jason Gerecke <killertofu@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/tablet/wacom_wac.c
patch
|
blob
|
history
diff --git
a/drivers/input/tablet/wacom_wac.c
b/drivers/input/tablet/wacom_wac.c
index 24c0733cf7e5e52f759d4919c618d1a018796c2a..c98e51c5591fa40ff2c5ea7bc3add0aaa0f4203b 100644
(file)
--- a/
drivers/input/tablet/wacom_wac.c
+++ b/
drivers/input/tablet/wacom_wac.c
@@
-484,6
+484,8
@@
static int wacom_intuos_inout(struct wacom_wac *wacom)
input_report_key(input, BTN_TOUCH, 0);
input_report_abs(input, ABS_PRESSURE, 0);
input_report_abs(input, ABS_DISTANCE, wacom->features.distance_max);
+ if (features->quirks & WACOM_QUIRK_MULTI_INPUT)
+ wacom->shared->stylus_in_proximity = true;
}
/* Exit report */