Qt/WiimoteEmuExtension: Add "Slider Bar" to Guitar

This commit is contained in:
spycrab 2018-04-28 11:38:13 +02:00
parent cf1adfbe20
commit b88a5875ec
1 changed files with 2 additions and 0 deletions

View File

@ -110,6 +110,8 @@ void WiimoteEmuExtension::CreateGuitarLayout()
tr("Buttons"), Wiimote::GetGuitarGroup(GetPort(), WiimoteEmu::GuitarGroup::Buttons))); tr("Buttons"), Wiimote::GetGuitarGroup(GetPort(), WiimoteEmu::GuitarGroup::Buttons)));
vbox->addWidget(CreateGroupBox( vbox->addWidget(CreateGroupBox(
tr("Stick"), Wiimote::GetGuitarGroup(GetPort(), WiimoteEmu::GuitarGroup::Stick))); tr("Stick"), Wiimote::GetGuitarGroup(GetPort(), WiimoteEmu::GuitarGroup::Stick)));
vbox->addWidget(CreateGroupBox(
tr("Slider Bar"), Wiimote::GetGuitarGroup(GetPort(), WiimoteEmu::GuitarGroup::SliderBar)));
hbox->addItem(vbox); hbox->addItem(vbox);
auto* vbox2 = new QVBoxLayout(); auto* vbox2 = new QVBoxLayout();