Initial commit with balance board working on Linux.

Will not work on any other platform currently.
Missing any sort of config, and definitely no emulation mode.
This commit is contained in:
Matthew Parlane
2013-05-18 20:31:37 +12:00
parent a905b18ef1
commit 19252f4e0e
12 changed files with 196 additions and 89 deletions

View File

@ -15,7 +15,7 @@ WiimoteConfigDiag::WiimoteConfigDiag(wxWindow* const parent, InputPlugin& plugin
wxStaticText* wiimote_label[4];
wxChoice* wiimote_source_ch[4];
for (unsigned int i = 0; i < 4; ++i)
for (unsigned int i = 0; i < MAX_WIIMOTES; ++i)
{
wxString str;
str.Printf(_("Wiimote %i"), i + 1);
@ -206,7 +206,7 @@ void WiimoteConfigDiag::SelectSource(wxCommandEvent& event)
void WiimoteConfigDiag::RevertSource()
{
for (int i = 0; i < 4; ++i)
for (int i = 0; i < MAX_WIIMOTES; ++i)
g_wiimote_sources[i] = m_orig_wiimote_sources[i];
}