mirror of
https://github.com/gwm17/glfw.git
synced 2025-01-31 03:18:50 -05:00
X11: Use XKB key name MENU for Menu key
(cherry picked from commit 560304e0f4
)
This commit is contained in:
parent
cf87e6549c
commit
4aaf8ba1d2
|
@ -337,7 +337,7 @@ static void createKeyTables(void)
|
||||||
{ GLFW_KEY_RIGHT_CONTROL, "RCTL" },
|
{ GLFW_KEY_RIGHT_CONTROL, "RCTL" },
|
||||||
{ GLFW_KEY_RIGHT_ALT, "RALT" },
|
{ GLFW_KEY_RIGHT_ALT, "RALT" },
|
||||||
{ GLFW_KEY_RIGHT_SUPER, "RWIN" },
|
{ GLFW_KEY_RIGHT_SUPER, "RWIN" },
|
||||||
{ GLFW_KEY_MENU, "COMP" }
|
{ GLFW_KEY_MENU, "MENU" }
|
||||||
};
|
};
|
||||||
|
|
||||||
// Find the X11 key code -> GLFW key code mapping
|
// Find the X11 key code -> GLFW key code mapping
|
||||||
|
|
Loading…
Reference in New Issue
Block a user