Merge pull request #7256 from spycrab/qt_forward

HW/WiimoteEmu: Add Forward Option
This commit is contained in:
spycrab 2018-07-12 20:21:11 +02:00 committed by GitHub
commit 303f5e0dc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -308,9 +308,12 @@ Wiimote::Wiimote(const unsigned int index) : m_index(index), ir_sin(0), ir_cos(1
// options
groups.emplace_back(m_options = new ControllerEmu::ControlGroup(_trans("Options")));
m_options->boolean_settings.emplace_back(new ControllerEmu::BooleanSetting(
"Forward Wiimote", _trans("Forward Wii Remote"),
true, ControllerEmu::SettingType::NORMAL, true));
m_options->boolean_settings.emplace_back(m_upright_setting = new ControllerEmu::BooleanSetting(
"Upright Wiimote", _trans("Upright Wii Remote"),
true, ControllerEmu::SettingType::NORMAL, true));
false, ControllerEmu::SettingType::NORMAL, true));
m_options->boolean_settings.emplace_back(m_sideways_setting = new ControllerEmu::BooleanSetting(
"Sideways Wiimote", _trans("Sideways Wii Remote"),
false, ControllerEmu::SettingType::NORMAL, true));