mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
FreeLookManager: check for __APPLE__ with defined()
Previously this was treating the identifier as if it were always defined by default
This commit is contained in:
parent
f2292467ad
commit
3c64d030c5
@ -160,7 +160,7 @@ void FreeLookController::LoadDefaults(const ControllerInterface& ciface)
|
||||
"if(`Click 3`,`RelativeMouse Y-` * 0.10, 0)");
|
||||
m_rotation_gyro->SetControlExpression(GyroButtons::PitchDown,
|
||||
"if(`Click 3`,`RelativeMouse Y+` * 0.10, 0)");
|
||||
#elif __APPLE__
|
||||
#elif defined(__APPLE__)
|
||||
m_rotation_gyro->SetControlExpression(GyroButtons::PitchUp,
|
||||
"if(`Left Click`,`RelativeMouse Y-` * 0.10, 0)");
|
||||
m_rotation_gyro->SetControlExpression(GyroButtons::PitchDown,
|
||||
@ -191,7 +191,7 @@ void FreeLookController::LoadDefaults(const ControllerInterface& ciface)
|
||||
"if(`Click 3`,`RelativeMouse X-` * 0.10, 0)");
|
||||
m_rotation_gyro->SetControlExpression(GyroButtons::YawRight,
|
||||
"if(`Click 3`,`RelativeMouse X+` * 0.10, 0)");
|
||||
#elif __APPLE__
|
||||
#elif defined(__APPLE__)
|
||||
m_rotation_gyro->SetControlExpression(GyroButtons::YawLeft,
|
||||
"if(`Right Click`,`RelativeMouse X-` * 0.10, 0)");
|
||||
m_rotation_gyro->SetControlExpression(GyroButtons::YawRight,
|
||||
|
Loading…
Reference in New Issue
Block a user