mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp
synced 2026-08-31 18:02:45 -04:00
Handle controller up events even while binding inputs to avoid spamming the bind button
This commit is contained in:
@@ -287,6 +287,10 @@ bool sdl_event_filter(void* userdata, SDL_Event* event) {
|
||||
case SDL_EventType::SDL_DROPCOMPLETE:
|
||||
recompui::drop_files(DropState.files_dropped);
|
||||
break;
|
||||
case SDL_EventType::SDL_CONTROLLERBUTTONUP:
|
||||
// Always queue button up events to avoid missing them during binding.
|
||||
recompui::queue_event(*event);
|
||||
break;
|
||||
default:
|
||||
queue_if_enabled(event);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user