Skip to content

Commit

Permalink
Add Middle Click to Missiels Defaults (Wiimote)
Browse files Browse the repository at this point in the history
  • Loading branch information
SirMangler authored Jul 19, 2024
1 parent 26beef4 commit f9eebc2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -800,10 +800,11 @@ void Wiimote::LoadDefaults(const ControllerInterface& ciface)

// DPad
// Missiles
// Middle click is Click 2 on Fedora/Wayland and Windows 10
if (using_metroid_ui)
m_buttons->SetControlExpression(6, "F");
m_buttons->SetControlExpression(6, "F | `Click 2`");
else
m_dpad->SetControlExpression(1, "F");
m_dpad->SetControlExpression(1, "F | `Click 2`");

// Motion Source
m_imu_ir->enabled = false;
Expand Down

0 comments on commit f9eebc2

Please sign in to comment.