libretro: change accelerometer values to be same as for switch
This commit is contained in:
parent
51e813aa9a
commit
eeb52e4027
@ -1386,8 +1386,8 @@ static void _updateRotation(struct mRotationSource* source) {
|
|||||||
gyroZ = 0;
|
gyroZ = 0;
|
||||||
_initSensors();
|
_initSensors();
|
||||||
if (tiltEnabled) {
|
if (tiltEnabled) {
|
||||||
tiltX = sensorGetCallback(0, RETRO_SENSOR_ACCELEROMETER_X) * -2e8f;
|
tiltX = sensorGetCallback(0, RETRO_SENSOR_ACCELEROMETER_X) * 3e8f;
|
||||||
tiltY = sensorGetCallback(0, RETRO_SENSOR_ACCELEROMETER_Y) * 2e8f;
|
tiltY = sensorGetCallback(0, RETRO_SENSOR_ACCELEROMETER_Y) * -3e8f;
|
||||||
}
|
}
|
||||||
if (gyroEnabled) {
|
if (gyroEnabled) {
|
||||||
gyroZ = sensorGetCallback(0, RETRO_SENSOR_GYROSCOPE_Z) * -5.5e8f;
|
gyroZ = sensorGetCallback(0, RETRO_SENSOR_GYROSCOPE_Z) * -5.5e8f;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user