mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-11 14:19:10 +00:00
controller select crash fix + minor changes (#3355)
* fix crash and ingame controller check * performance issue fix * add change controller event to imgui
This commit is contained in:
@@ -24,8 +24,10 @@ bool Wrapper::ProcessEvent(SDL_Event* event) {
|
||||
case SDL_EVENT_WINDOW_EXPOSED:
|
||||
return false;
|
||||
case SDL_EVENT_GAMEPAD_ADDED:
|
||||
emit SDLEvent(SDL_EVENT_GAMEPAD_ADDED, 0, 0);
|
||||
return false;
|
||||
case SDL_EVENT_GAMEPAD_REMOVED:
|
||||
emit SDLEvent(SDL_EVENT_GAMEPAD_REMOVED, 0, 0);
|
||||
return false;
|
||||
case SDL_EVENT_QUIT:
|
||||
emit SDLEvent(SDL_EVENT_QUIT, 0, 0);
|
||||
|
||||
Reference in New Issue
Block a user