HID: betop: add support for SPEEDLINK TORID
PATCH v2 1/1 HID: betop: add support for SPEEDLINK TORID
The SPEEDLINK TORID wireless gamepad (11c0:9105) is a Betop based device. Its output report has the same 4 byte layout as the other devices handled by hid-betopff, with the motors in bytes 2 and 3.
Without the device ID the gamepad is bound to hid-generic and has no force feedback. Add it to betop_devices[].
---
v2:
- Fix From/Signed-off-by name mismatch
- Cc linux-input and LKML, v1 was sent to the HID maintainers only
drivers/hid/hid-betopff.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/hid/hid-betopff.c +4 -0
@@ -16,6 +16,9 @@* * 0x20bc:0x5500 "BTP2185 V2 BFM mode Joystick" * - tested with BTP2171s. +* +* 0x11c0:0x9105 "SPEEDLINK TORID" +* - tested with Speedlink TORID wireless gamepad. * Copyright (c) 2014 Huang Bo <[email protected]> */
@@ -137,6 +140,7 @@ static int betop_probe(struct hid_device *hdev, const struct hid_device_id *id)static const struct hid_device_id betop_devices[] = { {HID_USB_DEVICE (USB_VENDOR_ID_BETOP_2185BFM ,0x2208 ) }, {HID_USB_DEVICE (USB_VENDOR_ID_BETOP_2185PC ,0x5506 ) }, + {HID_USB_DEVICE (USB_VENDOR_ID_BETOP_2185PC ,0x9105 ) }, {HID_USB_DEVICE (USB_VENDOR_ID_BETOP_2185V2PC ,0x1850 ) }, {HID_USB_DEVICE (USB_VENDOR_ID_BETOP_2185V2BFM ,0x5500 ) }, { }
Signature · 1 line
2.56.1
Quoted 32 lines · Jozef Riha
The SPEEDLINK TORID wireless gamepad (11c0:9105) is a Betop based device. Its output report has the same 4 byte layout as the other devices handled by hid-betopff, with the motors in bytes 2 and 3.
Without the device ID the gamepad is bound to hid-generic and has no force feedback. Add it to betop_devices[].
Assisted-by Claude:claude-opus-5-5Signed-off-by Jozef Riha <[email protected]>---
v2:
- Fix From/Signed-off-by name mismatch
- Cc linux-input and LKML, v1 was sent to the HID maintainers onlydrivers/hid/hid-betopff.c | 4 ++++ 1 file changed, 4 insertions(+)drivers/hid/hid-betopff.c +3
-0@@ -16,6 +16,9 @@* * 0x20bc:0x5500 "BTP2185 V2 BFM mode Joystick" * - tested with BTP2171s. +* +* 0x11c0:0x9105 "SPEEDLINK TORID" +* - tested with Speedlink TORID wireless gamepad. * Copyright (c) 2014 Huang Bo <[email protected]> */
drivers/hid/hid-betopff.c static int betop_probe(struct hid_device *hdev, const struct hid_device_id *id) · line 146
Quoted 7 lines
drivers/hid/hid-betopff.c +1
-0@@ -137,6 +140,7 @@ static int betop_probe(struct hid_device *hdev, const struct hid_device_id *id)static const struct hid_device_id betop_devices[] = { {HID_USB_DEVICE (USB_VENDOR_ID_BETOP_2185BFM ,0x2208 ) }, {HID_USB_DEVICE (USB_VENDOR_ID_BETOP_2185PC ,0x5506 ) }, + {HID_USB_DEVICE (USB_VENDOR_ID_BETOP_2185PC ,0x9105 ) }, {HID_USB_DEVICE (USB_VENDOR_ID_BETOP_2185V2PC ,0x1850 ) }, {HID_USB_DEVICE (USB_VENDOR_ID_BETOP_2185V2BFM ,0x5500 ) }, { }
Applied, thanks.
Signature · 2 lines
Jiri Kosina SUSE Labs