diff --git a/README.md b/README.md index 859c5000..0123d1a4 100644 --- a/README.md +++ b/README.md @@ -210,6 +210,8 @@ See the [GLFW documentation](http://www.glfw.org/docs/latest/). - [Cocoa] Bugfix: The `GLFW_KEY_GRAVE_ACCENT` and `GLFW_KEY_WORLD_1` keys had been flipped + - [Cocoa] Bugfix: The `GLFW_KEY_F13` key was reported as + `GLFW_KEY_PRINT_SCREEN` ## Contact diff --git a/src/cocoa_window.m b/src/cocoa_window.m index 0016a701..e5d7d18e 100644 --- a/src/cocoa_window.m +++ b/src/cocoa_window.m @@ -359,7 +359,7 @@ static int translateKey(unsigned int key) /* 66 */ GLFW_KEY_UNKNOWN, /* 67 */ GLFW_KEY_F11, /* 68 */ GLFW_KEY_UNKNOWN, - /* 69 */ GLFW_KEY_PRINT_SCREEN, + /* 69 */ GLFW_KEY_F13, /* 6a */ GLFW_KEY_F16, /* 6b */ GLFW_KEY_F14, /* 6c */ GLFW_KEY_UNKNOWN,