Linux Input/HID development
 help / color / mirror / Atom feed
* [PATCH] Input: xpad - add GameSir G7 Pro support
@ 2026-10-23 12:13 Sergei Kuznetsov
  0 siblings, 0 replies; only message 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] only message in thread

only message in thread, other threads:[~2026-10-23 12:13 UTC | newest]

Thread overview: (only message) (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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox