And again a new HIAL release (1.6.6). AWTMouse and AWTKeyboard are now synchronized with the update() method. This means, AWT input is now synchronized with the rendering thread (just as LWJGL is per se).
Now nothing needs to be specially synchronized with the rendering thread when it is triggered by an input event (no matter which OpenGLLayer is used).
The AWT synchronization can be switched off by invoking
AWTMouse.setSynchronized( false );
AWTKeyboard.setSynchronized( false );
It is done by queueing the AWT input events through abstract HIAL input events. You may have noticed, that the HIAL input listener method signatures have become quite big. It would be very easy now to make the listeners work with these input event classes. Then the onMouseButtonPressed event for example would look like this:
// currently
public void onMouseButtonPressed(MouseDevice mouse, int button, int x, int y, long when, long lastWhen)
// afterwards
public void onMouseButtonPressed(MousePressedEvent e)
I think, this is more convenient, now where we have so many worthful event properties. What do you think?
Marvin
[EDIT by Amos Wenger : monday, 25 june 2007 : bbtag error]