mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-08 20:45:34 +00:00
ImGuiManager: Fix tab key handling
This commit is contained in:
parent
c9ae4dcd0f
commit
9c819d9676
@ -448,7 +448,8 @@ void ImGuiManager::SetKeyMap()
|
||||
const char* alt_name;
|
||||
};
|
||||
|
||||
static constexpr KeyMapping mapping[] = {{ImGuiKey_LeftArrow, "Left", nullptr},
|
||||
static constexpr KeyMapping mapping[] = {
|
||||
{ImGuiKey_LeftArrow, "Left", nullptr},
|
||||
{ImGuiKey_RightArrow, "Right", nullptr},
|
||||
{ImGuiKey_UpArrow, "Up", nullptr},
|
||||
{ImGuiKey_DownArrow, "Down", nullptr},
|
||||
@ -471,6 +472,9 @@ void ImGuiManager::SetKeyMap()
|
||||
{ImGuiKey_RightAlt, "RightAlt", nullptr},
|
||||
{ImGuiKey_RightSuper, "RightSuper", nullptr},
|
||||
{ImGuiKey_Menu, "Menu", nullptr},
|
||||
{ImGuiKey_Tab, "Tab", nullptr},
|
||||
// Hack: Report Qt's "Backtab" as Tab, we forward the shift so it gets mapped correctly
|
||||
{ImGuiKey_Tab, "Backtab", nullptr},
|
||||
{ImGuiKey_0, "0", nullptr},
|
||||
{ImGuiKey_1, "1", nullptr},
|
||||
{ImGuiKey_2, "2", nullptr},
|
||||
|
Loading…
x
Reference in New Issue
Block a user