From f44e50b9cd8689067dd309599d7ee90a780cfd56 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Mon, 23 Aug 2021 23:46:18 +0200 Subject: [PATCH] mmjoy: fix pressure sensitivity button It defaulted to JOY_POVFORWARD (same dumb facepalm bug as with XInput earlier) --- rpcs3/Input/mm_joystick_handler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Input/mm_joystick_handler.h b/rpcs3/Input/mm_joystick_handler.h index d56a8ce75f..ebd2bdc7ff 100644 --- a/rpcs3/Input/mm_joystick_handler.h +++ b/rpcs3/Input/mm_joystick_handler.h @@ -16,7 +16,7 @@ class mm_joystick_handler final : public PadHandlerBase { - static constexpr u64 NO_BUTTON = 0; + static constexpr u64 NO_BUTTON = u64{umax}; // Unique names for the config files and our pad settings dialog const std::unordered_map button_list =