Giter VIP home page Giter VIP logo

tmdrv's Introduction

tmdrv

Copyright © 2016, 2017 Andrew "HER0" Conrad

tmdrv initializes some Thrustmaster racing wheels as a standard HID device.

This allows the wheels to be used in operating systems which are not officially supported, though it likely only works on Linux. Note that tmdrv does not enable force feedback. The eventual goal, and one I'll need help with, is to get these devices supported in the Linux kernel, including force feedback support.

tmdrv is made available under the terms of the GNU GPL version 3. See COPYING for details.

Supported Devices

  • Thrustmaster T500RS
  • Thrustmaster TX
  • Thrustmaster TMX

See the status of additional devices on the GitLab board.

Requirements

The USB device files must be readable and writeable. I recommend setting a udev rule for this.

Usage

After plugging in your device, run ./tmdrv.py -d $device_name from the source tree. A list of valid device names can be found with ./tmdrv.py -D.

For more information, try ./tmdrv.py --help.

Contributing

By participating in tmdrv, you agree to the terms set forth by the Contributor Covenant. See CODE_OF_CONDUCT.md for details.

Issues or pull requests can be filed on the GitLab issue tracker.

Adding support for new devices

Other wheels which use the same method for initialization can be added to tmdrv relatively easily. If you have a device that you think will work, please file an issue (or add to the existing issue for your device, if it already exists) with the following information:

  • The name of the device (e.g. Thrustmaster TX)
  • The vendor and product USB IDs (e.g. 044f:b65d)
  • A USB capture between the Windows driver and the device (such as with USBPcap on Windows or a Virtual Machine on Linux and Wireshark)

If it is determined that your device can be added to tmdrv, it would be helpful to test the support and provide a jscal preset (for eliminating deadzones).

In the case that you are having trouble providing all the requested information, please feel free to open an issue with that which you do know, and I will do my best to walk you through providing the rest.

Possible signs that your Thrustmaster wheel can be added to tmdrv

tmdrv uses a very simple and specific method of sending a message to the wheel which switches it to various modes. These modes may be the same for each one, so the following is my observations of the patterns, but it is possible that some devices have different behaviors or that I am wrong:

  • Supports a console and PC via USB connection
  • Relatively recent (possibly only Playstation 4 and Xbox One supporting wheels)
Playstation 4 wheels when plugged in to a Linux machine
  • USB product ID of b65d
  • Device name of Thrustmaster FFB Wheel
  • Appears as a working joystick, but the configuration is incorrect, including buttons wrongly assigned and pedals acting as buttons
Xbox One wheels when plugged in to a Linux machine
  • USB product ID is not b65d (probably)
  • Does not show as an HID device of any sort, not found in joystick-supporting software

With more data, these guidelines can almost definitely be made more accurate, but I've only seen limited information on a few devices!

tmdrv's People

Contributors

her001 avatar pastaq avatar

Watchers

 avatar

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.