mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-02 15:56:21 +00:00
Fix axis values for gyro input
This commit is contained in:
parent
3fb328e238
commit
f883f5a2b5
@ -155,8 +155,8 @@ static const double MOUSE_SPEED_DIVISOR = 1.25;
|
|||||||
LiSendControllerMotionEvent((uint8_t)controllerNumber,
|
LiSendControllerMotionEvent((uint8_t)controllerNumber,
|
||||||
LI_MOTION_TYPE_GYRO,
|
LI_MOTION_TYPE_GYRO,
|
||||||
gyroSample.x * 57.2957795f,
|
gyroSample.x * 57.2957795f,
|
||||||
gyroSample.y * 57.2957795f,
|
gyroSample.z * 57.2957795f,
|
||||||
gyroSample.z * 57.2957795f);
|
gyroSample.y * -57.2957795f);
|
||||||
}];
|
}];
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user