Fixed Grave and World 1 being flipped.

This commit is contained in:
Camilla Berglund 2013-09-25 23:55:05 +02:00
parent 1f6696d433
commit 201d0a78b1
2 changed files with 5 additions and 2 deletions

View File

@ -208,6 +208,9 @@ See the [GLFW documentation](http://www.glfw.org/docs/latest/).
## Changelog
- [Cocoa] Bugfix: The `GLFW_KEY_GRAVE_ACCENT` and `GLFW_KEY_WORLD_1` keys had
been flipped
## Contact

View File

@ -264,7 +264,7 @@ static int translateKey(unsigned int key)
/* 07 */ GLFW_KEY_X,
/* 08 */ GLFW_KEY_C,
/* 09 */ GLFW_KEY_V,
/* 0a */ GLFW_KEY_GRAVE_ACCENT,
/* 0a */ GLFW_KEY_WORLD_1,
/* 0b */ GLFW_KEY_B,
/* 0c */ GLFW_KEY_Q,
/* 0d */ GLFW_KEY_W,
@ -304,7 +304,7 @@ static int translateKey(unsigned int key)
/* 2f */ GLFW_KEY_PERIOD,
/* 30 */ GLFW_KEY_TAB,
/* 31 */ GLFW_KEY_SPACE,
/* 32 */ GLFW_KEY_WORLD_1,
/* 32 */ GLFW_KEY_GRAVE_ACCENT,
/* 33 */ GLFW_KEY_BACKSPACE,
/* 34 */ GLFW_KEY_UNKNOWN,
/* 35 */ GLFW_KEY_ESCAPE,