From: Sergei Kuznetsov <kernel@phnx47.net>
To: dmitry.torokhov@gmail.com
Cc: linux-input@vger.kernel.org, Sergei Kuznetsov <kernel@phnx47.net>
Subject: [PATCH] Input: xpad - add GameSir G7 Pro support
Date: Fri, 23 Oct 2026 19:13:14 +0700 [thread overview]
Message-ID: <20261023121314.8024-1-kernel@phnx47.net> (raw)
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
reply other threads:[~2026-10-23 12:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20261023121314.8024-1-kernel@phnx47.net \
--to=kernel@phnx47.net \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
/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