From c46f248b582bd5e7a0a83f60c8a55ea9a9ec64ff Mon Sep 17 00:00:00 2001 From: Bemjo <77645116+Bemjo@users.noreply.github.com> Date: Sun, 31 Aug 2025 03:00:31 -0600 Subject: [PATCH] input: Fixed QUIRK_WIIMOTE from being applied to Wii U Pro Controllers. (#1031) --- input.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/input.cpp b/input.cpp index 1fc63d7..dc08225 100644 --- a/input.cpp +++ b/input.cpp @@ -2301,7 +2301,7 @@ static void update_num_hw(int dev, int num) set_led(led_path, "::sony4", (num == 0 || num == 4 || num == 5 || num == 6)); } } - else if (input[dev].quirk == QUIRK_WIIMOTE) + else if (input[dev].vid == 0x057e && (input[dev].pid == 0x0306 || input[dev].pid == 0x0330)) { led_path = get_led_path(dev); if (led_path) @@ -4839,7 +4839,7 @@ int input_test(int getchar) pool[n].fd = -1; continue; } - else + else if (!strcasestr(input[n].name, "Pro Controller")) { input[n].quirk = QUIRK_WIIMOTE; input[n].guncal[0] = 0;