ControllerEmu: Increase "IMUPointer" "Total Yaw" default value to match that of regular "Point" settings.

Removed "Total Yaw" from included Wii remote input profile to take on the default value.
This commit is contained in:
Jordan Woyak 2020-09-22 17:59:24 -05:00
parent f766c89a08
commit 0295d470b1
2 changed files with 2 additions and 4 deletions

View File

@ -21,7 +21,6 @@ IMUGyroscope/Roll Right = `Gyro Roll Right`
IMUGyroscope/Yaw Left = `Gyro Yaw Left` IMUGyroscope/Yaw Left = `Gyro Yaw Left`
IMUGyroscope/Yaw Right = `Gyro Yaw Right` IMUGyroscope/Yaw Right = `Gyro Yaw Right`
IMUIR/Enabled = True IMUIR/Enabled = True
IMUIR/Total Yaw = 20
Extension/Attach MotionPlus = `Attached MotionPlus` Extension/Attach MotionPlus = `Attached MotionPlus`
Extension = `Attached Extension` Extension = `Attached Extension`
Nunchuk/Buttons/C = `Nunchuk C` Nunchuk/Buttons/C = `Nunchuk C`

View File

@ -29,8 +29,7 @@ IMUCursor::IMUCursor(std::string name_, std::string ui_name_)
{ {
AddInput(Translate, _trans("Recenter")); AddInput(Translate, _trans("Recenter"));
// Default values are optimized for "Super Mario Galaxy 2". // Default values chosen to reach screen edges in most games including the Wii Menu.
// This seems to be acceptable for a good number of games.
AddSetting(&m_yaw_setting, AddSetting(&m_yaw_setting,
// i18n: Refers to an amount of rotational movement about the "yaw" axis. // i18n: Refers to an amount of rotational movement about the "yaw" axis.
@ -39,7 +38,7 @@ IMUCursor::IMUCursor(std::string name_, std::string ui_name_)
_trans("°"), _trans("°"),
// i18n: Refers to emulated wii remote movements. // i18n: Refers to emulated wii remote movements.
_trans("Total rotation about the yaw axis.")}, _trans("Total rotation about the yaw axis.")},
15, 0, 360); 25, 0, 360);
} }
ControlState IMUCursor::GetTotalYaw() const ControlState IMUCursor::GetTotalYaw() const