From a0ba78ded25a2bcacc537b63f7d2f9b6fa5b7cbf Mon Sep 17 00:00:00 2001 From: OatmealDome Date: Tue, 6 Jul 2021 16:07:56 -0400 Subject: [PATCH] WiimoteEmu: Use proper names for left, right, and middle click on Quartz ciface --- Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp b/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp index f225898dce..4ccf02fc17 100644 --- a/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp +++ b/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp @@ -613,6 +613,11 @@ void Wiimote::LoadDefaults(const ControllerInterface& ciface) m_buttons->SetControlExpression(0, "`Click 1`"); // B m_buttons->SetControlExpression(1, "`Click 3`"); +#elif __APPLE__ + // A + m_buttons->SetControlExpression(0, "`Left Click`"); + // B + m_buttons->SetControlExpression(1, "`Right Click`"); #else // A m_buttons->SetControlExpression(0, "`Click 0`"); @@ -633,7 +638,11 @@ void Wiimote::LoadDefaults(const ControllerInterface& ciface) // Shake for (int i = 0; i < 3; ++i) +#ifdef __APPLE__ + m_shake->SetControlExpression(i, "`Middle Click`"); +#else m_shake->SetControlExpression(i, "`Click 2`"); +#endif // Pointing (IR) m_ir->SetControlExpression(0, "`Cursor Y-`");