@Override
public synchronized void keyPressed(final com.jogamp.newt.event.KeyEvent e) {
final Key pressed = fromKeyEventToKey(e);
if (!_pressedList.contains(pressed)) {
_upcomingEvents.add(new KeyEvent(pressed, KeyState.DOWN, e.getKeyChar()));
_pressedList.add(pressed);
}
if (_consumeEvents) {
e.setAttachment(NEWTEvent.consumedTag);
// ignore this event