From c90ffe118b22f86c0e4a3e980b7a92a7d62559bd Mon Sep 17 00:00:00 2001 From: Maksim Belov <45949002+artdeell@users.noreply.github.com> Date: Tue, 19 Nov 2024 22:27:21 +0300 Subject: [PATCH] Update Mouse.java --- modules/lwjgl/lwjglx/src/main/java/org/lwjgl/input/Mouse.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/lwjgl/lwjglx/src/main/java/org/lwjgl/input/Mouse.java b/modules/lwjgl/lwjglx/src/main/java/org/lwjgl/input/Mouse.java index 785184fb72..f8768f33fa 100644 --- a/modules/lwjgl/lwjglx/src/main/java/org/lwjgl/input/Mouse.java +++ b/modules/lwjgl/lwjglx/src/main/java/org/lwjgl/input/Mouse.java @@ -356,6 +356,7 @@ public static void poll() { absolute_x = x = poll_coord1; absolute_y = y = poll_coord2; } + System.out.println("dx: " + dx + " dy: " + dy + " x: "+ x +" y: " + y+" grabbed: "+isGrabbed() +" pc1: "+poll_coord1+" pc2: "+poll_coord2); if(clipMouseCoordinatesToWindow) { x = Math.min(Display.getWidth() - 1, Math.max(0, x)); @@ -658,4 +659,4 @@ public static boolean isInsideWindow() { interface EmptyCursorGrabListener { void onGrab(boolean grabbing); } -} \ No newline at end of file +}