Skip to content

Commit

Permalink
Add gain param to TM udev rules, fixes #106
Browse files Browse the repository at this point in the history
  • Loading branch information
berarma committed Sep 19, 2022
1 parent 4039565 commit fb6d198
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions data/udev/99-thrustmaster-wheel-perms.rules
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
# keyboards, and other non-wheel devices.

# Thrustmaster T500RS Racing Wheel (USB)
SUBSYSTEMS=="hid", KERNELS=="0003:044F:B65E.????", DRIVERS=="t500rs", RUN+="/bin/sh -c 'cd %S%p/../../../; chmod 666 range spring_level damper_level friction_level'"
SUBSYSTEMS=="hid", KERNELS=="0003:044F:B65E.????", DRIVERS=="t500rs", RUN+="/bin/sh -c 'cd %S%p/../../../; chmod 666 range gain spring_level damper_level friction_level'"

# Thrustmaster T300RS Racing Wheel (USB)
SUBSYSTEMS=="hid", KERNELS=="0003:044F:B66E.????", DRIVERS=="tmff2", RUN+="/bin/sh -c 'cd %S%p/../../../; chmod 666 range spring_level damper_level friction_level alternate_modes'"
SUBSYSTEMS=="hid", KERNELS=="0003:044F:B66E.????", DRIVERS=="tmff2", RUN+="/bin/sh -c 'cd %S%p/../../../; chmod 666 range gain spring_level damper_level friction_level alternate_modes'"

# Thrustmaster T248 Racing Wheel (USB)
SUBSYSTEMS=="hid", KERNELS=="0003:044F:B696.????", DRIVERS=="tmff2", RUN+="/bin/sh -c 'cd %S%p/../../../; chmod 666 range spring_level damper_level friction_level'"
SUBSYSTEMS=="hid", KERNELS=="0003:044F:B696.????", DRIVERS=="tmff2", RUN+="/bin/sh -c 'cd %S%p/../../../; chmod 666 range gain spring_level damper_level friction_level'"

# Thrustmaster T150 Racing Wheel (USB)
SUBSYSTEMS=="hid", KERNELS=="0003:044F:B677.????", DRIVERS=="t150", RUN+="/bin/sh -c 'cd %S%p/../../../; chmod 666 range gain autocenter'"

0 comments on commit fb6d198

Please sign in to comment.