mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-05 08:52:36 +00:00
Workaround to make mouse input work with the game being inside an ImGui window
Only works if the ctrl f10 debug menu is off
This commit is contained in:
parent
4ac5d171c9
commit
7e10d78341
@ -141,6 +141,9 @@ void Shutdown(const vk::Device& device) {
|
||||
|
||||
bool ProcessEvent(SDL_Event* event) {
|
||||
Sdl::ProcessEvent(event);
|
||||
if (!DebugState.IsShowingDebugMenuBar()) {
|
||||
return false; // temp workaround, only works if the debug menu is inactive
|
||||
}
|
||||
switch (event->type) {
|
||||
// Don't block release/up events
|
||||
case SDL_EVENT_MOUSE_MOTION:
|
||||
|
Loading…
Reference in New Issue
Block a user