Fix L and R triggers with tas input.

Partially copied from revision 1be844406c, but allows < fully pressed, and without the typo.
This commit is contained in:
Rachel Bryk
2013-07-23 19:24:05 -04:00
parent 09338c673c
commit 9fdc7360cd
2 changed files with 49 additions and 16 deletions

View File

@ -33,6 +33,7 @@ class TASInputDlg : public wxDialog
void ButtonTurbo();
void GetKeyBoardInput(SPADStatus *PadStatus);
bool TextBoxHasFocus();
void SetLandRTriggers();
bool HasFocus();
wxBitmap CreateStickBitmap(int x, int y);
@ -78,7 +79,7 @@ class TASInputDlg : public wxDialog
wxStaticBitmap* static_bitmap_main, *static_bitmap_c;
wxBitmap bitmap;
bool A_turbo,B_turbo, X_turbo, Y_turbo, Z_turbo, L_turbo, R_turbo, START_turbo,DL_turbo,DR_turbo,DD_turbo,DU_turbo;
bool A_cont,B_cont, X_cont, Y_cont, Z_cont, L_cont, R_cont, START_cont,DL_cont,DR_cont,DD_cont,DU_cont,mstickx,msticky,cstickx,csticky;
bool A_cont,B_cont, X_cont, Y_cont, Z_cont, L_cont, L_button_cont, R_cont, R_button_cont, START_cont,DL_cont,DR_cont,DD_cont,DU_cont,mstickx,msticky,cstickx,csticky;
int xaxis,yaxis,c_xaxis,c_yaxis,update,update_axis;
DECLARE_EVENT_TABLE();