Emulated Wiimote: Fixed the upside down mode for roll and pitch, 360° roll and pitch is now emulated by an analog gamepad

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2224 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson
2009-02-12 16:43:35 +00:00
parent e472b7f28d
commit 57c4620902
11 changed files with 154 additions and 53 deletions

View File

@ -639,14 +639,14 @@ void ReadDebugging(bool Emu, const void* _pData, int Size)
(PitchAdj == Pitch) ? "" : StringFromFormat("%i*", PitchAdj).c_str());
// ---------------------------------------------
// Test values
// Test the angles to x, y, z values formula by calculating the values back and forth
// -----------
Console::ClearScreen();
/*Console::ClearScreen();
// Show a test of our calculations
WiiMoteEmu::TiltTest(data[4], data[5], data[6]);
u8 x, y, z;
WiiMoteEmu::Tilt(x, y, z);
WiiMoteEmu::TiltTest(x, y, z);
WiiMoteEmu::TiltTest(x, y, z);*/
// -------------------------
Console::Print("Read[%s]: %s| %s\n", (Emu ? "Emu" : "Real"), TmpData.c_str(), RollPitch.c_str()); // No timestamp