Is there a reason why Mouse.getY()

will get stuck at one value?

Tried cleaning the mouse? ;D

Seriously though, looks like a bug in Mouse.poll() to me:

      if (y < 0) {
        y = 0;
      } else if (y > Window.getHeight()) {
        y = Window.getWidth();
      }

[quote]Tried cleaning the mouse? ;D

Seriously though, looks like a bug in Mouse.poll() to me:

      if (y < 0) {
        y = 0;
      } else if (y > Window.getHeight()) {
        y = Window.getWidth();
      }

[/quote]
I’m a noob, but wouldn’t that totally fuck up if you switched the coordinate system.

When I set the width equal to height, everything works fine…
Oh I get it…
/me goes and fixes his LWJGL jar file

[quote]Tried cleaning the mouse? ;D

Seriously though, looks like a bug in Mouse.poll() to me:

      if (y < 0) {
        y = 0;
      } else if (y > Window.getHeight()) {
        y = Window.getWidth();
      }

[/quote]
Winner x 2.
Damn, you = me + 15 min into the future ::slight_smile:

AFAIK, it’s been fixed in CVS by matzon already…

  • elias