Hi everybody!
I’ve started learning about JOGL and stuff, it is now all getting clear and such.
But… i have been using the regular keylistener of the AWT class, for getting keyboard input.
I have now made a cube that can be controlled by W, A, S and D. The cube should rotate when you hit one of the keys.
What is the best way to receive keyboard input, because when i press one of the keys it takes a while before the key ‘repeats itself’. (The key repeat speed you have if you press a key to continue to get that key, for examples if you press “A”, you get this: AAAAAAAAAAAAAAAA. You notice that between the first A and the rest of the A’s there is some kind of pause, and i want to get rid of that pause.
I’ve read something about keybindings, but i’m left clueless now, cuz i can’t find a decent tutorial about keybindings.
Thanks,
Cyrus