public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Kevin Mack <kevmack@accesscomm.ca>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] Add Razer Onza USB ID to xpad
Date: Sat, 23 Jun 2012 18:26:18 -0600	[thread overview]
Message-ID: <20120624002618.GA23646@darkstar.accesscomm.ca> (raw)

This adds the ID for the Razer Onza Tournament Edition.


--- linux-3.4.2/drivers/input/joystick/xpad.c.bak	2012-06-09 09:36:33.000000000 -0600
+++ linux-3.4.2/drivers/input/joystick/xpad.c	2012-06-23 18:07:18.000000000 -0600
@@ -165,6 +165,7 @@
 	{ 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 },
 	{ 0xffff, 0xffff, "Chinese-made Xbox Controller", 0, XTYPE_XBOX },
+	{ 0x1689, 0xfd00, "Razer Onza TE", 0, XTYPE_XBOX360 },
 	{ 0x0000, 0x0000, "Generic X-Box pad", 0, XTYPE_UNKNOWN }
 };
 
@@ -244,6 +245,7 @@
 	XPAD_XBOX360_VENDOR(0x146b),		/* BigBen Interactive Controllers */
 	XPAD_XBOX360_VENDOR(0x1bad),		/* Harminix Rock Band Guitar and Drums */
 	XPAD_XBOX360_VENDOR(0x0f0d),            /* Hori Controllers */
+	XPAD_XBOX360_VENDOR(0x1689),            /* Razer Controllers */
 	{ }
 };
 

                 reply	other threads:[~2012-06-24  0:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120624002618.GA23646@darkstar.accesscomm.ca \
    --to=kevmack@accesscomm.ca \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox