Frontend: Clear focus after loading/saving state
This commit is contained in:
1 parent
4181b8c6b5
commit
83b67b3c4c
3 files changed
+16
-3
No files matched your search
@@ -180,8 +180,8 @@ bool ImGui_ImplSDL2_ProcessEvent(const SDL_Event* event)
|
||||
{
|
||||
static constexpr unsigned int mapping[][2] = {{SDL_CONTROLLER_BUTTON_A, ImGuiNavInput_Activate},
|
||||
{SDL_CONTROLLER_BUTTON_B, ImGuiNavInput_Cancel},
|
||||
{SDL_CONTROLLER_BUTTON_X, ImGuiNavInput_Input},
|
||||
{SDL_CONTROLLER_BUTTON_Y, ImGuiNavInput_Menu},
|
||||
{SDL_CONTROLLER_BUTTON_Y, ImGuiNavInput_Input},
|
||||
// {SDL_CONTROLLER_BUTTON_X, ImGuiNavInput_Menu},
|
||||
{SDL_CONTROLLER_BUTTON_LEFTSHOULDER, ImGuiNavInput_FocusPrev},
|
||||
{SDL_CONTROLLER_BUTTON_RIGHTSHOULDER, ImGuiNavInput_FocusNext},
|
||||
{SDL_CONTROLLER_BUTTON_DPAD_UP, ImGuiNavInput_DpadUp},
|
||||
|
||||
Reference in new issue
Block a user