i know 3.x coming but still.
i'm re-doing input-handling to become more flexible and having a better time when switching to 3.x, essentially going over all 2.9.2 input methods.
not sure if it's a side-effect of something else but i run into this :
- start with display set to window-mode (canvas or not)
- Mouse.isInsideWindow(), works perfectly fine
- switch to fullscreen
- switch back to window mode
- Mouse.isInsideWindow() always returns true
running windows-implementation.
after going to window-mode :
Mouse.destroy();
Mouse.create();
did not help.
stepping through WindowsDisplay.java, looks like method
doHandleMessage(long hwnd, int msg, long wParam, long lParam, long millis)
is not receiving the WM_MOUSELEAVE msg-code. looks like it's coming from native void nUpdate()
which means, it could be a bug in the c/jni WindowsDisplay code. msg-code WM_MOUSEMOVE is still coming in so mouseInside remains true forever.
PS:
InputImplementation.java:74
/**
* Method to read the keyboard buffer
*/
void readMouse(ByteBuffer buffer);
javadoc is a bit off ;)
Thanks, both issues will be fixed with the next nightly.
thanks! :)
just wondering .. is the 2.9.3 nightly build running (somewhere) ? http://ci.newdawnsoftware.com/job/LWJGL-git-dist/ ran 30.12 last year the last time.
Indeed, nightly builds have stopped working again. Will let you know once a new build is up.
edit: you can try this jar (http://build.lwjgl.org.s3.amazonaws.com/nightly/lwjgl2/lwjgl.jar).
that one works but it looks like it does not contain this year commits.
https://github.com/LWJGL/lwjgl/commits/master
It does, I built it yesterday after the last commit.
ahh got it. thanks alot! :)
.. had to motivate my local maven repo.