1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Linux kernel module for the Thrustmaster T300RS wheel
## This branch
is for 'testing' spinlocks and other locking mechanisms.
## Current state
Playable. I've made some improvements to the dynamic updating of effects, and
while still far for perfect, the experience is slowly getting better and better.
Some drawbacks include missing dynamic updating of ramp effects and in some
games inconsistent pedal mapping. Meaning that all pedals should be detected in games, but may be mapped incorrectly.
Anycase, **this version is usable in most force feedback games, supports
rangesetting as well as gain and autocentering along with most force feedback effects.**
## Small note
While I haven't personally come across any crashes or lockups with this
version, I can't promise that they won't occur under any circumstances.
With that in mind,
## Installation
+ Unplug wheel from computer
+ `git clone https://github.com/Kimplul/hid-tmff2.git`
+ `make`
+ `sudo make install`
+ Plug wheel back in
+ reboot (not strictly necessary, but definitely recommended)
Done!
## Additional tidbits
+ Change range:
Write a value between 0 and 1080 to
/sys/bus/devices/XXXX:044F:B66E.XXX/range
+ Change autocenter and gain:
Use the default evdev ways, i.e. https://www.kernel.org/doc/html/v5.1/input/ff.html
+ Currently there is support for this driver in oversteer(https://github.com/berarma/oversteer), and ffbwrap(https://github.com/berarma/ffbtools) should work just fine.
+ If the wheel has a deadzone in games, you can set up a udev rule:
`/etc/udev/rules.d/99-joydev.rules`
```
SUBSYSTEM=="input", ATTRS{idVendor}=="044f", ATTRS{idProduct}=="b66e", RUN+="/usr/bin/evdev-joystick --evdev %E{DEVNAME} --deadzone 0"
```
This should make sure that the wheel behaves like you'd want from a
wheel.
|