mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Merge pull request #1213 from RachelBryk/wii-tas-input
Add wiimote tas input.
This commit is contained in:
@ -699,11 +699,18 @@ void CFrame::OnTASInput(wxCommandEvent& event)
|
||||
|
||||
for (int i = 0; i < 4; ++i)
|
||||
{
|
||||
if (SConfig::GetInstance().m_SIDevice[i] == SIDEVICE_GC_CONTROLLER || SConfig::GetInstance().m_SIDevice[i] == SIDEVICE_GC_TARUKONGA)
|
||||
if (SConfig::GetInstance().m_SIDevice[i] != SIDEVICE_NONE && SConfig::GetInstance().m_SIDevice[i] != SIDEVICE_GC_GBA)
|
||||
{
|
||||
g_TASInputDlg[i]->CreateGCLayout();
|
||||
g_TASInputDlg[i]->Show(true);
|
||||
g_TASInputDlg[i]->SetTitle("TAS Input - Controller " + number[i]);
|
||||
}
|
||||
if (g_wiimote_sources[i] == WIIMOTE_SRC_EMU && !(Core::IsRunning() && !SConfig::GetInstance().m_LocalCoreStartupParameter.bWii))
|
||||
{
|
||||
g_TASInputDlg[i+4]->CreateWiiLayout();
|
||||
g_TASInputDlg[i+4]->Show(true);
|
||||
g_TASInputDlg[i+4]->SetTitle("TAS Input - Wiimote " + number[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user