From 581b5a8731fc5e0550d2b2cabffafbb4a71081d3 Mon Sep 17 00:00:00 2001 From: Valiantsin Dzerakh Date: Mon, 26 Oct 2026 10:56:51 +0300 Subject: [PATCH] Read the gamepad again in every input poll: the menu's Minus+Plus change dropped the pad_read call from poll_merged, so the game saw no gamepad buttons or sticks Co-Authored-By: Claude Opus 5.5 --- runtime/input_win.c | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/input_win.c b/runtime/input_win.c index 1b7fb1f9..f0c37d20 100644 --- a/runtime/input_win.c +++ b/runtime/input_win.c @@ -399,6 +399,7 @@ static void poll_merged(uint64_t *buttons, int32_t *lx, int32_t *ly, int32_t *rx AcquireSRWLockExclusive(&lock); if (!state) start(); if (state > 0) { + if (state == 1) pad_read(&b, sl, sr); HWND w = gfx_window_handle(); if (w && w == GetForegroundWindow()) { uint8_t down[KEY_COUNT] = {0};