Login  Register

com.jogamp.newt.event.KeyEvent; - keyPressed behaviour

Posted by philipwhiuk on Nov 05, 2011; 2:59pm
URL: https://forum.jogamp.org/com-jogamp-newt-event-KeyEvent-keyPressed-behaviour-tp3482675.html

Hello,

I'm very new to NEWT but have used Swing/AWT fairly extensively.

Can I just clarify the behaviour of keyPressed events. My understanding and experience from Swing says they are fired once per keyPress. However in NEWT they seem to be fired like keyTyped events, continuously while the key is held down.

Is this intentional or accidental?

Best regards and thanks  for your time,

Philip Whitehouse