fiw nowx build

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4749 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
tmator 2009-12-29 18:00:41 +00:00
parent 97406ec6eb
commit 03c45646b4
1 changed files with 3 additions and 0 deletions

View File

@ -189,6 +189,8 @@ void TiltByKeyboard(STiltData &_TiltData, int Type)
int _PITCH_DOWN_ = (Type) ? ENC_PITCH_D : EWM_PITCH_D; int _PITCH_DOWN_ = (Type) ? ENC_PITCH_D : EWM_PITCH_D;
// Do roll/pitch or free swing // Do roll/pitch or free swing
#if defined(HAVE_WX) && HAVE_WX
if (IsKey(_ROLL_LEFT_)) if (IsKey(_ROLL_LEFT_))
{ {
if (WiiMapping[g_ID].Tilt.RollRange) if (WiiMapping[g_ID].Tilt.RollRange)
@ -249,6 +251,7 @@ void TiltByKeyboard(STiltData &_TiltData, int Type)
{ {
_TiltData.Pitch = 0; _TiltData.Pitch = 0;
} }
#endif
} }
// Tilting Wiimote (Wario Land aiming, Mario Kart steering and other things) // Tilting Wiimote (Wario Land aiming, Mario Kart steering and other things)