From 03c45646b4a9c772062afbb6a4eb10e6d5178f75 Mon Sep 17 00:00:00 2001 From: tmator Date: Tue, 29 Dec 2009 18:00:41 +0000 Subject: [PATCH] fiw nowx build git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4749 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_Wiimote/Src/EmuDynamics.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Plugins/Plugin_Wiimote/Src/EmuDynamics.cpp b/Source/Plugins/Plugin_Wiimote/Src/EmuDynamics.cpp index 36e3d59e11..d04a3178b9 100644 --- a/Source/Plugins/Plugin_Wiimote/Src/EmuDynamics.cpp +++ b/Source/Plugins/Plugin_Wiimote/Src/EmuDynamics.cpp @@ -189,6 +189,8 @@ void TiltByKeyboard(STiltData &_TiltData, int Type) int _PITCH_DOWN_ = (Type) ? ENC_PITCH_D : EWM_PITCH_D; // Do roll/pitch or free swing +#if defined(HAVE_WX) && HAVE_WX + if (IsKey(_ROLL_LEFT_)) { if (WiiMapping[g_ID].Tilt.RollRange) @@ -249,6 +251,7 @@ void TiltByKeyboard(STiltData &_TiltData, int Type) { _TiltData.Pitch = 0; } +#endif } // Tilting Wiimote (Wario Land aiming, Mario Kart steering and other things)