From 8585e04be5cc06b2f96f5ffdaa55f0e693eb9157 Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Sat, 12 Aug 2023 13:09:05 -0300 Subject: [PATCH] qt: Fixed 4-axis 4-button joystick under Windows --- src/qt/win_joystick_rawinput.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt/win_joystick_rawinput.c b/src/qt/win_joystick_rawinput.c index 0add0b747..4d47fb309 100644 --- a/src/qt/win_joystick_rawinput.c +++ b/src/qt/win_joystick_rawinput.c @@ -445,7 +445,7 @@ joystick_process(void) { int d; - if (joystick_type == 7) + if (joystick_type == 0) return; for (int c = 0; c < joystick_get_max_joysticks(joystick_type); c++) {