mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
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.
This commit is contained in:
@ -33,7 +33,10 @@
|
||||
#include "DolphinWX/Config/GCAdapterConfigDiag.h"
|
||||
#include "DolphinWX/ControllerConfigDiag.h"
|
||||
#include "DolphinWX/DolphinSlider.h"
|
||||
#include "DolphinWX/Input/GCKeyboardInputConfigDiag.h"
|
||||
#include "DolphinWX/Input/GCPadInputConfigDiag.h"
|
||||
#include "DolphinWX/Input/InputConfigDiag.h"
|
||||
#include "DolphinWX/Input/WiimoteInputConfigDiag.h"
|
||||
#include "DolphinWX/WxUtils.h"
|
||||
#include "InputCommon/GCAdapter.h"
|
||||
|
||||
@ -447,7 +450,7 @@ void ControllerConfigDiag::OnGameCubeConfigButton(wxCommandEvent& event)
|
||||
|
||||
if (SConfig::GetInstance().m_SIDevice[port_num] == SIDEVICE_GC_KEYBOARD)
|
||||
{
|
||||
InputConfigDialog config_diag(
|
||||
GCKeyboardInputConfigDialog config_diag(
|
||||
this, *key_plugin,
|
||||
wxString::Format("GameCube Keyboard Configuration Port %i", port_num + 1), port_num);
|
||||
config_diag.ShowModal();
|
||||
@ -462,7 +465,7 @@ void ControllerConfigDiag::OnGameCubeConfigButton(wxCommandEvent& event)
|
||||
}
|
||||
else
|
||||
{
|
||||
InputConfigDialog config_diag(
|
||||
GCPadInputConfigDialog config_diag(
|
||||
this, *pad_plugin,
|
||||
wxString::Format("GameCube Controller Configuration Port %i", port_num + 1), port_num);
|
||||
config_diag.ShowModal();
|
||||
@ -498,9 +501,9 @@ void ControllerConfigDiag::OnWiimoteConfigButton(wxCommandEvent& ev)
|
||||
|
||||
HotkeyManagerEmu::Enable(false);
|
||||
|
||||
int port_num = m_wiimote_index_from_config_id[ev.GetId()];
|
||||
const int port_num = m_wiimote_index_from_config_id[ev.GetId()];
|
||||
|
||||
InputConfigDialog m_ConfigFrame(
|
||||
WiimoteInputConfigDialog m_ConfigFrame(
|
||||
this, *wiimote_plugin,
|
||||
wxString::Format("Dolphin Emulated Wii Remote Configuration Port %i", port_num + 1),
|
||||
port_num);
|
||||
|
Reference in New Issue
Block a user