mirror of
https://github.com/GTNewHorizons/lwjgl3ify.git
synced 2026-11-26 23:13:01 +00:00
Add backspace->char mapping
This commit is contained in:
1 parent
7b925da85c
commit
4d8f766320
1 file changed
+1
@@ -186,6 +186,7 @@ public class Display {
|
||||
case GLFW_KEY_ENTER -> 0x0D;
|
||||
case GLFW_KEY_ESCAPE -> 0x1B;
|
||||
case GLFW_KEY_TAB -> 0x09;
|
||||
case GLFW_KEY_BACKSPACE -> 0x08;
|
||||
default -> '\0';
|
||||
};
|
||||
Keyboard.addGlfwKeyEvent(window, key, scancode, action, mods, mappedChar);
|
||||
|
||||
Reference in new issue
Block a user