mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 16:44:11 +00:00
Unify key name string handling
This makes key names per-key static strings for all supported platforms.
Fixes #1200.
(cherry picked from commit 56ca0cb3b3)
This commit is contained in:
+1
-1
@@ -228,7 +228,7 @@ typedef struct _GLFWlibraryX11
|
||||
// Clipboard string (while the selection is owned)
|
||||
char* clipboardString;
|
||||
// Key name string
|
||||
char keyName[5];
|
||||
char keynames[GLFW_KEY_LAST + 1][5];
|
||||
// X11 keycode to GLFW key LUT
|
||||
short int keycodes[256];
|
||||
// GLFW key to X11 keycode LUT
|
||||
|
||||
Reference in New Issue
Block a user