LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: Virum on June 04, 2004, 22:19:23

Title: Mouse Polling..
Post by: Virum on June 04, 2004, 22:19:23
I'm making a program (ironically NOT a game) but I need acurate mouse polling outside the Window (it's not a full screen app).

From my (limited) knowledge of LWJGL, I think that the Mouse class can do this, but I need to create a window first.  However, I won't be using that window.

Is there a way to create a mouse without a window, or disable the window so no RAM or CPU cycles are taken up?

Thanks!

Virum
Title: Mouse Polling..
Post by: princec on June 05, 2004, 10:36:06
Currently, no, it's a bit of a shortcoming that our input APIs only work when the Window is created.

Cas :)
Title: Mouse Polling..
Post by: Virum on June 05, 2004, 20:57:57
Do you know of any other solutions?  Or will I have to use C# (I assume that will support it)? :(
Title: Mouse Polling..
Post by: princec on June 06, 2004, 10:11:46
Well, it's nothing to do with Java if that's what you mean... it's just that our input APIs were tied to the creation of the LWJGL Window. But there really isn't any need for this that I'm aware of in the Windows implementation. I think we might be able to disconnect the two by 1.0.

Cas :)
Title: Mouse Polling..
Post by: Virum on June 08, 2004, 01:36:08
Quote from: "princec"Well, it's nothing to do with Java if that's what you mean... it's just that our input APIs were tied to the creation of the LWJGL Window. But there really isn't any need for this that I'm aware of in the Windows implementation. I think we might be able to disconnect the two by 1.0.

Cas :)

Ok, thanks Cas.   Do you know when LWJGL will go gold? (1.0)
Title: Mouse Polling..
Post by: princec on June 08, 2004, 08:23:15
We were kind of hoping in time for JavaOne but we're nowhere near getting there as we're all really busy.

We've got a refactoring to do as well - we're collapsing Window and Display into a single class once more (like it was back in 0.1) and tidying up the way it works.

And then there's the Mac port.

And documentation.

Agh!

Cas :)