| @@ -125,6 +125,7 @@ GLFWAPI const char* glfwGetKeyName(const int key, int) | |||||
| case '>': return ">"; | case '>': return ">"; | ||||
| case '?': return "?"; | case '?': return "?"; | ||||
| case '@': return "@"; | case '@': return "@"; | ||||
| /* Rack expects lowercase, forced below | |||||
| case 'A': return "A"; | case 'A': return "A"; | ||||
| case 'B': return "B"; | case 'B': return "B"; | ||||
| case 'C': return "C"; | case 'C': return "C"; | ||||
| @@ -151,37 +152,38 @@ GLFWAPI const char* glfwGetKeyName(const int key, int) | |||||
| case 'X': return "X"; | case 'X': return "X"; | ||||
| case 'Y': return "Y"; | case 'Y': return "Y"; | ||||
| case 'Z': return "Z"; | case 'Z': return "Z"; | ||||
| */ | |||||
| case '[': return "["; | case '[': return "["; | ||||
| case ']': return "]"; | case ']': return "]"; | ||||
| case '^': return "^"; | case '^': return "^"; | ||||
| case '_': return "_"; | case '_': return "_"; | ||||
| case '`': return "`"; | case '`': return "`"; | ||||
| case 'a': return "a"; | |||||
| case 'b': return "b"; | |||||
| case 'c': return "c"; | |||||
| case 'd': return "d"; | |||||
| case 'e': return "e"; | |||||
| case 'f': return "f"; | |||||
| case 'g': return "g"; | |||||
| case 'h': return "h"; | |||||
| case 'i': return "i"; | |||||
| case 'j': return "j"; | |||||
| case 'k': return "k"; | |||||
| case 'l': return "l"; | |||||
| case 'm': return "m"; | |||||
| case 'n': return "n"; | |||||
| case 'o': return "o"; | |||||
| case 'p': return "p"; | |||||
| case 'q': return "q"; | |||||
| case 'r': return "r"; | |||||
| case 's': return "s"; | |||||
| case 't': return "t"; | |||||
| case 'u': return "u"; | |||||
| case 'v': return "v"; | |||||
| case 'w': return "w"; | |||||
| case 'x': return "x"; | |||||
| case 'y': return "y"; | |||||
| case 'z': return "z"; | |||||
| case 'a': case 'A': return "a"; | |||||
| case 'b': case 'B': return "b"; | |||||
| case 'c': case 'C': return "c"; | |||||
| case 'd': case 'D': return "d"; | |||||
| case 'e': case 'E': return "e"; | |||||
| case 'f': case 'F': return "f"; | |||||
| case 'g': case 'G': return "g"; | |||||
| case 'h': case 'H': return "h"; | |||||
| case 'i': case 'I': return "i"; | |||||
| case 'j': case 'J': return "j"; | |||||
| case 'k': case 'K': return "k"; | |||||
| case 'l': case 'L': return "l"; | |||||
| case 'm': case 'M': return "m"; | |||||
| case 'n': case 'N': return "n"; | |||||
| case 'o': case 'O': return "o"; | |||||
| case 'p': case 'P': return "p"; | |||||
| case 'q': case 'Q': return "q"; | |||||
| case 'r': case 'R': return "r"; | |||||
| case 's': case 'S': return "s"; | |||||
| case 't': case 'T': return "t"; | |||||
| case 'u': case 'U': return "u"; | |||||
| case 'v': case 'V': return "v"; | |||||
| case 'w': case 'W': return "w"; | |||||
| case 'x': case 'X': return "x"; | |||||
| case 'y': case 'Y': return "y"; | |||||
| case 'z': case 'Z': return "z"; | |||||
| default: return nullptr; | default: return nullptr; | ||||
| } | } | ||||
| } | } | ||||