Cont/kb/mouse focus priorities and behaviors reworked (#15)

* ensure focus after cont/kb input + enable mouse on SDL_QUIT + force focus to prompt while open

* only force prompt focus if mouse is not active

* default kb input, mouse click switches to kb focused input
This commit is contained in:
thecozies
2024-05-02 00:51:09 -05:00
committed by GitHub
parent 956db3366f
commit 7491eabde0
10 changed files with 95 additions and 30 deletions
+1
View File
@@ -139,6 +139,7 @@ bool sdl_event_filter(void* userdata, SDL_Event* event) {
}
recomp::open_quit_game_prompt();
recomp::activate_mouse();
break;
}
case SDL_EventType::SDL_MOUSEWHEEL: