* [PATCH] Input: xpad - add GameSir Nova Lite support
@ 2026-10-11 15:34 Francesco Orlando
2026-10-11 15:44 ` sashiko-bot
0 siblings, 1 reply; 2+ messages in thread
From: Francesco Orlando @ 2026-10-11 15:34 UTC (permalink / raw)
To: dmitry.torokhov; +Cc: linux-input, Francesco Orlando
Add vendor and product ID for GameSir Nova Lite (0x3537:0x1040)
in XInput mode to enable force feedback rumble support.
Signed-off-by: Francesco Orlando <francesco.orlando99@libero.it>
---
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 6406ceab9..00a26693d 100644
--- a/drivers/input/joystick/xpad.c
+++ b/drivers/input/joystick/xpad.c
@@ -403,6 +403,7 @@ static const struct xpad_device {
{ 0x3285, 0x0663, "Nacon Evol-X", 0, XTYPE_XBOXONE },
{ 0x3507, 0x000b, "ZENAIM LEVERLESS", 0, XTYPE_XBOX360 },
{ 0x3537, 0x1004, "GameSir T4 Kaleid", 0, XTYPE_XBOX360 },
+ { 0x3537, 0x1040, "GameSir Nova Lite", 0, XTYPE_XBOX360 },
{ 0x3537, 0x100f, "GameSir Nova 2 Lite", 0, XTYPE_XBOX360 },
{ 0x3537, 0x1010, "GameSir G7 SE", 0, XTYPE_XBOXONE },
{ 0x3651, 0x1000, "CRKD SG", 0, XTYPE_XBOX360 },
--
2.56.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] Input: xpad - add GameSir Nova Lite support
2026-10-11 15:34 [PATCH] Input: xpad - add GameSir Nova Lite support Francesco Orlando
@ 2026-10-11 15:44 ` sashiko-bot
0 siblings, 0 replies; 2+ messages in thread
From: sashiko-bot @ 2026-10-11 15:44 UTC (permalink / raw)
To: Francesco Orlando; +Cc: linux-input, dmitry.torokhov
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] xpad: xpad_device array is not sorted by product ID
--
commit 375f6defb6771387f96405b8a84408224531a65c
Author: Francesco Orlando <francesco.orlando99@libero.it>
Input: xpad - add GameSir Nova Lite support
This commit adds the vendor and product ID (0x3537:0x1040) for the GameSir
Nova Lite controller in XInput mode. This addition enables force feedback
rumble support for the device.
> diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c
> index 6406ceab988ad..00a26693ded61 100644
> --- a/drivers/input/joystick/xpad.c
> +++ b/drivers/input/joystick/xpad.c
> @@ -403,6 +403,7 @@ static const struct xpad_device {
> { 0x3285, 0x0663, "Nacon Evol-X", 0, XTYPE_XBOXONE },
> { 0x3507, 0x000b, "ZENAIM LEVERLESS", 0, XTYPE_XBOX360 },
> { 0x3537, 0x1004, "GameSir T4 Kaleid", 0, XTYPE_XBOX360 },
> + { 0x3537, 0x1040, "GameSir Nova Lite", 0, XTYPE_XBOX360 },
> { 0x3537, 0x100f, "GameSir Nova 2 Lite", 0, XTYPE_XBOX360 },
> { 0x3537, 0x1010, "GameSir G7 SE", 0, XTYPE_XBOXONE },
[Severity: Low]
This isn't a bug, but could this entry be placed further down to maintain the
requested numerical sorting order?
The comment preceding the xpad_device array explicitly states:
/* Please keep this list sorted by vendor and product ID. */
The new entry for the GameSir Nova Lite with product ID 0x1040 is inserted
between 0x1004 and 0x100f. Since 0x1040 is numerically greater than 0x100f
and 0x1010, it should probably be placed after the entry for 0x1010 to
maintain the ascending numerical sort order for vendor 0x3537.
> { 0x3651, 0x1000, "CRKD SG", 0, XTYPE_XBOX360 },
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261011153422.66844-1-francesco.orlando99@libero.it?part=1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-10-11 15:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-11 15:34 [PATCH] Input: xpad - add GameSir Nova Lite support Francesco Orlando
2026-10-11 15:44 ` sashiko-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox