aboutsummaryrefslogtreecommitdiff
path: root/src/hid-tmff2.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-09-29 17:14:10 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2025-11-23 14:37:44 +0200
commitf1b2b85a4920d8c78b5b2b51b8cf5ddb1e8e03fd (patch)
treece23c4bf065422bb3a239f79519c1671b720420f /src/hid-tmff2.c
parent2a7b3568792d50e94479298b5d0e5602d4e230f8 (diff)
downloadhid-tmff2-f1b2b85a4920d8c78b5b2b51b8cf5ddb1e8e03fd.tar.gz
hid-tmff2-f1b2b85a4920d8c78b5b2b51b8cf5ddb1e8e03fd.zip
apply initial tspc patches
+ Courtesy of @BDave95
Diffstat (limited to 'src/hid-tmff2.c')
-rw-r--r--src/hid-tmff2.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/hid-tmff2.c b/src/hid-tmff2.c
index ee3188a..162a30a 100644
--- a/src/hid-tmff2.c
+++ b/src/hid-tmff2.c
@@ -707,6 +707,10 @@ static int tmff2_probe(struct hid_device *hdev, const struct hid_device_id *id)
if ((ret = tsxw_populate_api(tmff2)))
goto wheel_err;
break;
+ case TMTS_PC_RACER_ID:
+ if ((ret = tspc_populate_api(tmff2)))
+ goto wheel_err;
+ break;
default:
ret = -ENODEV;
goto wheel_err;
@@ -806,6 +810,8 @@ static const struct hid_device_id tmff2_devices[] = {
{HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, TMT248_PC_ID)},
/* tx */
{HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, TX_ACTIVE)},
+ /* TS-PC RACER */
+ {HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, TMTS_PC_RACER_ID)},
/* tsxw */
{HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, TSXW_ACTIVE)},