mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 08:39:45 +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:
@@ -139,7 +139,7 @@ typedef struct _GLFWlibraryNS
|
||||
id keyUpMonitor;
|
||||
id nibObjects;
|
||||
|
||||
char keyName[64];
|
||||
char keynames[GLFW_KEY_LAST + 1][17];
|
||||
short int keycodes[256];
|
||||
short int scancodes[GLFW_KEY_LAST + 1];
|
||||
char* clipboardString;
|
||||
|
||||
Reference in New Issue
Block a user