Fix controller input lingering when unfocused (#210)

This commit is contained in:
Hyper
2025-01-26 20:49:13 +00:00
committed by GitHub
parent 4d41d8eaae
commit a5db997e5d
7 changed files with 89 additions and 76 deletions
@@ -123,6 +123,9 @@ public:
void OnSDLEvent(SDL_Event* event) override
{
if (!hid::IsInputAllowed())
return;
switch (event->type)
{
#ifdef UI_KBM_SUPPORT