Merge pull request #8600 from jordan-woyak/accel-mappings-fix

WiimoteEmu: Fix default IMU accelerometer mappings.
This commit is contained in:
JMC47 2020-02-02 00:41:58 -05:00 committed by GitHub
commit a0d204253b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -726,12 +726,12 @@ void Wiimote::LoadDefaults(const ControllerInterface& ciface)
#endif #endif
// Motion Source // Motion Source
m_imu_accelerometer->SetControlExpression(0, "Accel Left"); m_imu_accelerometer->SetControlExpression(0, "Accel Up");
m_imu_accelerometer->SetControlExpression(1, "Accel Right"); m_imu_accelerometer->SetControlExpression(1, "Accel Down");
m_imu_accelerometer->SetControlExpression(2, "Accel Forward"); m_imu_accelerometer->SetControlExpression(2, "Accel Left");
m_imu_accelerometer->SetControlExpression(3, "Accel Backward"); m_imu_accelerometer->SetControlExpression(3, "Accel Right");
m_imu_accelerometer->SetControlExpression(4, "Accel Up"); m_imu_accelerometer->SetControlExpression(4, "Accel Forward");
m_imu_accelerometer->SetControlExpression(5, "Accel Down"); m_imu_accelerometer->SetControlExpression(5, "Accel Backward");
m_imu_gyroscope->SetControlExpression(0, "Gyro Pitch Up"); m_imu_gyroscope->SetControlExpression(0, "Gyro Pitch Up");
m_imu_gyroscope->SetControlExpression(1, "Gyro Pitch Down"); m_imu_gyroscope->SetControlExpression(1, "Gyro Pitch Down");
m_imu_gyroscope->SetControlExpression(2, "Gyro Roll Left"); m_imu_gyroscope->SetControlExpression(2, "Gyro Roll Left");