JoyShockLibrary icon indicating copy to clipboard operation
JoyShockLibrary copied to clipboard

JslGetIMUState Returning NaN for Gyro

Open michaelarts opened this issue 4 years ago • 1 comments

Hello,

I'm using JoyShockLibrary.cs to enable motion support via the DualShock 4. When I call JslGetIMUState(), the acceleration values are correctly set. However, the gyro values are always NaN. Do you have any idea what the issue is?

Thanks,

Michael

EDIT: Sorry, I needed to call JslStartContinuousCalibration() before getting valid values.

michaelarts avatar Aug 14 '20 19:08 michaelarts

Thanks for sharing this. I think JslStartContinuousCalibration() shouldn't be required to get valid values. I'll look into it.

JibbSmart avatar Aug 20 '20 05:08 JibbSmart