<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/input/joystick/xpad.c, branch linux-6.3.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.3.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.3.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2023-06-14T09:16:53Z</updated>
<entry>
<title>Input: xpad - delete a Razer DeathAdder mouse VID/PID entry</title>
<updated>2023-06-14T09:16:53Z</updated>
<author>
<name>Ismael Ferreras Morezuelas</name>
</author>
<published>2023-05-23T21:45:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5ff3e47659c057270455b6c5ed7cea59f07ae71e'/>
<id>urn:sha1:5ff3e47659c057270455b6c5ed7cea59f07ae71e</id>
<content type='text'>
commit feee70f4568650cf44c573488798ffc0a2faeea3 upstream.

While doing my research to improve the xpad device names I noticed
that the 1532:0037 VID/PID seems to be used by the DeathAdder 2013,
so that Razer Sabertooth instance looked wrong and very suspect to
me. I didn't see any mention in the official drivers, either.

After doing more research, it turns out that the xpad list
is used by many other projects (like Steam) as-is [1], this
issue was reported [2] and Valve/Sam Lantinga fixed it [3]:

[1]: https://github.com/libsdl-org/SDL/blob/dcc5eef0e2395854b254ea2873a4899edab347c6/src/joystick/controller_type.h#L251
[2]: https://steamcommunity.com/app/353380/discussions/0/1743392486228754770/
[3]: https://hg.libsdl.org/SDL/rev/29809f6f0271

(With multiple Internet users reporting similar issues, not linked here)

After not being able to find the correct VID/PID combination anywhere
on the Internet and not receiving any reply from Razer support I did
some additional detective work, it seems like it presents itself as
"Razer Sabertooth Gaming Controller (XBOX360)", code 1689:FE00.

Leaving us with this:
 * Razer Sabertooth (1689:fe00)
 * Razer Sabertooth Elite (24c6:5d04)
 * Razer DeathAdder 2013 (1532:0037) [note: not a gamepad]

So, to sum things up; remove this conflicting/duplicate entry:

{ 0x1532, 0x0037, "Razer Sabertooth", 0, XTYPE_XBOX360 },

As the real/correct one is already present there, even if
the Internet as a whole insists on presenting it as the
Razer Sabertooth Elite, which (by all accounts) is not:

{ 0x1689, 0xfe00, "Razer Sabertooth", 0, XTYPE_XBOX360 },

Actual change in SDL2 referencing this kernel issue:
https://github.com/libsdl-org/SDL/commit/e5e54169754ca5d3e86339d968b20126d9da0a15

For more information of the device, take a look here:
https://github.com/xboxdrv/xboxdrv/pull/59

You can see a lsusb dump here: https://github.com/xboxdrv/xboxdrv/files/76581/Qa6dBcrv.txt

Fixes: f554f619b70 ("Input: xpad - sync device IDs with xboxdrv")
Signed-off-by: Ismael Ferreras Morezuelas &lt;swyterzone@gmail.com&gt;
Reviewed-by: Cameron Gutman &lt;aicommander@gmail.com&gt;
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/5c12dbdb-5774-fc68-5c58-ca596383663e@gmail.com
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Input: xpad - add constants for GIP interface numbers</title>
<updated>2023-05-24T16:30:11Z</updated>
<author>
<name>Vicki Pfau</name>
</author>
<published>2023-04-14T06:57:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=db96d284030f3714e6c46722c64a38ddc0e0a905'/>
<id>urn:sha1:db96d284030f3714e6c46722c64a38ddc0e0a905</id>
<content type='text'>
[ Upstream commit f9b2e603c6216824e34dc9a67205d98ccc9a41ca ]

Wired GIP devices present multiple interfaces with the same USB identification
other than the interface number. This adds constants for differentiating two of
them and uses them where appropriate

Signed-off-by: Vicki Pfau &lt;vi@endrift.com&gt;
Link: https://lore.kernel.org/r/20230411031650.960322-2-vi@endrift.com
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>Input: xpad - fix incorrectly applied patch for MAP_PROFILE_BUTTON</title>
<updated>2023-03-20T04:35:19Z</updated>
<author>
<name>Matthias Benkmann</name>
</author>
<published>2023-03-20T04:30:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ffa6206ebf8d39e83d87ac226df68dbbe155819a'/>
<id>urn:sha1:ffa6206ebf8d39e83d87ac226df68dbbe155819a</id>
<content type='text'>
When commit commit fff1011a26d6 ("Input: xpad - add X-Box Adaptive Profile
button") was applied, one hunk ended up in the wrong function; move it to
where it belongs.

Fixes: fff1011a26d6 ("Input: xpad - add X-Box Adaptive Profile button")
Signed-off-by: Matthias Benkmann &lt;matthias.benkmann@gmail.com&gt;
Link: https://lore.kernel.org/r/20230318162106.0aef4ba5@ninja
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: xpad - add 8BitDo Pro 2 Wired Controller support</title>
<updated>2023-01-27T22:57:37Z</updated>
<author>
<name>John Butler</name>
</author>
<published>2023-01-27T22:57:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=21617de3b4647175a4c6a2a58f40515a94a13df4'/>
<id>urn:sha1:21617de3b4647175a4c6a2a58f40515a94a13df4</id>
<content type='text'>
Add VID and PID to the xpad_device table to allow driver
to use the 8BitDo Pro 2 Wired Controller, which is
XTYPE_XBOX360 compatible by default.

Signed-off-by: John Butler &lt;radon86dev@gmail.com&gt;
Reviewed-by: Mattijs Korpershoek &lt;mkorpershoek@baylibre.com&gt;
Link: https://lore.kernel.org/r/20230124005206.80706-1-radon86dev@gmail.com
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: xpad - add X-Box Adaptive Profile button</title>
<updated>2022-09-29T01:31:39Z</updated>
<author>
<name>Nate Yocom</name>
</author>
<published>2022-09-29T01:23:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fff1011a26d6cbf26b18c8ee4c61d99943174f8c'/>
<id>urn:sha1:fff1011a26d6cbf26b18c8ee4c61d99943174f8c</id>
<content type='text'>
Adds a new quirk for controllers that have a Profile button which has 4
states, reflected as an ABS_PROFILE axis with 4 values.

Signed-off-by: Nate Yocom &lt;nate@yocom.org&gt;
Tested-by: Bastien Nocera &lt;hadess@hadess.net&gt;
Link: https://lore.kernel.org/r/20220908173930.28940-6-nate@yocom.org
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: xpad - add X-Box Adaptive XBox button</title>
<updated>2022-09-29T01:31:36Z</updated>
<author>
<name>Nate Yocom</name>
</author>
<published>2022-09-29T01:18:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f45aaae6204d1c7b0200ce043102ec84d805ac34'/>
<id>urn:sha1:f45aaae6204d1c7b0200ce043102ec84d805ac34</id>
<content type='text'>
Adaptive controller sets 0x02 bit for this button, all others set 0x01
so presence of either is used for BTN_MODE.

Signed-off-by: Nate Yocom &lt;nate@yocom.org&gt;
Tested-by: Bastien Nocera &lt;hadess@hadess.net&gt;
Reviewed-by: Mattijs Korpershoek &lt;mkorpershoek@baylibre.com
Link: https://lore.kernel.org/r/20220908173930.28940-3-nate@yocom.org
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: xpad - add X-Box Adaptive support</title>
<updated>2022-09-29T01:31:34Z</updated>
<author>
<name>Nate Yocom</name>
</author>
<published>2022-09-29T01:10:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d218fe04335183518009f29f3270ec4dde1b66a2'/>
<id>urn:sha1:d218fe04335183518009f29f3270ec4dde1b66a2</id>
<content type='text'>
Adds correct VID/PID for this XTYPE_XBOXONE compatible controller to
xpad_device[] table.

Signed-off-by: Nate Yocom &lt;nate@yocom.org&gt;
Tested-by: Bastien Nocera &lt;hadess@hadess.net&gt;
Reviewed-by: Mattijs Korpershoek &lt;mkorpershoek@baylibre.com&gt;
Link: https://lore.kernel.org/r/20220908173930.28940-2-nate@yocom.org
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: xpad - decipher xpadone packages with GIP defines</title>
<updated>2022-09-28T01:03:46Z</updated>
<author>
<name>Pavel Rojtberg</name>
</author>
<published>2022-09-28T01:02:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=677065244aa17265d7933782b1720cdf8727fcae'/>
<id>urn:sha1:677065244aa17265d7933782b1720cdf8727fcae</id>
<content type='text'>
only renames, no functional changes. Some of the packets we send
seem superfluous now. Unfortunately I dont have the hardware to verify
whether they are.

Signed-off-by: Pavel Rojtberg &lt;rojtberg@gmail.com&gt;
Link: https://lore.kernel.org/r/20220913213133.584979-3-rojtberg@gmail.com
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: xpad - refactor using BIT() macro</title>
<updated>2022-09-28T01:03:44Z</updated>
<author>
<name>Pavel Rojtberg</name>
</author>
<published>2022-09-28T01:01:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=90c9978959dacdecfc30d2e6ad5cefc4823399b8'/>
<id>urn:sha1:90c9978959dacdecfc30d2e6ad5cefc4823399b8</id>
<content type='text'>
reduces the amount of magic numbers and makes the code more readable

Signed-off-by: Pavel Rojtberg &lt;rojtberg@gmail.com&gt;
Link: https://lore.kernel.org/r/20220913213133.584979-2-rojtberg@gmail.com
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: xpad - add support for XBOX One Elite paddles</title>
<updated>2022-09-06T18:45:27Z</updated>
<author>
<name>Christopher Crockett</name>
</author>
<published>2022-08-18T15:44:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e23c69e3324892f7420686b3aaa0403df6cf152c'/>
<id>urn:sha1:e23c69e3324892f7420686b3aaa0403df6cf152c</id>
<content type='text'>
An effort has been made to support every official model and firmware
version I could track down info on. The following controllers _should_
have working paddles with this PR:
- Xbox Elite (**untested**)
- Xbox Elite Series 2 on early firmwares (**untested**)
- Xbox Elite Series 2 on v4 firmwares (Tested v4.8.1908.0)
- Xbox Elite Series 2 on v5 pre-BLE firmwares (**untested**)
- Xbox Elite Series 2 on v5 post-BLE firmwares (Tested v5.13.3143.0)

This patch also introduces correct handling for the Elite 1 controller
and properly suppresses paddle inputs when using a custom profile slot.

Starting with firmware v5.11, certain inputs for the Elite 2 were moved
to an extra packet that is not enabled by default.

We must first manually enable this extra packet in order to correctly
process paddle input data with these later firmwares.

Signed-off-by: Christopher Crockett &lt;chaorace@gmail.com&gt;
Signed-off-by: Pavel Rojtberg &lt;rojtberg@gmail.com&gt;
Tested-by: Bastien Nocera &lt;hadess@hadess.net&gt;
Link: https://lore.kernel.org/r/20220818154411.510308-5-rojtberg@gmail.com
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
</feed>
