Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable/disable autocenter on Thrustmaster T150 #262

Open
albfan opened this issue Feb 21, 2025 · 7 comments · May be fixed by #268
Open

Enable/disable autocenter on Thrustmaster T150 #262

albfan opened this issue Feb 21, 2025 · 7 comments · May be fixed by #268

Comments

@albfan
Copy link
Contributor

albfan commented Feb 21, 2025

Thrustmaster T150 allows to disable autocenter feature:

it uses file enable_autocenter, with values y or n

@albfan
Copy link
Contributor Author

albfan commented Feb 25, 2025

thrustmaster driver has a configuration to enable/disable autocenter.

Image

Can we add a new switch for that?

@berarma
Copy link
Owner

berarma commented Feb 25, 2025

I don't think so. How would that switch be different than setting the autocenter force from 0 (off) to max?

@berarma
Copy link
Owner

berarma commented Feb 25, 2025

If you're thinking about disabling autocenter on games by means of the switch, I don't think it could be done. Oversteer has no control over the games, except via the settings already exposed.

@albfan
Copy link
Contributor Author

albfan commented Feb 25, 2025

In thrustmaster, autocenter force is a value that only applies if autocenter is controlled by wheel.

This is basically the switch:

echo y | sudo tee $(sudo find /sys -name enable_autocenter)
echo n | sudo tee $(sudo find /sys -name enable_autocenter)

Once enabled, autocenter 0 makes no effect, so current implementation of center wheel on oversteer(set to 100 and 0) will work as expected

Using fftest looks to me spring force controls autocenter if autocenter is "controlled by the game"

@albfan
Copy link
Contributor Author

albfan commented Feb 25, 2025

Let me provide that PR at least for the record

@berarma
Copy link
Owner

berarma commented Feb 25, 2025

But that switch would be the same as autocenter=0, wouldn't it?

Using fftest looks to me spring force controls autocenter if autocenter is "controlled by the game"

Most games, if not all, will use spring for autocenter, but games could also change the setting Oversteer is using. Maybe not from Wine because they're probably ignoring it, but native games could.

@albfan
Copy link
Contributor Author

albfan commented Feb 25, 2025

For thrustmaster is not the case. If you enable_autocenter, them autocenter parameter defines what force is applied.

enable_autocenter:y
autocenter: 0

is same as:

enable_autocenter:n
autocenter:65535 (or any other value)

@albfan albfan linked a pull request Feb 25, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants