mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 14:39:01 +01:00
Merge pull request #10002 from OatmealDome/macos-nunchuk-shake
Nunchuk: Use correct middle click expression on macOS
This commit is contained in:
commit
ac6d008008
@ -208,6 +208,12 @@ void Nunchuk::LoadDefaults(const ControllerInterface& ciface)
|
|||||||
|
|
||||||
// Shake
|
// Shake
|
||||||
for (int i = 0; i < 3; ++i)
|
for (int i = 0; i < 3; ++i)
|
||||||
m_shake->SetControlExpression(i, "Click 2");
|
{
|
||||||
|
#ifdef __APPLE__
|
||||||
|
m_shake->SetControlExpression(i, "`Middle Click`");
|
||||||
|
#else
|
||||||
|
m_shake->SetControlExpression(i, "`Click 2`");
|
||||||
|
#endif
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} // namespace WiimoteEmu
|
} // namespace WiimoteEmu
|
||||||
|
Loading…
x
Reference in New Issue
Block a user