From f9eebc2362275a94f57bcc0e0097e2b880e760ff Mon Sep 17 00:00:00 2001 From: Sir Mangler Date: Fri, 19 Jul 2024 13:52:34 +0100 Subject: [PATCH] Add Middle Click to Missiels Defaults (Wiimote) --- Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp b/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp index 41a23f02a2d8..2e4129ad3629 100644 --- a/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp +++ b/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp @@ -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;