* [PATCH] HID: winwing: add support for URSA MINOR combat joysticks
@ 2026-04-04 17:26 René Onier
0 siblings, 0 replies; only message in thread
From: René Onier @ 2026-04-04 17:26 UTC (permalink / raw)
To: linux-input; +Cc: jikos, bentiss, ivan.gorinov, rene.onier
Add device IDs for the Winwing URSA MINOR Combat Joystick L (0xbc29)
and R (0xbc2a). These joysticks declare 128 buttons in their HID
report descriptor, causing the generic HID driver to reject buttons
above KEY_MAX (767) with "Invalid code" errors.
The URSA MINOR joysticks use buttons in the 33-64 range for grip
controls including the index trigger, so map_more_buttons is set
to 1 to enable the extended KEY_MACRO mapping.
Tested with both left and right URSA MINOR joysticks on kernel 6.19.
Signed-off-by: René Onier <rene.onier@gmail.com>
---
hid-winwing.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hid-winwing.c b/hid-winwing.c
index ab65dc1..f3e6ea0 100644
--- a/hid-winwing.c
+++ b/hid-winwing.c
@@ -250,6 +250,8 @@ static const struct hid_device_id winwing_devices[] = {
{ HID_USB_DEVICE(0x4098, 0xbd64), .driver_data = 1 }, /* TGRIP-15EX */
{ HID_USB_DEVICE(0x4098, 0xbe68), .driver_data = 0 }, /* TGRIP-16EX */
{ HID_USB_DEVICE(0x4098, 0xbe62), .driver_data = 0 }, /* TGRIP-18 */
+ { HID_USB_DEVICE(0x4098, 0xbc29), .driver_data = 1 }, /* URSA MINOR L */
+ { HID_USB_DEVICE(0x4098, 0xbc2a), .driver_data = 1 }, /* URSA MINOR R */
{}
};
--
2.43.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-04-04 17:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-04 17:26 [PATCH] HID: winwing: add support for URSA MINOR combat joysticks René Onier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox