diff options
author | Roderick Colenbrander <roderick.colenbrander@sony.com> | 2017-03-08 00:45:01 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2017-03-21 15:11:55 +0100 |
commit | 55a07d62db0feda2e37f6962a1b2799e2a8b42ba (patch) | |
tree | a42a90e65aeb0c0f8ef2a2f9329f8dcb75e9d03e /firmware/cxgb3 | |
parent | HID: sony: Report DS4 motion sensors through a separate device (diff) | |
download | linux-55a07d62db0feda2e37f6962a1b2799e2a8b42ba.tar.xz linux-55a07d62db0feda2e37f6962a1b2799e2a8b42ba.zip |
HID: sony: Calibrate DS4 motion sensors
The DS4 motion sensors require calibration for accurate operation.
This patch adds calibration for both the accelerometer and the
gyroscope. Calibration requires reading device specific scaling
factors and offsets. For precision reasons we store these values
as a numerator and denominator and apply the values when processing
the data.
Signed-off-by: Roderick Colenbrander <roderick.colenbrander@sony.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'firmware/cxgb3')
0 files changed, 0 insertions, 0 deletions