Adds Support for multiple GameCube Controllers

Conflicts:

	Source/Core/DolphinWX/Src/Frame.cpp
This commit is contained in:
Braden
2012-11-11 15:35:08 -06:00
committed by Rachel Bryk
parent 8a4b6f3d73
commit 59d6df7046
4 changed files with 64 additions and 7 deletions

View File

@ -647,7 +647,29 @@ void CFrame::OnRecordReadOnly(wxCommandEvent& event)
void CFrame::OnTASInput(wxCommandEvent& event)
{
g_TASInputDlg->Show(true);
if(SConfig::GetInstance().m_SIDevice[0] == SIDEVICE_GC_CONTROLLER)
{
g_TASInputDlg->Show(true);
g_TASInputDlg->SetTitle("TAS Input - Controller 1");
}
if(SConfig::GetInstance().m_SIDevice[1] == SIDEVICE_GC_CONTROLLER)
{
g_TASInputDlg1->Show(true);
g_TASInputDlg1->SetTitle("TAS Input - Controller 2");
}
if(SConfig::GetInstance().m_SIDevice[2] == SIDEVICE_GC_CONTROLLER)
{
g_TASInputDlg2->Show(true);
g_TASInputDlg2->SetTitle("TAS Input - Controller 3");
}
if(SConfig::GetInstance().m_SIDevice[3] == SIDEVICE_GC_CONTROLLER)
{
g_TASInputDlg3->Show(true);
g_TASInputDlg3->SetTitle("TAS Input - Controller 4");
}
}
void CFrame::OnTogglePauseMovie(wxCommandEvent& WXUNUSED (event))