WiimoteEmu: Use proper names for left, right, and middle click on Quartz ciface
This commit is contained in:
parent
ffdc8538a1
commit
a0ba78ded2
|
@ -613,6 +613,11 @@ void Wiimote::LoadDefaults(const ControllerInterface& ciface)
|
||||||
m_buttons->SetControlExpression(0, "`Click 1`");
|
m_buttons->SetControlExpression(0, "`Click 1`");
|
||||||
// B
|
// B
|
||||||
m_buttons->SetControlExpression(1, "`Click 3`");
|
m_buttons->SetControlExpression(1, "`Click 3`");
|
||||||
|
#elif __APPLE__
|
||||||
|
// A
|
||||||
|
m_buttons->SetControlExpression(0, "`Left Click`");
|
||||||
|
// B
|
||||||
|
m_buttons->SetControlExpression(1, "`Right Click`");
|
||||||
#else
|
#else
|
||||||
// A
|
// A
|
||||||
m_buttons->SetControlExpression(0, "`Click 0`");
|
m_buttons->SetControlExpression(0, "`Click 0`");
|
||||||
|
@ -633,7 +638,11 @@ void Wiimote::LoadDefaults(const ControllerInterface& ciface)
|
||||||
|
|
||||||
// Shake
|
// Shake
|
||||||
for (int i = 0; i < 3; ++i)
|
for (int i = 0; i < 3; ++i)
|
||||||
|
#ifdef __APPLE__
|
||||||
|
m_shake->SetControlExpression(i, "`Middle Click`");
|
||||||
|
#else
|
||||||
m_shake->SetControlExpression(i, "`Click 2`");
|
m_shake->SetControlExpression(i, "`Click 2`");
|
||||||
|
#endif
|
||||||
|
|
||||||
// Pointing (IR)
|
// Pointing (IR)
|
||||||
m_ir->SetControlExpression(0, "`Cursor Y-`");
|
m_ir->SetControlExpression(0, "`Cursor Y-`");
|
||||||
|
|
Loading…
Reference in New Issue