aboutsummaryrefslogtreecommitdiff
path: root/hid-tmff2.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-03-20 19:41:25 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2022-03-20 19:41:25 +0200
commit725e8ea20b616b8cd29865a8819112ae2c61c54f (patch)
treead3873b3755e235fe95d3385271b4f883b6248b4 /hid-tmff2.c
parent28d0a3f76748a2555fc1417216ed51112dba945c (diff)
downloadhid-tmff2-725e8ea20b616b8cd29865a8819112ae2c61c54f.tar.gz
hid-tmff2-725e8ea20b616b8cd29865a8819112ae2c61c54f.zip
add initial t248 support
Diffstat (limited to 'hid-tmff2.c')
-rw-r--r--hid-tmff2.c7
1 files changed, 7 insertions, 0 deletions
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);