linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pavel Rojtberg <rojtberg@gmail.com>
To: linux-input@vger.kernel.org, dmitry.torokhov@gmail.com,
	gregkh@linuxfoundation.org
Cc: Nilton Perim Neto <niltonperimneto@gmail.com>,
	Pavel Rojtberg <rojtberg@gmail.com>
Subject: [PATCH 10/10] Input: xpad - added unofficial Xbox 360 wireless receiver clone
Date: Mon,  6 Jan 2025 23:54:37 +0100	[thread overview]
Message-ID: <20250106225437.211312-11-rojtberg@gmail.com> (raw)
In-Reply-To: <20250106225437.211312-1-rojtberg@gmail.com>

From: Nilton Perim Neto <niltonperimneto@gmail.com>

I've added the DeviceID of a very popular Xbox 360 Wireless Receiver.

Although it mimics the Microsoft's VendorID, it is in fact a clone. Taking into account that the original Microsoft Receiver is not being manufactured anymore, this drive can solve dpad issues encontered by those who still use the original 360 Wireless controller but are using a receiver clone.

Signed-off-by: Nilton Perim Neto niltonperimneto@gmail.com
Signed-off-by: Pavel Rojtberg <rojtberg@gmail.com>
---
 drivers/input/joystick/xpad.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c
index 647c788ec5d1..ab4cf8201c58 100644
--- a/drivers/input/joystick/xpad.c
+++ b/drivers/input/joystick/xpad.c
@@ -151,6 +151,7 @@ static const struct xpad_device {
 	{ 0x045e, 0x028e, "Microsoft X-Box 360 pad", 0, XTYPE_XBOX360 },
 	{ 0x045e, 0x028f, "Microsoft X-Box 360 pad v2", 0, XTYPE_XBOX360 },
 	{ 0x045e, 0x0291, "Xbox 360 Wireless Receiver (XBOX)", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360W },
+	{ 0x045e, 0x02a9, "Xbox 360 Wireless Receiver", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360W }, 	/* unofficial */
 	{ 0x045e, 0x02d1, "Microsoft X-Box One pad", 0, XTYPE_XBOXONE },
 	{ 0x045e, 0x02dd, "Microsoft X-Box One pad (Firmware 2015)", 0, XTYPE_XBOXONE },
 	{ 0x045e, 0x02e3, "Microsoft X-Box One Elite pad", MAP_PADDLES, XTYPE_XBOXONE },
-- 
2.43.0


  parent reply	other threads:[~2025-01-06 22:55 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-06 22:54 [PATCH v2 00/10] Input: xpad - sync with github fork Pavel Rojtberg
2025-01-06 22:54 ` [PATCH 01/10] Input: xpad - improve name of 8BitDo controller 2dc8:3106 Pavel Rojtberg
2025-01-06 22:54 ` [PATCH 02/10] Input: xpad - add support for wooting two he (arm) Pavel Rojtberg
2025-01-06 22:54 ` [PATCH 03/10] Input: xpad - add support for SCUF Instinct Pavel Rojtberg
2025-01-06 22:54 ` [PATCH 04/10] Input: xpad - add multiple supported devices Pavel Rojtberg
2025-01-06 22:54 ` [PATCH 05/10] Input: xpad - add USB ID for Nacon Revolution5 Pro Pavel Rojtberg
2025-01-06 22:54 ` [PATCH 06/10] Input: xpad - added Turtle Beach Recon support Pavel Rojtberg
2025-01-06 22:54 ` [PATCH 07/10] Input: xpad - add support for Nacon Evol-X Xbox One Controller Pavel Rojtberg
2025-01-06 22:54 ` [PATCH 08/10] Input: xpad - add support for PDP Mirror's Edge controller Pavel Rojtberg
2025-01-06 22:54 ` [PATCH 09/10] Input: xpad - add support for Thrustmaster ESWAP X2 ELDEN RING Pavel Rojtberg
2025-01-06 22:54 ` Pavel Rojtberg [this message]
2025-01-07  6:41   ` [PATCH 10/10] Input: xpad - added unofficial Xbox 360 wireless receiver clone Greg KH
2025-01-07  7:31     ` made changes to the commit message of " Nilton Perim Neto

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=20250106225437.211312-11-rojtberg@gmail.com \
    --to=rojtberg@gmail.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-input@vger.kernel.org \
    --cc=niltonperimneto@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).