WiimoteEmu: Use proper names for left, right, and middle click on Quartz ciface

This commit is contained in:
OatmealDome 2021-07-06 16:07:56 -04:00
parent ffdc8538a1
commit a0ba78ded2
1 changed files with 9 additions and 0 deletions

View File

@ -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-`");