diff --git a/README.md b/README.md index 1a0c348..e98a52c 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,7 @@ This software supports the following Logitech wheels: These other wheels are getting suppport as their drivers mature: - Thrustmaster T300RS with [https://github.com/Kimplul/hid-tmff2]. +- Thrustmaster T500RS with [https://github.com/Kimplul/hid-tmff2]. - FANATEC CSL Elite Wheel Base with [https://github.com/gotzl/hid-fanatecff]. - FANATEC CSL Elite Wheel Base PS4 with [https://github.com/gotzl/hid-fanatecff]. - FANATEC ClubSport Wheel Base V2 with [https://github.com/gotzl/hid-fanatecff]. diff --git a/oversteer/device.py b/oversteer/device.py index 4c0aef3..1229682 100644 --- a/oversteer/device.py +++ b/oversteer/device.py @@ -363,9 +363,9 @@ def normalize_event(self, event): if event.code == ecodes.ABS_X: if self.usb_id in [self.device_manager.LG_WFG, self.device_manager.LG_WFFG]: event.value = event.value * 64 - elif self.usb_id not in [self.device_manager.LG_G29, self.device_manager.TM_T300RS] and self.vendor_id != self.device_manager.VENDOR_FANATEC: + elif self.usb_id not in [self.device_manager.LG_G29, self.device_manager.TM_T300RS, self.device_manager.TM_T500RS] and self.vendor_id != self.device_manager.VENDOR_FANATEC: event.value = event.value * 4 - elif self.usb_id in [self.device_manager.LG_G25, self.device_manager.LG_G27, self.device_manager.LG_G29, self.device_manager.TM_T300RS]: + elif self.usb_id in [self.device_manager.LG_G25, self.device_manager.LG_G27, self.device_manager.LG_G29, self.device_manager.TM_T300RS, self.device_manager.TM_T500RS]: if event.code == ecodes.ABS_Y: event.code = ecodes.ABS_RZ elif event.code == ecodes.ABS_Z: