summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJason Gerecke <killertofu@gmail.com>2012-10-24 23:53:02 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-10-25 00:41:31 -0700
commit88fd449e734a4264347e12b8ff74ccb33a9b9a35 (patch)
tree45f300a9533aabbeae7ad8fb86d931023ffa29bd /drivers
parentae495e844a77344fdaedbb2ad97d925d096e9f0d (diff)
downloadlinux-88fd449e734a4264347e12b8ff74ccb33a9b9a35.tar.gz
linux-88fd449e734a4264347e12b8ff74ccb33a9b9a35.tar.bz2
linux-88fd449e734a4264347e12b8ff74ccb33a9b9a35.zip
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>
Diffstat (limited to 'drivers')
-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;