From patchwork Tue Mar 22 14:31:04 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Darren Salt X-Patchwork-Id: 652931 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p2MFF149019020 for ; Tue, 22 Mar 2011 15:15:02 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755293Ab1CVPPA (ORCPT ); Tue, 22 Mar 2011 11:15:00 -0400 Received: from anchor-post-1.mail.demon.net ([195.173.77.132]:57477 "EHLO anchor-post-1.mail.demon.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753239Ab1CVPO7 (ORCPT ); Tue, 22 Mar 2011 11:14:59 -0400 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 22 Mar 2011 15:15:02 +0000 (UTC) X-Greylist: delayed 2634 seconds by postgrey-1.27 at vger.kernel.org; Tue, 22 Mar 2011 11:14:59 EDT Received: from youmustbejoking.demon.co.uk ([80.176.152.238] helo=pentagram.youmustbejoking.demon.co.uk) by anchor-post-1.mail.demon.net with esmtp (Exim 4.69) id 1Q22bx-00073b-gJ; Tue, 22 Mar 2011 14:31:05 +0000 Received: from [192.168.0.5] (helo=flibble.youmustbejoking.demon.co.uk) by pentagram.youmustbejoking.demon.co.uk with esmtp (Exim 4.72) (envelope-from ) id 1Q22bw-0001j5-F7; Tue, 22 Mar 2011 14:31:04 +0000 Date: Tue, 22 Mar 2011 14:31:04 +0000 From: Darren Salt To: linux-input@vger.kernel.org Cc: dmitry.torokhov@gmail.com, linux-kernel@vger.kernel.org Subject: [PATCH 2.6.38] Mode button quirk for Saitek Cyborg R.A.T. 7 Message-ID: Mail-Followup-To: linux-input@vger.kernel.org, dmitry.torokhov@gmail.com, linux-kernel@vger.kernel.org, Darren Salt User-Agent: Messenger-Pro/2.66.6.3353 (Qt/4.6.3) (Linux-x86_64) MIME-Version: 1.0 X-SA-Exim-Connect-IP: 192.168.0.5 X-SA-Exim-Mail-From: linux@youmustbejoking.demon.co.uk X-SA-Exim-Scanned: No (on pentagram.youmustbejoking.demon.co.uk); SAEximRunCond expanded to false Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org diff -ur linux-2.6.38.orig/include/linux/hid.h linux-2.6.38/include/linux/hid.h --- linux-2.6.38.orig/include/linux/hid.h 2011-03-15 01:20:32.000000000 +0000 +++ linux-2.6.38/include/linux/hid.h 2011-03-22 12:58:12.688834637 +0000 @@ -312,6 +312,7 @@ #define HID_QUIRK_BADPAD 0x00000020 #define HID_QUIRK_MULTI_INPUT 0x00000040 #define HID_QUIRK_HIDINPUT_FORCE 0x00000080 +#define HID_QUIRK_RAT_BROKEN_BUTTON_RELEASE 0x00000100 #define HID_QUIRK_SKIP_OUTPUT_REPORTS 0x00010000 #define HID_QUIRK_FULLSPEED_INTERVAL 0x10000000 #define HID_QUIRK_NO_INIT_REPORTS 0x20000000