JoyShockLibrary
JoyShockLibrary copied to clipboard
JslGetIMUState Returning NaN for Gyro
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.
Thanks for sharing this. I think JslStartContinuousCalibration() shouldn't be required to get valid values. I'll look into it.