From patchwork Tue Oct 23 22:45:20 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Gerecke, Jason" X-Patchwork-Id: 1635101 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id DDE223FD85 for ; Tue, 23 Oct 2012 22:45:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757462Ab2JWWpa (ORCPT ); Tue, 23 Oct 2012 18:45:30 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:62938 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754499Ab2JWWpa (ORCPT ); Tue, 23 Oct 2012 18:45:30 -0400 Received: by mail-pb0-f46.google.com with SMTP id rr4so771435pbb.19 for ; Tue, 23 Oct 2012 15:45:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=R7gSkvbkvZt5KVM57c4UMiru7tteTLuafEq3AW8H11w=; b=SjldFd4jWNM42wkmYYPLrHhRQ90b+WBRPd92pdPB0FiHJ+e+SYSCdsFRsf4PoYMiM3 sSXEdjN7sfeFpeAf6XuvBBkWahZ+mpLYo1dxhR7CTc1UwiAcgP8FAj5gXCy0Af8ktN5O dstX0ghBy6UXp3F3FE4ofNGLRaYnr8y/8+x6wdMgOWzT07cxnjxzvaTjjV+fMhxJN/80 GB6iRJZUs/dhOZ8yVAxD0FR0fvvk1lMULuBsMJuyhm/84WHYHKb11RIJqPfqTrwuIR90 LXyfKSZ+KBuA9GON8+sG7kdDnV4iBUgbHSg10B0Z/pu38VY5TolXy1XtFB/YyDLgHMi1 QCrA== Received: by 10.66.72.134 with SMTP id d6mr39166145pav.13.1351032329702; Tue, 23 Oct 2012 15:45:29 -0700 (PDT) Received: from wacom-arch.wacom.com ([67.51.163.2]) by mx.google.com with ESMTPS id ig5sm3677154pbc.40.2012.10.23.15.45.27 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 23 Oct 2012 15:45:28 -0700 (PDT) From: Jason Gerecke To: linux-input@vger.kernel.org, dmitry.torokhov@gmail.com Cc: Jason Gerecke Subject: [PATCH] Input: wacom - Add INPUT_PROP_DIRECT flag to Cintiq 24HD Date: Tue, 23 Oct 2012 15:45:20 -0700 Message-Id: <1351032320-4155-1-git-send-email-killertofu@gmail.com> X-Mailer: git-send-email 1.7.12.2 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Signed-off-by: Jason Gerecke --- drivers/input/tablet/wacom_wac.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/input/tablet/wacom_wac.c b/drivers/input/tablet/wacom_wac.c index c3468c8..c30d4c9 100644 --- a/drivers/input/tablet/wacom_wac.c +++ b/drivers/input/tablet/wacom_wac.c @@ -1449,6 +1449,9 @@ int wacom_setup_input_capabilities(struct input_dev *input_dev, input_set_abs_params(input_dev, ABS_Z, -900, 899, 0, 0); input_set_abs_params(input_dev, ABS_THROTTLE, 0, 71, 0, 0); + + __set_bit(INPUT_PROP_DIRECT, input_dev->propbit); + wacom_setup_cintiq(wacom_wac); break;