Tas input works with bongos too.
This commit is contained in:
parent
ec148008d0
commit
3f03588dec
|
@ -111,7 +111,7 @@ public:
|
|||
NetPlaySetupDiag* g_NetPlaySetupDiag;
|
||||
wxCheatsWindow* g_CheatsWindow;
|
||||
TASInputDlg* g_TASInputDlg[4];
|
||||
|
||||
|
||||
void InitBitmaps();
|
||||
void DoPause();
|
||||
void DoStop();
|
||||
|
|
|
@ -649,9 +649,9 @@ void CFrame::OnTASInput(wxCommandEvent& event)
|
|||
{
|
||||
std::string number[4] = {"1","2","3","4"};
|
||||
|
||||
for(int i = 0; i < 4; i++)
|
||||
for (int i = 0; i < 4; ++i)
|
||||
{
|
||||
if(SConfig::GetInstance().m_SIDevice[i] == SIDEVICE_GC_CONTROLLER)
|
||||
if (SConfig::GetInstance().m_SIDevice[i] == SIDEVICE_GC_CONTROLLER || SConfig::GetInstance().m_SIDevice[i] == SIDEVICE_GC_TARUKONGA)
|
||||
{
|
||||
g_TASInputDlg[i]->Show(true);
|
||||
g_TASInputDlg[i]->SetTitle("TAS Input - Controller " + number[i]);
|
||||
|
|
|
@ -459,10 +459,6 @@ void TASInputDlg::GetValues(SPADStatus *PadStatus, int controllerID)
|
|||
GetKeyBoardInput(PadStatus);
|
||||
SetLandRTriggers();
|
||||
|
||||
// TODO: implement support for more controllers
|
||||
//if (controllerID != 0)
|
||||
// return;
|
||||
|
||||
PadStatus->stickX = mainX;
|
||||
PadStatus->stickY = mainY;
|
||||
PadStatus->substickX = cX;
|
||||
|
|
Loading…
Reference in New Issue