From: Jiri Kosina Date: Tue, 13 Apr 2021 06:19:53 +0000 (+0200) Subject: Merge branch 'for-5.13/wacom' into for-next X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=2b84a0f6c2c20af0d1e7870399c1aad26357ba7e;p=users%2Fjedix%2Flinux-maple.git Merge branch 'for-5.13/wacom' into for-next --- 2b84a0f6c2c20af0d1e7870399c1aad26357ba7e diff --cc drivers/hid/wacom_wac.c index 2d70dc4bea654,5dfc5dfbbd196..81d7d12bcf342 --- a/drivers/hid/wacom_wac.c +++ b/drivers/hid/wacom_wac.c @@@ -3582,13 -3588,10 +3586,11 @@@ int wacom_setup_pen_input_capabilities( else __set_bit(INPUT_PROP_POINTER, input_dev->propbit); - if (features->type == HID_GENERIC) { - /* setup has already been done; apply otherwise-undetectible quirks */ - input_set_capability(input_dev, EV_KEY, BTN_STYLUS3); + if (features->type == HID_GENERIC) + /* setup has already been done */ return 0; - } + input_dev->evbit[0] |= BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); __set_bit(BTN_TOUCH, input_dev->keybit); __set_bit(ABS_MISC, input_dev->absbit);