Fix axis values for gyro input
This commit is contained in:
parent
3fb328e238
commit
f883f5a2b5
1 changed files with 2 additions and 2 deletions
|
|
@ -155,8 +155,8 @@ static const double MOUSE_SPEED_DIVISOR = 1.25;
|
|||
LiSendControllerMotionEvent((uint8_t)controllerNumber,
|
||||
LI_MOTION_TYPE_GYRO,
|
||||
gyroSample.x * 57.2957795f,
|
||||
gyroSample.y * 57.2957795f,
|
||||
gyroSample.z * 57.2957795f);
|
||||
gyroSample.z * 57.2957795f,
|
||||
gyroSample.y * -57.2957795f);
|
||||
}];
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue