mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-11-25 10:36:55 +01:00
Remove some dead code
This commit is contained in:
parent
13aa0a4fd0
commit
08db65bd5a
@ -96,10 +96,7 @@ ProControllerInputPanel::ProControllerInputPanel(wxWindow* parent)
|
|||||||
|
|
||||||
//////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
// LoadController(controller);
|
|
||||||
|
|
||||||
SetSizerAndFit(main_sizer);
|
SetSizerAndFit(main_sizer);
|
||||||
//wxWindow::Show(show);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ProControllerInputPanel::add_button_row(wxGridBagSizer *sizer, sint32 row, sint32 column, const ProController::ButtonId &button_id) {
|
void ProControllerInputPanel::add_button_row(wxGridBagSizer *sizer, sint32 row, sint32 column, const ProController::ButtonId &button_id) {
|
||||||
|
@ -139,13 +139,8 @@ VPADInputPanel::VPADInputPanel(wxWindow* parent)
|
|||||||
|
|
||||||
//////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
//LoadController(controller);
|
|
||||||
|
|
||||||
SetSizer(main_sizer);
|
SetSizer(main_sizer);
|
||||||
Layout();
|
Layout();
|
||||||
|
|
||||||
//SetSizerAndFit(main_sizer);
|
|
||||||
//wxWindow::Show(show);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void VPADInputPanel::add_button_row(wxGridBagSizer *sizer, sint32 row, sint32 column, const VPADController::ButtonId &button_id) {
|
void VPADInputPanel::add_button_row(wxGridBagSizer *sizer, sint32 row, sint32 column, const VPADController::ButtonId &button_id) {
|
||||||
|
@ -211,9 +211,6 @@ void WiimoteInputPanel::on_volume_change(wxCommandEvent& event)
|
|||||||
|
|
||||||
void WiimoteInputPanel::on_extension_change(wxCommandEvent& event)
|
void WiimoteInputPanel::on_extension_change(wxCommandEvent& event)
|
||||||
{
|
{
|
||||||
const auto obj = dynamic_cast<wxCheckBox*>(event.GetEventObject());
|
|
||||||
wxASSERT(obj);
|
|
||||||
|
|
||||||
if(m_motion_plus->GetValue() && m_nunchuck->GetValue())
|
if(m_motion_plus->GetValue() && m_nunchuck->GetValue())
|
||||||
set_active_device_type(kWAPDevMPLSFreeStyle);
|
set_active_device_type(kWAPDevMPLSFreeStyle);
|
||||||
else if(m_motion_plus->GetValue() && m_classic->GetValue())
|
else if(m_motion_plus->GetValue() && m_classic->GetValue())
|
||||||
|
Loading…
Reference in New Issue
Block a user