Delayed key release fix (#52)

* Fix handling of out-of-order char events when the key is released after being repeated.

Closes #48

* Forward org.lwjgl.input.Mouse setGrabbed calls to lwjglx for better debugger support
This commit is contained in:
Raven Szewczyk authored and GitHub committed 2023-03-26 12:58:27 +01:00
1 parent 090d31b2c7
commit 7186edf692
3 files changed
+47 -21

No files matched your search

@@ -97,7 +97,7 @@ public class Mouse {
}
public static boolean isGrabbed() {
throw new UnsupportedOperationException();
return org.lwjglx.input.Mouse.isGrabbed();
}
public static boolean isInsideWindow() {
@@ -121,7 +121,7 @@ public class Mouse {
}
public static void setGrabbed(boolean arg0) {
throw new UnsupportedOperationException();
org.lwjglx.input.Mouse.setGrabbed(arg0);
}
public static org.lwjgl.input.Cursor setNativeCursor(org.lwjgl.input.Cursor arg0) {