mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-05-19 01:08:42 -05:00
Fix controller input lingering when unfocused (#210)
This commit is contained in:
@@ -53,7 +53,7 @@ class SDLEventListenerForMessageWindow : public SDLEventListener
|
||||
public:
|
||||
void OnSDLEvent(SDL_Event* event) override
|
||||
{
|
||||
if (App::s_isInit || !MessageWindow::s_isVisible)
|
||||
if (App::s_isInit || !MessageWindow::s_isVisible || !hid::IsInputAllowed())
|
||||
return;
|
||||
|
||||
constexpr float axisValueRange = 32767.0f;
|
||||
|
||||
Reference in New Issue
Block a user