HandheldCompanion icon indicating copy to clipboard operation
HandheldCompanion copied to clipboard

Steam takes issue with (virtual) DS4 IMU sensor report if timestamp is the same as previous

Open CasperH2O opened this issue 1 year ago • 2 comments
trafficstars

Handheld Companinion Version 0.20.5.3

Describe the bug

Quoting Antheas here:

The second bug is that gyro to mouse beta of steam is broken on hc This is a bug that happened around January and it's due to steam After a steam update what happened was that if you send a controller update with a duplicate timestamps on the gyro It almost divides by zero and steam breaks and you get stuttering The way I fixed that is that I have an option that when it's active I only send updates when there's a new gyro event I don't know how easy that is to fix with vighem Also, gyro to mouse beta from steam feels a lot better than any other gyro solution right now, it's literally magic

CasperH2O avatar Mar 29 '24 07:03 CasperH2O

I have mixed feelings on implementing a work around for a bug in other software, especially for such a large company as Valve who will probably fix this down the line.

CasperH2O avatar Mar 29 '24 07:03 CasperH2O

DS4 IMU timestamp has been replaced with the same timestamp used for GamePadMotionHelpers, to be restested.

CasperH2O avatar Apr 15 '24 09:04 CasperH2O