mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-23 23:21:49 +01:00
Tweak gyro mouse variables
This commit is contained in:
parent
6c0a1a94a9
commit
49024cddaf
@ -27,8 +27,8 @@ namespace DS4Windows
|
||||
deltaY = -arg.sixAxis.gyroYFull;
|
||||
//Console.WriteLine(arg.sixAxis.deltaX);
|
||||
|
||||
double coefficient = (Global.getGyroSensitivity(deviceNumber) * 0.01) * 0.0085;
|
||||
double offset = 0.16;
|
||||
double coefficient = (Global.getGyroSensitivity(deviceNumber) * 0.01) * 0.0095;
|
||||
double offset = 0.14725;
|
||||
double tempAngle = System.Math.Atan2(-deltaY, deltaX);
|
||||
double normX = System.Math.Abs(System.Math.Cos(tempAngle));
|
||||
double normY = System.Math.Abs(System.Math.Sin(tempAngle));
|
||||
|
Loading…
Reference in New Issue
Block a user