aboutsummaryrefslogtreecommitdiff
path: root/hid-tmff2.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2023-08-23 20:39:11 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2023-08-23 20:39:11 +0300
commit19c4f683e1e9ecada52c2731ea1a55bc294bd808 (patch)
treef0d6ad2921472a6cb240521d44e3ec58a8c55f8c /hid-tmff2.c
parent010c0d986d8d75ff2727d164c8c41b08b33549a9 (diff)
parentb959deebd764b59410418dda7e457e18d57e48da (diff)
downloadhid-tmff2-19c4f683e1e9ecada52c2731ea1a55bc294bd808.tar.gz
hid-tmff2-19c4f683e1e9ecada52c2731ea1a55bc294bd808.zip
Merge branch 'tx_support'
Diffstat (limited to 'hid-tmff2.c')
-rw-r--r--hid-tmff2.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/hid-tmff2.c b/hid-tmff2.c
index 1d00303..cf805d7 100644
--- a/hid-tmff2.c
+++ b/hid-tmff2.c
@@ -633,6 +633,11 @@ static int tmff2_probe(struct hid_device *hdev, const struct hid_device_id *id)
goto wheel_err;
break;
+ case TX_ACTIVE:
+ if ((ret = tx_populate_api(tmff2)))
+ goto wheel_err;
+ break;
+
default:
ret = -ENODEV;
goto wheel_err;
@@ -725,6 +730,9 @@ static const struct hid_device_id tmff2_devices[] = {
{HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, TMT300RS_PS4_NORM_ID)},
/* t248 PC*/
{HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, TMT248_PC_ID)},
+ /* tx */
+ {HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, TX_ACTIVE)},
+
{}
};
MODULE_DEVICE_TABLE(hid, tmff2_devices);