Skip to content

Commit

Permalink
Add backspace->char mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
eigenraven committed Mar 16, 2023
1 parent 7b925da commit 4d8f766
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/lwjglx/opengl/Display.java
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ public void invoke(long window, int key, int scancode, int action, int mods) {
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);
Expand Down

0 comments on commit 4d8f766

Please sign in to comment.