Skip to content
Permalink
Browse files
Merge pull request #10002 from OatmealDome/macos-nunchuk-shake
Nunchuk: Use correct middle click expression on macOS
  • Loading branch information
Tilka committed Aug 6, 2021
2 parents 5cd2160 + fc4f6bb commit ac6d008
Showing 1 changed file with 7 additions and 1 deletion.
@@ -208,6 +208,12 @@ void Nunchuk::LoadDefaults(const ControllerInterface& ciface)

// Shake
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

0 comments on commit ac6d008

Please sign in to comment.