summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Gerecke <killertofu@gmail.com>2012-10-25 10:53:02 +0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-10-25 11:41:31 +0400
commit88fd449e734a4264347e12b8ff74ccb33a9b9a35 (patch)
tree45f300a9533aabbeae7ad8fb86d931023ffa29bd
parentae495e844a77344fdaedbb2ad97d925d096e9f0d (diff)
downloadlinux-88fd449e734a4264347e12b8ff74ccb33a9b9a35.tar.xz
Input: wacom - add INPUT_PROP_DIRECT flag to Cintiq 24HD
Signed-off-by: Jason Gerecke <killertofu@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
-rw-r--r--drivers/input/tablet/wacom_wac.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/input/tablet/wacom_wac.c b/drivers/input/tablet/wacom_wac.c
index c3468c8dbd89..c30d4c937952 100644
--- a/drivers/input/tablet/wacom_wac.c
+++ b/drivers/input/tablet/wacom_wac.c
@@ -1449,6 +1449,9 @@ int wacom_setup_input_capabilities(struct input_dev *input_dev,
input_set_abs_params(input_dev, ABS_Z, -900, 899, 0, 0);
input_set_abs_params(input_dev, ABS_THROTTLE, 0, 71, 0, 0);
+
+ __set_bit(INPUT_PROP_DIRECT, input_dev->propbit);
+
wacom_setup_cintiq(wacom_wac);
break;