From ea0d8a0d78911cef7ae094079a0727365f747d4e Mon Sep 17 00:00:00 2001 From: Megamouse Date: Wed, 15 Apr 2026 23:47:13 +0200 Subject: [PATCH] Qt/input: fix mouse button names I tested the last PR with an older commit and thought it worked. --- rpcs3/Input/keyboard_pad_handler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Input/keyboard_pad_handler.cpp b/rpcs3/Input/keyboard_pad_handler.cpp index 5e93ce64bd..d48b857ccf 100644 --- a/rpcs3/Input/keyboard_pad_handler.cpp +++ b/rpcs3/Input/keyboard_pad_handler.cpp @@ -788,7 +788,7 @@ std::vector keyboard_pad_handler::list_devices() std::string keyboard_pad_handler::GetMouseName(const QMouseEvent* event) { - return GetMouseName(event->button()); + return GetMouseName(static_cast(mouse::button) + static_cast(event->button())); } std::string keyboard_pad_handler::GetMouseName(u32 button)