From: Peter Hutterer Date: Tue, 1 Dec 2015 21:31:28 +0000 (-0800) Subject: Input: wacom_w8001 - set BTN_TOOL_DOUBLETAP if we have 2fg support X-Git-Tag: v4.6~17^2~77 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ec9acda7360de7ee70cc0db36f41c1fd819a3310;p=platform%2Fkernel%2Flinux-amlogic.git Input: wacom_w8001 - set BTN_TOOL_DOUBLETAP if we have 2fg support Signed-off-by: Peter Hutterer Acked-by: Benjamin Tissoires Reviewed-by: Ping Cheng Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/touchscreen/wacom_w8001.c b/drivers/input/touchscreen/wacom_w8001.c index d194d57..222006e 100644 --- a/drivers/input/touchscreen/wacom_w8001.c +++ b/drivers/input/touchscreen/wacom_w8001.c @@ -471,6 +471,7 @@ static int w8001_setup(struct w8001 *w8001) case 5: w8001->pktlen = W8001_PKTLEN_TOUCH2FG; + __set_bit(BTN_TOOL_DOUBLETAP, dev->keybit); input_mt_init_slots(dev, 2, 0); input_set_abs_params(dev, ABS_MT_POSITION_X, 0, touch.x, 0, 0);