From patchwork Mon Nov 30 03:38:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Hutterer X-Patchwork-Id: 7720911 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C5C65BEEE5 for ; Mon, 30 Nov 2015 03:50:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EF36D204EA for ; Mon, 30 Nov 2015 03:50:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2A0B3204EC for ; Mon, 30 Nov 2015 03:50:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752150AbbK3Dui (ORCPT ); Sun, 29 Nov 2015 22:50:38 -0500 Received: from leo.clearchain.com ([199.73.29.74]:22020 "EHLO mail.clearchain.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752073AbbK3Duh (ORCPT ); Sun, 29 Nov 2015 22:50:37 -0500 X-Greylist: delayed 698 seconds by postgrey-1.27 at vger.kernel.org; Sun, 29 Nov 2015 22:50:36 EST Received: from jelly.bne.redhat.com. (localhost [127.0.0.1]) by mail.clearchain.com (8.15.1/8.15.1) with ESMTP id tAU3ctPw084985; Mon, 30 Nov 2015 14:09:10 +1030 (CST) (envelope-from peter.hutterer@who-t.net) X-Authentication-Warning: leo.clearchain.com: Host localhost [127.0.0.1] claimed to be jelly.bne.redhat.com. From: Peter Hutterer To: linux-input@vger.kernel.org Cc: Peter Hutterer , Dmitry Torokhov , Benjamin Tissoires , Ping Cheng , Jason Gerecke Subject: [PATCH 2/5] Input: wacom_w8001 - set BTN_TOOL_DOUBLETAP if we have 2fg support Date: Mon, 30 Nov 2015 13:38:13 +1000 Message-Id: <1448854696-32625-2-git-send-email-peter.hutterer@who-t.net> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1448854696-32625-1-git-send-email-peter.hutterer@who-t.net> References: <1448854696-32625-1-git-send-email-peter.hutterer@who-t.net> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (mail.clearchain.com [127.0.0.1]); Mon, 30 Nov 2015 14:09:13 +1030 (CST) Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Peter Hutterer Acked-by: Benjamin Tissoires --- drivers/input/touchscreen/wacom_w8001.c | 1 + 1 file changed, 1 insertion(+) 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);