Skip to contentSkip to conversation

Input: xpad - add GameSir G7 Pro support

PATCH Applied Sergei Kuznetsov 2 participants 2 messages Oct 23 – Nov 1

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Input: xpad - add GameSir G7 Pro support

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.

---
 drivers/input/joystick/xpad.c | 1 +
 1 file changed, 1 insertion(+)
drivers/input/joystick/xpad.c +1 -0
index d2eb48d98fea..53fd3b562f41 100644
@@ -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

Signature · 1 line
2.56.0
maintainer Applied
#1 lore raw
Quoted 8 lines · 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.

Applied, thank you.

Signature · 1 line
Dmitry