SimplePad: Added input recording options to the GUI, now we just need to get rerecording to work to, perhaps one can rewind the input counter when a state is loaded? So the input counter is saved in the savestate for the pad.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2184 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson committed 2009-02-09 20:06:27 +00:00
1 parent 09c8368180
commit 5edef94753
13 files changed
+312 -196

No files matched your search

@@ -254,7 +254,7 @@ void ConfigDialog::DoGetButtons(int GetId)
bool Hat = false; // No hats allowed
bool AdvancedMapFilter = WiiMoteEmu::PadMapping[Controller].bFilterSettings;
bool NoTriggerFilter = WiiMoteEmu::PadMapping[Controller].bNoTriggerFilter;
// Values used in this function
char format[128];
@@ -314,7 +314,7 @@ void ConfigDialog::DoGetButtons(int GetId)
InputCommon::GetButton(
WiiMoteEmu::joyinfo[PadID].joy, PadID, WiiMoteEmu::joyinfo[PadID].NumButtons, WiiMoteEmu::joyinfo[PadID].NumAxes, WiiMoteEmu::joyinfo[PadID].NumHats,
g_Pressed, value, type, pressed, Succeed, Stop,
LeftRight, Axis, XInput, Button, Hat, AdvancedMapFilter);
LeftRight, Axis, XInput, Button, Hat, NoTriggerFilter);
}
// ========================= Check for keys
@@ -336,8 +336,8 @@ void ConfigDialog::DoGetButtons(int GetId)
sprintf(format, "[%d]", TmpTime);
SetButtonText(GetId, format);
/* Debug */
Console::Print("Keyboard: %i\n", g_Pressed);
/* Debug
Console::Print("Keyboard: %i\n", g_Pressed);*/
}
// Time's up