mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06:00
Unbreak nowx build.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5499 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -181,13 +181,13 @@ void TiltByGamepad(STiltData &_TiltData, int Type)
|
|||||||
// Tilting by keyboard
|
// Tilting by keyboard
|
||||||
void TiltByKeyboard(STiltData &_TiltData, int Type)
|
void TiltByKeyboard(STiltData &_TiltData, int Type)
|
||||||
{
|
{
|
||||||
|
#if defined(HAVE_WX) && HAVE_WX
|
||||||
int _ROLL_LEFT_ = (Type) ? ENC_ROLL_L : EWM_ROLL_L;
|
int _ROLL_LEFT_ = (Type) ? ENC_ROLL_L : EWM_ROLL_L;
|
||||||
int _ROLL_RIGHT_ = (Type) ? ENC_ROLL_R : EWM_ROLL_R;
|
int _ROLL_RIGHT_ = (Type) ? ENC_ROLL_R : EWM_ROLL_R;
|
||||||
int _PITCH_UP_ = (Type) ? ENC_PITCH_U : EWM_PITCH_U;
|
int _PITCH_UP_ = (Type) ? ENC_PITCH_U : EWM_PITCH_U;
|
||||||
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_))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user