GithubHelp home page GithubHelp logo

Rumble effects do not work about hid-tmff2 HOT 3 OPEN

kimplul avatar kimplul commented on June 25, 2024
Rumble effects do not work

from hid-tmff2.

Comments (3)

peter-vasut avatar peter-vasut commented on June 25, 2024 1

Thank you for reply. You are right, all the affects are working, the friction and spring are just subtle. I've also tried to change the direction in the code you linked, it's as you say, when you change the direction, the rumbling effects work.

So you are right, it's not hardware or driver issue, it's probably something to do with Dirt Rally 2.

from hid-tmff2.

Kimplul avatar Kimplul commented on June 25, 2024

I've tried fftest on the device. It uploaded all effects without problem, but only "periodic sinusoidal" and "constant" do anything (they move the steering wheel), but nothing else (strong/weak rumble etc.) works. (There is no error, it's just nothing happens.)

Hello, the fftest rumble effects not working is a known 'issue', I suppose. The problem is that fftest sets the direction of the rumbling effect to zero (or, rather, doesn't set any value to it and is implicitly zero). The direction of the effect determines the actual strength as a proportion of the requested effect strength, more or less following actual_strength = strength * sin(direction). Or, this is how all effects I've observed have worked, I could be missing something.

There is an additional detail in that this driver itself doesn't report supporting rumble effects, rather the Linux subsystem tries to emulate rumbling with periodic effects, which the driver does report supporting. The subsystem doesn't do anything to the direction, though.

The damper and spring should also work in fftest, but they're passive effects, meaning that you start to feel them only when moving the wheel.

I've noticed that Dirt Rally 2 doesn't allow me to set "Tyre Slip" and "Engine" options in "vibration & feedback" menu. The steering effects work, but there is no vibration.

DiRT Rally 2 not doing anything with some options is sort of known, iirc the game only ever uploads one effect to the wheel and the steering effects are all done with the single effect. This seems to be pretty common, most games I've tried seem to do this (at least with this driver), but in the case of DiRT I don't know if there's some internal condition that is failing and some effects aren't uploaded to the wheel because of it or what's going on, really very sorry.

from hid-tmff2.

peterlopen avatar peterlopen commented on June 25, 2024

@peter-vasut please, what is this fftest utility you are using? where could I get it? thank you.

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.