aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/hid-multitouch.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
index 55551746d235..aceaf6c08878 100644
--- a/drivers/hid/hid-multitouch.c
+++ b/drivers/hid/hid-multitouch.c
@@ -418,6 +418,9 @@ static void mt_pen_input_configured(struct hid_device *hdev,
418 mt_free_input_name(hi); 418 mt_free_input_name(hi);
419 hi->input->name = name; 419 hi->input->name = name;
420 } 420 }
421
422 /* force BTN_STYLUS to allow tablet matching in udev */
423 __set_bit(BTN_STYLUS, hi->input->keybit);
421} 424}
422 425
423static int mt_touch_input_mapping(struct hid_device *hdev, struct hid_input *hi, 426static int mt_touch_input_mapping(struct hid_device *hdev, struct hid_input *hi,