nefarius / DsHidMini

Virtual HID Mini-user-mode-driver for Sony DualShock 3 Controllers
https://docs.nefarius.at/projects/DsHidMini/
BSD 3-Clause "New" or "Revised" License
1.27k stars 55 forks source link

Convert and set rumble duration from incoming Output Report when in DS4W mode #356

Open Kanuan opened 7 months ago

Kanuan commented 7 months ago

Regarding rumble, the DS4's standard output report includes both the strength as well as the duration.

Currently we set the strength, but not the duration, which can lead to rumble not responding correctly.

Necessary to check if the maximum, non-infinite, DS4 rumble duration (0xFE) matches the maximum duration of the DS3, though there is not much that can be done if DS4's maximum is greater than the DS3's