Login  Register

Possible KeyEvent bug

Posted by Mike on Jun 23, 2013; 6:04pm
URL: https://forum.jogamp.org/Possible-KeyEvent-bug-tp4029434.html

My keyPressed(KeyEvent e) input listener seems to miss certain key press events.

I can most reliably reproduce it by pressing and holding down VK_RIGHT, then pressing VK_UP. The initial VK_UP pressed event never fires. Although subsequent VK_UP auto-repeat will fire. This seems to happen with any Action Key event.

This is problematic if i am filtering my events with !e.isAutoRepeat().

Im not sure if this is some keyboard limitation i am unaware of, or some corner case that is working as intended.

Slightly related question: Are keys like backspace, tab, and enter supposed to be non-printable keys? It seems like they should be printable.

~Mike