summaryrefslogtreecommitdiffstats
path: root/drivers/input/tablet
diff options
context:
space:
mode:
authorJason Gerecke <killertofu@gmail.com>2012-10-25 08:53:02 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-10-25 09:41:31 +0200
commit88fd449e734a4264347e12b8ff74ccb33a9b9a35 (patch)
tree45f300a9533aabbeae7ad8fb86d931023ffa29bd /drivers/input/tablet
parentInput: egalax_ts - get gpio from devicetree (diff)
downloadlinux-88fd449e734a4264347e12b8ff74ccb33a9b9a35.tar.xz
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/input/tablet')
-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;