Skip to content

Commit 51dd153

Browse files
authored
Merge pull request #481 from cscd98/shake
libretro: fix wiimote shake
2 parents d0e0c59 + 49a2f01 commit 51dd153

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Source/Core/DolphinLibretro/Input.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1638,9 +1638,9 @@ void retro_set_controller_port_device_wii(unsigned port, unsigned device)
16381638
f.irPassthrough = true;
16391639
Libretro::Input::UpdateWiimoteMappings(f, port, device);
16401640

1641-
wmShake->SetControlExpression(0, bindMouse("L2", devMouse + ":Middle")); // Wiimote shake X
1642-
wmShake->SetControlExpression(1, bindMouse("L2", devMouse + ":Middle")); // Wiimote shake Y
1643-
wmShake->SetControlExpression(2, bindMouse("L2", devMouse + ":Middle")); // Wiimote shake Z
1641+
wmShake->SetControlExpression(0, bindMouse("R2", devMouse + ":Middle")); // Wiimote shake X
1642+
wmShake->SetControlExpression(1, bindMouse("R2", devMouse + ":Middle")); // Wiimote shake Y
1643+
wmShake->SetControlExpression(2, bindMouse("R2", devMouse + ":Middle")); // Wiimote shake Z
16441644
}
16451645

16461646
ControllerEmu::ControlGroup* wmOptions = wm->GetWiimoteGroup(WiimoteGroup::Options);

0 commit comments

Comments
 (0)