Fixed GLFW_KEY_GRAVE_ACCENT and GLFW_KEY_WORLD_1 on Cocoa.

This commit is contained in:
Camilla Berglund 2012-02-01 00:00:20 +01:00
parent b6c510c9d1
commit 42cf91a07c

View File

@ -147,7 +147,7 @@ static const unsigned int MAC_TO_GLFW_KEYCODE_MAPPING[128] =
/* 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 */ -1, /* 0a */ GLFW_KEY_GRAVE_ACCENT,
/* 0b */ GLFW_KEY_B, /* 0b */ GLFW_KEY_B,
/* 0c */ GLFW_KEY_Q, /* 0c */ GLFW_KEY_Q,
/* 0d */ GLFW_KEY_W, /* 0d */ GLFW_KEY_W,
@ -187,7 +187,7 @@ static const unsigned int MAC_TO_GLFW_KEYCODE_MAPPING[128] =
/* 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_GRAVE_ACCENT, /* 32 */ GLFW_KEY_WORLD_1,
/* 33 */ GLFW_KEY_BACKSPACE, /* 33 */ GLFW_KEY_BACKSPACE,
/* 34 */ -1, /* 34 */ -1,
/* 35 */ GLFW_KEY_ESCAPE, /* 35 */ GLFW_KEY_ESCAPE,