Hello,
I'm using the SWT binding of the LWJGL and I was wondering do I have any way to use the KeyBoard class in the LWJGL with the SWTCanvas? I guess that I could use the normal SWT keyboard handling, but I have tons of code that uses the LWJGL KeyBoard, and I was hoping that I wouldn't have to port all of that.
Unfortunately, you're out of luck for a while. Elias and I worked on a LWJGL + generic display solution (which would mean SWT) for a considerable amount of time. Needless to say, an elegant solution could not be found within a reasonable amount of time without changing an unreasonable amount of code.
I hope to have the time in the near future to continue this work to provide for all input devices in a generic fashion.
Hi,
Well I thought so too... I'm currently porting my jME based applications to use a SWT based Keyboard- class. Because jME uses its own, quite simple, interface for Keyboard this isn't so daunting task. Though I must admit that I haven't yet got it to work :D
Are there any restrictions with SWT based LWJGL. I got some error from native library when I tried to use textures? I haven't checked this out yet, because my application doesn't currently need texturing but it would be nice if it was supported
For help on SWT + LWJGL questions, you need to identify what SWT + LWJGL implementation you're using (there are a few including the one I wrote) and what version of LWJGL.
After that, a stack trace would be nice.