Permalink
Browse files

Qt/Mapping: Include "Always connected" option

  • Loading branch information...
spycrab committed May 29, 2018
1 parent 60c38d7 commit a1f15050a1fec765cb223ae2d10202fad9c4d113
Showing with 9 additions and 0 deletions.
  1. +9 −0 Source/Core/DolphinQt2/Config/Mapping/GCPadEmu.cpp
@@ -12,6 +12,7 @@
#include "Core/HW/GCPad.h"
#include "Core/HW/GCPadEmu.h"
#include "InputCommon/ControllerEmu/Setting/BooleanSetting.h"
#include "InputCommon/InputConfig.h"
GCPadEmu::GCPadEmu(MappingWindow* window) : MappingWidget(window)
@@ -39,6 +40,14 @@ void GCPadEmu::CreateMainLayout()
CreateGroupBox(tr("Triggers"), Pad::GetGroup(GetPort(), PadGroup::Triggers)));
hbox_layout->addWidget(CreateGroupBox(tr("Rumble"), Pad::GetGroup(GetPort(), PadGroup::Rumble)));
// TODO: Get rid of this garbage once wx is removed
// Remove "Iterative Input"
auto* options_group = Pad::GetGroup(GetPort(), PadGroup::Options);
auto& bools = options_group->boolean_settings;
bools.erase(bools.end() - 1);
hbox_layout->addWidget(CreateGroupBox(tr("Options"), options_group));
setLayout(m_main_layout);
}

0 comments on commit a1f1505

Please sign in to comment.