Hello Guest

Can lwjgl do platform indipendent key events?

  • 2 Replies
  • 9218 Views
*

Offline bbjam

  • *
  • 11
Can lwjgl do platform indipendent key events?
« on: September 12, 2008, 22:23:29 »
Well that's the question :)

Key events press/release events behave in a madingly platform dependent way in normal Java, so I'm wondering if lwjgl has some kind of workaround/better system.

Re: Can lwjgl do platform indipendent key events?
« Reply #1 on: September 15, 2008, 21:35:07 »
Yes, see Keyboard.isKeyDown() in the javadoc.
=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com

*

Offline bbjam

  • *
  • 11
Re: Can lwjgl do platform indipendent key events?
« Reply #2 on: September 16, 2008, 02:43:20 »
 :) big thanks  :)

Now work can continue on my game engine!