I have this code in my update():
if(Keyboard.getEventKey() == Keyboard.KEY_T && Keyboard.getEventKeyState()){
System.out.println("true");
And I want it to print 1 time true. But it prints 4 times.
How can i solve this problem???
Which version of LWJGL are you using? Sounds like you want to check if the key event is a repeat event or not.
Question has been answered on JGO.