macOS: Add support for dead keys

I have modified GLFW to support dead keys on macOS. That was painful.
Fixes #465
This commit is contained in:
Kovid Goyal
2018-04-20 14:25:53 +05:30
parent d4f426d2ce
commit 32f16ee5f5
3 changed files with 91 additions and 16 deletions

View File

@@ -101,6 +101,8 @@ typedef struct _GLFWwindowNS
// The text input filter callback
GLFWcocoatextinputfilterfun textInputFilterCallback;
// Dead key state
UInt32 deadKeyState;
} _GLFWwindowNS;
// Cocoa-specific global data