Wiimote: Fixed the switch during gameplay option. The only issue left seems to be that the real wiimote sometimes doesn't get the correct reporting mode

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2013 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson
2009-01-26 07:01:43 +00:00
parent 3c4a73d5a6
commit b0736a1508
10 changed files with 199 additions and 59 deletions

View File

@ -39,7 +39,15 @@ class ConfigDialog : public wxDialog
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
long style = wxDEFAULT_DIALOG_STYLE);
virtual ~ConfigDialog();
void CloseClick(wxCommandEvent& event);
void UpdateGUI();
wxTimer * m_ExitTimer;
void DoFlashLights();
void StartTimer();
void FlashLights(wxTimerEvent& WXUNUSED(event)) { DoFlashLights(); }
bool ShutDown; int TimerCounter;
private:
DECLARE_EVENT_TABLE();
@ -59,6 +67,7 @@ class ConfigDialog : public wxDialog
{
ID_CLOSE = 1000,
ID_ABOUTOGL,
IDTM_EXIT, // Timer
ID_NOTEBOOK,
ID_PAGEEMU,
@ -81,8 +90,7 @@ class ConfigDialog : public wxDialog
void DoExtensionConnectedDisconnected(); // Emulated
void GeneralSettingsChanged(wxCommandEvent& event);
void UpdateGUI();
void GeneralSettingsChanged(wxCommandEvent& event);
};
#endif