From patchwork Tue May 31 08:14:45 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Magnus_H=C3=83=C2=B6rlin?= X-Patchwork-Id: 831642 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p4V8ErcA032132 for ; Tue, 31 May 2011 08:14:53 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758093Ab1EaIOv (ORCPT ); Tue, 31 May 2011 04:14:51 -0400 Received: from mail-ey0-f174.google.com ([209.85.215.174]:34474 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756076Ab1EaIOt (ORCPT ); Tue, 31 May 2011 04:14:49 -0400 Received: by eyx24 with SMTP id 24so1569150eyx.19 for ; Tue, 31 May 2011 01:14:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:subject:from:to:cc:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer; bh=RqDZOfR2NfkBSi13ab6B/xBX5uFURO+Nb4nMoIZfeSQ=; b=L6Zp7+W3Tg51ISA1OzrIQ1tzWdrQTwC1lgmUVehi+iS0ARFpWyUh/731P4rbfgdw+Y 4vXfbMwzzLCPDsxYUouNSHLFmqLPhrJJJBABKSZZVmgdm5RI3eCWDaKSTlKCLyr4ONhU 9N1ISScSDi2VmpDODelJevBPXMfOpqSIL5PGo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer; b=L2Bg87Lneu5h0DNNKZXXACZ7P6mDIgTyLNnYXLf3rWoWWy9LBpv4tiCJP0t2luHa0m SQ4CYRqHYijMdBHHQh+HHa6w2KjxPRrzICrhqrGbPsk9a+LEMb5TRGF1uK5ddBMJffFE uTjgQE26jHFFIX1ltirUpS27PqNDRSgY0KGc4= Received: by 10.14.122.205 with SMTP id t53mr2311409eeh.106.1306829688447; Tue, 31 May 2011 01:14:48 -0700 (PDT) Received: from ?IPv6:::1? (78.218.95.91.static.ter-s.siw.siwnet.net [91.95.218.78]) by mx.google.com with ESMTPS id b1sm3707416eeg.19.2011.05.31.01.14.46 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 May 2011 01:14:48 -0700 (PDT) Subject: Re: [PATCH] xpad: Add support for two more dance pads and one more guitar From: Magnus =?ISO-8859-1?Q?H=F6rlin?= To: linux-input@vger.kernel.org Cc: dmitry.torokhov@gmail.com, chf.fritz@googlemail.com, oneukum@suse.de In-Reply-To: <20110531075348.GA13855@core.coreip.homeip.net> References: <1306823799.8840.8.camel@ubuntu> <20110531075348.GA13855@core.coreip.homeip.net> Date: Tue, 31 May 2011 10:14:45 +0200 Message-ID: <1306829685.8840.13.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Tue, 31 May 2011 08:14:53 +0000 (UTC) Hi. Sorry for not having RTFM. Now I have. Thanks, /Magnus Signed-off-by: Magnus Hörlin --- linux-2.6/drivers/input/joystick/xpad.c.orig 2011-05-31 10:03:56.063804819 +0200 +++ linux-2.6/drivers/input/joystick/xpad.c 2011-05-31 10:04:02.875805046 +0200 @@ -154,10 +154,13 @@ static const struct xpad_device { { 0x0f30, 0x8888, "BigBen XBMiniPad Controller", 0, XTYPE_XBOX }, { 0x102c, 0xff0c, "Joytech Wireless Advanced Controller", 0, XTYPE_XBOX }, { 0x12ab, 0x8809, "Xbox DDR dancepad", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX }, + { 0x12ab, 0x0004, "Honey Bee Xbox360 dancepad", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360 }, + { 0x0e6f, 0x0105, "HSM3 Xbox360 dancepad", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360 }, { 0x1430, 0x4748, "RedOctane Guitar Hero X-plorer", 0, XTYPE_XBOX360 }, { 0x1430, 0x8888, "TX6500+ Dance Pad (first generation)", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX }, { 0x146b, 0x0601, "BigBen Interactive XBOX 360 Controller", 0, XTYPE_XBOX360 }, { 0x045e, 0x028e, "Microsoft X-Box 360 pad", 0, XTYPE_XBOX360 }, + { 0x1bad, 0x0002, "Harmonix Rock Band Guitar", 0, XTYPE_XBOX360 }, { 0x1bad, 0x0003, "Harmonix Rock Band Drumkit", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360 }, { 0x0f0d, 0x0016, "Hori Real Arcade Pro.EX", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 }, { 0x0f0d, 0x000d, "Hori Fighting Stick EX2", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 }, @@ -236,9 +239,10 @@ static struct usb_device_id xpad_table [ XPAD_XBOX360_VENDOR(0x046d), /* Logitech X-Box 360 style controllers */ XPAD_XBOX360_VENDOR(0x0738), /* Mad Catz X-Box 360 controllers */ XPAD_XBOX360_VENDOR(0x0e6f), /* 0x0e6f X-Box 360 controllers */ + XPAD_XBOX360_VENDOR(0x12ab), /* X-Box 360 dance pads */ XPAD_XBOX360_VENDOR(0x1430), /* RedOctane X-Box 360 controllers */ XPAD_XBOX360_VENDOR(0x146b), /* BigBen Interactive Controllers */ - XPAD_XBOX360_VENDOR(0x1bad), /* Rock Band Drums */ + XPAD_XBOX360_VENDOR(0x1bad), /* Harminix Rock Band Guitar and Drums */ XPAD_XBOX360_VENDOR(0x0f0d), /* Hori Controllers */ { } };