Skip to content

Commit ec9acda

Browse files
whotdtor
authored andcommitted
Input: wacom_w8001 - set BTN_TOOL_DOUBLETAP if we have 2fg support
Signed-off-by: Peter Hutterer <[email protected]> Acked-by: Benjamin Tissoires <[email protected]> Reviewed-by: Ping Cheng <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 86c03f4 commit ec9acda

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/input/touchscreen/wacom_w8001.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,7 @@ static int w8001_setup(struct w8001 *w8001)
471471
case 5:
472472
w8001->pktlen = W8001_PKTLEN_TOUCH2FG;
473473

474+
__set_bit(BTN_TOOL_DOUBLETAP, dev->keybit);
474475
input_mt_init_slots(dev, 2, 0);
475476
input_set_abs_params(dev, ABS_MT_POSITION_X,
476477
0, touch.x, 0, 0);

0 commit comments

Comments
 (0)