Explicitly support up to 65k keys

This commit is contained in:
Raven Szewczyk committed 2023-01-18 16:45:48 +00:00
1 parent 742f9eb8c6
commit da1a79b6b5
4 files changed
+28 -8

No files matched your search

@@ -274,6 +274,8 @@ public class KeyCodes {
public static int toGlfwKey(int lwjglKeyCode) {
switch (lwjglKeyCode) {
case Keyboard.KEY_NONE:
return 0;
case Keyboard.KEY_ESCAPE:
return GLFW.GLFW_KEY_ESCAPE;
case Keyboard.KEY_BACK: