GithubHelp home page GithubHelp logo

Thrustmaster TMX Support about hid-tmff2 HOT 7 CLOSED

pastaq avatar pastaq commented on September 25, 2024
Thrustmaster TMX Support

from hid-tmff2.

Comments (7)

pastaq avatar pastaq commented on September 25, 2024 2

Hello, thanks for showing interest in this project.

I had a cursory look at the zip file, and it seems like the TMX and TX use different USB command sets. For example, in file force_strength_100-0.pcapng, packet number 39, the leftover capture data is 43 7f [...]. From the name of the file, I'm guessing this would be setting the gain of the wheel, and from the other packets I would assume that 43 is the 'set force gain command' and 7f in this case would be the value to set it to. However, looking at the gain command in my docs, the format that the T300 (and by extension, the TX) uses is 60 02 bf [...], meaning that it looks like the two wheels speak a different language.

I did notice that the packet looks a lot like what the T150 driver does for its gain setting, seems like the TMX and T150 might share a command set. See here for the T150 gain setting code: https://github.com/scarburato/t150_driver/blob/bd543aa58c66cea7be76425eb7747de9bce15ea8/hid-t150/forcefeedback.c#L418

If that's the case, adding support for the T150 might allow adding support for the TMX (or vice versa) in a similar way to how T248 and TX wheels use the T300 functionality. Alternatively, you can try patching the T150 driver, would probably take fewer lines of code.

I have some rough outlines of what needs to be done to add support for a new wheel with a different command set, though nobody's done so yet: https://github.com/Kimplul/hid-tmff2/blob/master/docs/CONTRIBUTING.md#how-to-add-in-support-for-a-new-t-series-wheel

Thanks for your quick reply. I'll look into how the t150 works and see if I can get something going here. If I'm honest I'd like to see a unification of TM drivers. It's a bit excessive that there are at least three init projects and two ffb projects all doing basically the same thing in radically different ways.

from hid-tmff2.

Kimplul avatar Kimplul commented on September 25, 2024

Hello, thanks for showing interest in this project.

I had a cursory look at the zip file, and it seems like the TMX and TX use different USB command sets. For example, in file force_strength_100-0.pcapng, packet number 39, the leftover capture data is 43 7f [...]. From the name of the file, I'm guessing this would be setting the gain of the wheel, and from the other packets I would assume that 43 is the 'set force gain command' and 7f in this case would be the value to set it to. However, looking at the gain command in my docs, the format that the T300 (and by extension, the TX) uses is 60 02 bf [...], meaning that it looks like the two wheels speak a different language.

I did notice that the packet looks a lot like what the T150 driver does for its gain setting, seems like the TMX and T150 might share a command set. See here for the T150 gain setting code:
https://github.com/scarburato/t150_driver/blob/bd543aa58c66cea7be76425eb7747de9bce15ea8/hid-t150/forcefeedback.c#L418

If that's the case, adding support for the T150 might allow adding support for the TMX (or vice versa) in a similar way to how T248 and TX wheels use the T300 functionality. Alternatively, you can try patching the T150 driver, would probably take fewer lines of code.

I have some rough outlines of what needs to be done to add support for a new wheel with a different command set, though nobody's done so yet: https://github.com/Kimplul/hid-tmff2/blob/master/docs/CONTRIBUTING.md#how-to-add-in-support-for-a-new-t-series-wheel

from hid-tmff2.

19Topgun93 avatar 19Topgun93 commented on September 25, 2024

Hello :)

I'm not a complet Linux noob, but I don't understand the hid-timinit.c. How can I init my TMX Wheel to funtion properly. I have install the Drivers as it says here on Github, but it is only response as FFB Wheel. In F1 2020 I have the Wheel, but it says disconnected. I have also run proton tricks to install the windows driver in my steam prefix.

I would love to has assist. I want learn this :D

from hid-tmff2.

Kimplul avatar Kimplul commented on September 25, 2024

@19Topgun93 The TMX works with the T150 driver over in https://github.com/scarburato/t150_driver, try installing it and see what happens.

I suppose there's not much interest getting the T150/TMX wheel(s) added to this project since they already seem to work with the T150 driver, so I think it's fine to close this issue. Would still be cool if someone with access to a T150 looked into it.

from hid-tmff2.

pastaq avatar pastaq commented on September 25, 2024

Would still be cool if someone with access to a T150 looked into it.

Still on my to-do list, along with getting init done in hid-thrustmaster. Once I'm at a good place with my other input related project I'll be looking into it again. A single unified thrustmaster driver would be really nice.

from hid-tmff2.

19Topgun93 avatar 19Topgun93 commented on September 25, 2024

Can I help? I have my TMX Wheel and Windows as dual boot. I have learned in my work python and javascript, but I'm not a pro. Can I assist you somewhere @pastaq ?

from hid-tmff2.

pastaq avatar pastaq commented on September 25, 2024

Can I help? I have my TMX Wheel and Windows as dual boot. I have learned in my work python and javascript, but I'm not a pro. Can I assist you somewhere @pastaq ?

I'll ping you for testing when I'm ready for that. The data is available for everything, it just needs to be brought over.

from hid-tmff2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.