aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-wacom.c
diff options
context:
space:
mode:
authorJason Gerecke <killertofu@gmail.com>2011-09-08 12:38:14 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-09-08 12:42:28 -0400
commit3512069eefd3c3424b12f21a68fd473c3fd57220 (patch)
tree4198d5839ca7007abe5f13a2c07d6cdcc41b68cc /drivers/hid/hid-wacom.c
parent8c6756603976e9d21bba9913cd80c38ec529a1fb (diff)
Input: wacom - add POINTER and DIRECT device properties
Adds INPUT_PROP_POINTER or INPUT_PROP_DIRECT as necessary to the hardware supported by the Wacom driver. The DIRECT property is assigned to devices with an embedded screen (i.e. touchscreens and display tablets). The POINTER property is assigned to those without embedded screens. Signed-off-by: Jason Gerecke <killertofu@gmail.com> Reviewed-by: Ping Cheng <pingc@wacom.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/hid/hid-wacom.c')
-rw-r--r--drivers/hid/hid-wacom.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/hid-wacom.c b/drivers/hid/hid-wacom.c
index 06888323828c..5b9267dd3d66 100644
--- a/drivers/hid/hid-wacom.c
+++ b/drivers/hid/hid-wacom.c
@@ -383,6 +383,8 @@ move_on:
383 hidinput = list_entry(hdev->inputs.next, struct hid_input, list); 383 hidinput = list_entry(hdev->inputs.next, struct hid_input, list);
384 input = hidinput->input; 384 input = hidinput->input;
385 385
386 __set_bit(INPUT_PROP_POINTER, input->propbit);
387
386 /* Basics */ 388 /* Basics */
387 input->evbit[0] |= BIT(EV_KEY) | BIT(EV_ABS) | BIT(EV_REL); 389 input->evbit[0] |= BIT(EV_KEY) | BIT(EV_ABS) | BIT(EV_REL);
388 390