* [PATCH] Input: xpad - add GameSir G7 Pro support
@ 2026-10-23 12:13 Sergei Kuznetsov
2026-11-01 21:30 ` Dmitry Torokhov
0 siblings, 1 reply; 2+ messages in thread
From: Sergei Kuznetsov @ 2026-10-23 12:13 UTC (permalink / raw)
To: dmitry.torokhov; +Cc: linux-input, Sergei Kuznetsov
Add the GameSir G7 Pro (0x3537:0x109c) in Xbox mode, connected through
its 2.4G dongle. The controller uses the GIP protocol and was already
bound through the GameSir vendor match, but showed up as "Generic X-Box
pad" and its Share button was not reported.
Set MAP_SHARE_BUTTON so the Share button is reported as KEY_RECORD.
Signed-off-by: Sergei Kuznetsov <kernel@phnx47.net>
---
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 d2eb48d98fea..53fd3b562f41 100644
--- a/drivers/input/joystick/xpad.c
+++ b/drivers/input/joystick/xpad.c
@@ -409,6 +409,7 @@ static const struct xpad_device {
{ 0x3537, 0x100f, "GameSir Nova 2 Lite", 0, XTYPE_XBOX360 },
{ 0x3537, 0x1010, "GameSir G7 SE", 0, XTYPE_XBOXONE },
{ 0x3537, 0x1040, "GameSir Nova Lite", 0, XTYPE_XBOX360 },
+ { 0x3537, 0x109c, "GameSir G7 Pro", MAP_SHARE_BUTTON, XTYPE_XBOXONE },
{ 0x3651, 0x1000, "CRKD SG", 0, XTYPE_XBOX360 },
{ 0x366c, 0x0005, "ByoWave Proteus Controller", MAP_SHARE_BUTTON, XTYPE_XBOXONE, FLAG_DELAY_INIT },
{ 0x3767, 0x0101, "Fanatec Speedster 3 Forceshock Wheel", 0, XTYPE_XBOX },
base-commit: 2e6f2e5799f328ca0879dad14d7f3709c7f7496b
--
2.56.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] Input: xpad - add GameSir G7 Pro support
2026-10-23 12:13 [PATCH] Input: xpad - add GameSir G7 Pro support Sergei Kuznetsov
@ 2026-11-01 21:30 ` Dmitry Torokhov
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2026-11-01 21:30 UTC (permalink / raw)
To: Sergei Kuznetsov; +Cc: linux-input
On Fri, Oct 23, 2026 at 07:13:14PM +0700, Sergei Kuznetsov wrote:
> Add the GameSir G7 Pro (0x3537:0x109c) in Xbox mode, connected through
> its 2.4G dongle. The controller uses the GIP protocol and was already
> bound through the GameSir vendor match, but showed up as "Generic X-Box
> pad" and its Share button was not reported.
>
> Set MAP_SHARE_BUTTON so the Share button is reported as KEY_RECORD.
>
> Signed-off-by: Sergei Kuznetsov <kernel@phnx47.net>
Applied, thank you.
--
Dmitry
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-01 21:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-23 12:13 [PATCH] Input: xpad - add GameSir G7 Pro support Sergei Kuznetsov
2026-11-01 21:30 ` Dmitry Torokhov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox