Changed all key translation to arrays.

This commit is contained in:
Camilla Berglund
2014-03-30 16:23:22 +02:00
parent 2b62858770
commit 1495134398
9 changed files with 368 additions and 447 deletions
+2 -3
View File
@@ -117,9 +117,8 @@ typedef struct _GLFWlibraryX11
int errorCode;
// Clipboard string (while the selection is owned)
char* clipboardString;
// LUT for mapping X11 key codes to GLFW key codes
int keyCodeLUT[256];
// X11 keycode to GLFW key LUT
short int publicKeys[256];
// Window manager atoms
Atom WM_PROTOCOLS;