diff options
| author | aldelaro5 <aldelaro5@gmail.com> | 2016-11-18 19:54:06 -0500 |
|---|---|---|
| committer | aldelaro5 <aldelaro5@gmail.com> | 2016-11-28 08:26:34 -0500 |
| commit | 32a0dae257c0454e38014b97709580175b8895a5 (patch) | |
| tree | 45c447491d43108b88bfd1ed41c2262781cfc1a1 /Source/Core/DolphinWX/Input/InputConfigDiag.cpp | |
| parent | 03e0cae9b7151cf60c26b6ef0385398fa81ab733 (diff) | |
Completely redo All configuration dialog
Hotkeys
Make a new class that inherits from InputConfigDialog with a specialised constructor. The changes are mainly the top portion and it now uses tabs to categorise the hotkeys.
Redo the GCPad configuration dialog
The layout is similar, but it now allows flexibility to change it more easily.
Redo the GC Keyboard configuration dialog
Same layout.
Redo completely the Wiimote configuration dialog
Separated the controls into 2 tabs to make them less imposing overall.
Redo the Nunchuk configuration dialog
Similar layout, except for 2 control group sizers.
Redo the Classic controller configuration dialog
Same layout.
Redo the Guitar input configuration dialog
Stacked 2 sets of group together.
Redo the Turntable configuration dialog
More stacked groups and the window is much less wide.
Diffstat (limited to 'Source/Core/DolphinWX/Input/InputConfigDiag.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Input/InputConfigDiag.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Source/Core/DolphinWX/Input/InputConfigDiag.cpp b/Source/Core/DolphinWX/Input/InputConfigDiag.cpp index 74cb503531..7434371e1b 100644 --- a/Source/Core/DolphinWX/Input/InputConfigDiag.cpp +++ b/Source/Core/DolphinWX/Input/InputConfigDiag.cpp @@ -45,7 +45,12 @@ #include "Core/HW/WiimoteEmu/WiimoteEmu.h" #include "Core/HotkeyManager.h" #include "DolphinWX/DolphinSlider.h" +#include "DolphinWX/Input/ClassicInputConfigDiag.h" +#include "DolphinWX/Input/DrumsInputConfigDiag.h" +#include "DolphinWX/Input/GuitarInputConfigDiag.h" #include "DolphinWX/Input/InputConfigDiag.h" +#include "DolphinWX/Input/NunchukInputConfigDiag.h" +#include "DolphinWX/Input/TurntableInputConfigDiag.h" #include "DolphinWX/WxUtils.h" #include "InputCommon/ControllerEmu.h" #include "InputCommon/ControllerInterface/ControllerInterface.h" @@ -66,22 +71,32 @@ void InputConfigDialog::ConfigExtension(wxCommandEvent& event) { case WiimoteEmu::EXT_NUNCHUK: { + NunchukInputConfigDialog dlg(this, m_config, _("Nunchuk Configuration"), m_port_num); + dlg.ShowModal(); } break; case WiimoteEmu::EXT_CLASSIC: { + ClassicInputConfigDialog dlg(this, m_config, _("Classic Controller Configuration"), m_port_num); + dlg.ShowModal(); } break; case WiimoteEmu::EXT_GUITAR: { + GuitarInputConfigDialog dlg(this, m_config, _("Guitar Configuration"), m_port_num); + dlg.ShowModal(); } break; case WiimoteEmu::EXT_DRUMS: { + DrumsInputConfigDialog dlg(this, m_config, _("Drums Configuration"), m_port_num); + dlg.ShowModal(); } break; case WiimoteEmu::EXT_TURNTABLE: { + TurntableInputConfigDialog dlg(this, m_config, _("Turntable Configuration"), m_port_num); + dlg.ShowModal(); } break; default: |
