Merge pull request #6706 from spycrab/qt_guitar_slider

Qt/WiimoteEmuExtension: Add "Slider Bar" to Guitar
This commit is contained in:
JosJuice 2018-04-28 11:45:14 +02:00 committed by GitHub
commit 7e765935f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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();