aboutsummaryrefslogtreecommitdiff
path: root/hid-tmff2.h
diff options
context:
space:
mode:
authorDavid Edmundson <kde@davidedmundson.co.uk>2023-08-18 09:03:18 +0100
committerDavid Edmundson <kde@davidedmundson.co.uk>2023-08-23 11:54:48 +0100
commitb959deebd764b59410418dda7e457e18d57e48da (patch)
treef0d6ad2921472a6cb240521d44e3ec58a8c55f8c /hid-tmff2.h
parent010c0d986d8d75ff2727d164c8c41b08b33549a9 (diff)
downloadhid-tmff2-b959deebd764b59410418dda7e457e18d57e48da.tar.gz
hid-tmff2-b959deebd764b59410418dda7e457e18d57e48da.zip
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.
Diffstat (limited to 'hid-tmff2.h')
-rw-r--r--hid-tmff2.h3
1 files changed, 3 insertions, 0 deletions
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 */