HW/GCPad: Make Android default to shaking the device for Triforce coin input.

This commit is contained in:
Jordan Woyak
2026-02-14 00:44:35 -06:00
parent 051133787e
commit bc0c3d9f6a
+3
View File
@@ -194,6 +194,9 @@ void GCPad::LoadDefaults(const ControllerInterface& ciface)
#ifdef ANDROID
// Rumble
m_rumble->SetControlExpression(0, "`Android/0/Device Sensors:Motor 0`");
// Triforce Coin
m_triforce->SetControlExpression(2, "pulse(`Android/0/Device Sensors:Accel Down` > 15, 0.1)");
#else
// Buttons: A, B, X, Y, Z
m_buttons->SetControlExpression(0, "`X`");