mirror of
https://github.com/glfw/glfw.git
synced 2024-11-29 21:37:27 +00:00
Fixed Grave and World 1 being flipped.
This commit is contained in:
parent
1f6696d433
commit
201d0a78b1
@ -208,6 +208,9 @@ See the [GLFW documentation](http://www.glfw.org/docs/latest/).
|
|||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
|
- [Cocoa] Bugfix: The `GLFW_KEY_GRAVE_ACCENT` and `GLFW_KEY_WORLD_1` keys had
|
||||||
|
been flipped
|
||||||
|
|
||||||
|
|
||||||
## Contact
|
## Contact
|
||||||
|
|
||||||
|
@ -264,7 +264,7 @@ static int translateKey(unsigned int key)
|
|||||||
/* 07 */ GLFW_KEY_X,
|
/* 07 */ GLFW_KEY_X,
|
||||||
/* 08 */ GLFW_KEY_C,
|
/* 08 */ GLFW_KEY_C,
|
||||||
/* 09 */ GLFW_KEY_V,
|
/* 09 */ GLFW_KEY_V,
|
||||||
/* 0a */ GLFW_KEY_GRAVE_ACCENT,
|
/* 0a */ GLFW_KEY_WORLD_1,
|
||||||
/* 0b */ GLFW_KEY_B,
|
/* 0b */ GLFW_KEY_B,
|
||||||
/* 0c */ GLFW_KEY_Q,
|
/* 0c */ GLFW_KEY_Q,
|
||||||
/* 0d */ GLFW_KEY_W,
|
/* 0d */ GLFW_KEY_W,
|
||||||
@ -304,7 +304,7 @@ static int translateKey(unsigned int key)
|
|||||||
/* 2f */ GLFW_KEY_PERIOD,
|
/* 2f */ GLFW_KEY_PERIOD,
|
||||||
/* 30 */ GLFW_KEY_TAB,
|
/* 30 */ GLFW_KEY_TAB,
|
||||||
/* 31 */ GLFW_KEY_SPACE,
|
/* 31 */ GLFW_KEY_SPACE,
|
||||||
/* 32 */ GLFW_KEY_WORLD_1,
|
/* 32 */ GLFW_KEY_GRAVE_ACCENT,
|
||||||
/* 33 */ GLFW_KEY_BACKSPACE,
|
/* 33 */ GLFW_KEY_BACKSPACE,
|
||||||
/* 34 */ GLFW_KEY_UNKNOWN,
|
/* 34 */ GLFW_KEY_UNKNOWN,
|
||||||
/* 35 */ GLFW_KEY_ESCAPE,
|
/* 35 */ GLFW_KEY_ESCAPE,
|
||||||
|
Loading…
Reference in New Issue
Block a user