From b959deebd764b59410418dda7e457e18d57e48da Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Fri, 18 Aug 2023 09:03:18 +0100 Subject: Add support for Thrustmaster TX This utilises most of the same logic as the T300, but with a separate sequences for the range, open and close. This is based on a device with an F1 wheel attachment, this might need extending in the future. --- hid-tmff2.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hid-tmff2.h') diff --git a/hid-tmff2.h b/hid-tmff2.h index 8b7842e..30f04c7 100644 --- a/hid-tmff2.h +++ b/hid-tmff2.h @@ -100,6 +100,7 @@ struct tmff2_device_entry { /* external */ int t300rs_populate_api(struct tmff2_device_entry *tmff2); int t248_populate_api(struct tmff2_device_entry *tmff2); +int tx_populate_api(struct tmff2_device_entry *tmff2); #define TMT300RS_PS3_NORM_ID 0xb66e #define TMT300RS_PS3_ADV_ID 0xb66f @@ -107,6 +108,8 @@ int t248_populate_api(struct tmff2_device_entry *tmff2); #define TMT248_PC_ID 0xb696 +#define TX_ACTIVE 0xb669 + /* apis to different wheel families */ /* T248 at least uses the T300RS api, not sure if there are other wheels but that's * why these functions are given global linkage */ -- cgit v1.3