Merge pull request #8289 from Miksel12/nunchuk-reorder
DolphinQt: Reorder nunchuk mapping
This commit is contained in:
commit
7f6abfb0bf
|
@ -102,15 +102,15 @@ void WiimoteEmuExtension::CreateNunchukLayout()
|
||||||
auto* layout = new QGridLayout();
|
auto* layout = new QGridLayout();
|
||||||
m_nunchuk_box = new QGroupBox(tr("Nunchuk"), this);
|
m_nunchuk_box = new QGroupBox(tr("Nunchuk"), this);
|
||||||
|
|
||||||
layout->addWidget(CreateGroupBox(tr("Shake"), Wiimote::GetNunchukGroup(
|
layout->addWidget(CreateGroupBox(tr("Stick"), Wiimote::GetNunchukGroup(
|
||||||
GetPort(), WiimoteEmu::NunchukGroup::Shake)),
|
GetPort(), WiimoteEmu::NunchukGroup::Stick)),
|
||||||
0, 0);
|
0, 0);
|
||||||
layout->addWidget(
|
layout->addWidget(
|
||||||
CreateGroupBox(tr("Buttons"),
|
CreateGroupBox(tr("Buttons"),
|
||||||
Wiimote::GetNunchukGroup(GetPort(), WiimoteEmu::NunchukGroup::Buttons)),
|
Wiimote::GetNunchukGroup(GetPort(), WiimoteEmu::NunchukGroup::Buttons)),
|
||||||
1, 0);
|
1, 0);
|
||||||
layout->addWidget(CreateGroupBox(tr("Stick"), Wiimote::GetNunchukGroup(
|
layout->addWidget(CreateGroupBox(tr("Shake"), Wiimote::GetNunchukGroup(
|
||||||
GetPort(), WiimoteEmu::NunchukGroup::Stick)),
|
GetPort(), WiimoteEmu::NunchukGroup::Shake)),
|
||||||
0, 1, -1, 1);
|
0, 1, -1, 1);
|
||||||
layout->addWidget(CreateGroupBox(tr("Tilt"), Wiimote::GetNunchukGroup(
|
layout->addWidget(CreateGroupBox(tr("Tilt"), Wiimote::GetNunchukGroup(
|
||||||
GetPort(), WiimoteEmu::NunchukGroup::Tilt)),
|
GetPort(), WiimoteEmu::NunchukGroup::Tilt)),
|
||||||
|
|
Loading…
Reference in New Issue