mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-23 01:39:17 +01:00
Expose full accel values for future experiments
This commit is contained in:
parent
2e74fd67c1
commit
5f907de036
@ -16,7 +16,8 @@ namespace DS4Windows
|
||||
public class SixAxis
|
||||
{
|
||||
public readonly int gyroX, gyroY, gyroZ, deltaX, deltaY, deltaZ, accelX, accelY, accelZ;
|
||||
public readonly int gyroXFull, gyroYFull;
|
||||
public readonly int gyroXFull, gyroYFull, gyroZFull;
|
||||
public readonly int accelXFull, accelYFull, accelZFull;
|
||||
public readonly byte touchID;
|
||||
public readonly SixAxis previousAxis;
|
||||
public SixAxis(int X, int Y, int Z, int aX, int aY, int aZ, SixAxis prevAxis = null)
|
||||
@ -26,9 +27,15 @@ namespace DS4Windows
|
||||
gyroZ = Z / 256;
|
||||
gyroXFull = X;
|
||||
gyroYFull = Y;
|
||||
gyroZFull = Z;
|
||||
|
||||
accelX = aX / 64;
|
||||
accelY = aY / 64;
|
||||
accelZ = aZ / 64;
|
||||
accelXFull = aX;
|
||||
accelYFull = aY;
|
||||
accelZFull = aZ;
|
||||
|
||||
previousAxis = prevAxis;
|
||||
if (previousAxis != null)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user