We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 5359

Summary: [patch] Incorrect sensor data from DualShock4
Product: SDL Reporter: Mathieu Eyraud <meyraud705>
Component: joystickAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.13   
Hardware: x86_64   
OS: Linux   
Attachments: multiply gyro values by sensitivity

Description Mathieu Eyraud 2020-11-19 09:33:07 UTC
Created attachment 4527 [details]
multiply gyro values by sensitivity

When the hardware calibration fails, values read from sensors need to be multiplied by default sensitivity (16 for gyro, 1 for accelerometer).
Comment 1 Sam Lantinga 2020-11-24 05:20:34 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/43769c91b10b