mirror of
https://github.com/GTNewHorizons/lwjgl3ify.git
synced 2026-11-25 14:34:42 +00:00
Explicitly support up to 65k keys
This commit is contained in:
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:
|
||||
|
||||
Reference in new issue
Block a user