From 725e8ea20b616b8cd29865a8819112ae2c61c54f Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 20 Mar 2022 19:41:25 +0200 Subject: add initial t248 support --- hid-tmff2.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'hid-tmff2.c') diff --git a/hid-tmff2.c b/hid-tmff2.c index 2e7221f..4aa6141 100644 --- a/hid-tmff2.c +++ b/hid-tmff2.c @@ -552,6 +552,11 @@ static int tmff2_probe(struct hid_device *hdev, const struct hid_device_id *id) goto wheel_err; break; + case TMT248_PC_ID: + if ((ret = t248_populate_api(tmff2))) + goto wheel_err; + break; + default: ret = -ENODEV; goto wheel_err; @@ -634,6 +639,8 @@ static const struct hid_device_id tmff2_devices[] = { {HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, TMT300RS_PS3_NORM_ID)}, {HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, TMT300RS_PS3_ADV_ID)}, {HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, TMT300RS_PS4_NORM_ID)}, + /* t248 PC*/ + {HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, TMT248_PC_ID)}, {} }; MODULE_DEVICE_TABLE(hid, tmff2_devices); -- cgit v1.3