Loading... |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
This post was updated on Jun 23, 2013; 6:43pm.
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 |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Are you using NEWT or AWT to do input?
If you are using AWT you will have to contact your JRE vendor. If you have issues while using NEWT then please tell which platform and OS you are using. http://jogamp.org/jogl/doc/NEWT-Overview.html |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
In reply to this post by Mike
Mike probably uses NEWT as isAutoRepeat() isn't implemented in AWT.
Julien Gouesse | Personal blog | Website
|
Loading... |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
In reply to this post by Xerxes Rånby
My bad. I'm using NEWT running the Jun 22 2013 nightly build of Jogl. Using windows 7.
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
In reply to this post by Mike
On 06/23/2013 08:04 PM, Mike [via jogamp] wrote:
> 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(). > Thank you! Pls file a bug report, incl. your OS and Java version .. etc. If you can - maybe even a unit test while copying one of our existent NEWT*Key* tests .. > Im not sure if this is some keyboard limitation i am unaware of, or some > corner case that is working as intended. I haven't tested such combination either, but a unit test will show us. If it's working in general w/ a native application on your platform - it should work w/ NEWT. ~Sven > > ~Mike |
Loading... |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I will file the bug report when I get home.
One more question. Are keys like backspace, tab, and enter supposed to be non-printable keys? It seems like they should be printable. I have a text editor implemented through NEWT and it pipes all printable key events to a file. So it would be nice if whitespace keys were marked as printable. Thanks for the help |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
On 06/24/2013 11:04 PM, Mike [via jogamp] wrote:
> I will file the bug report when I get home. > > One more question. Are keys like backspace, tab, and enter supposed to be > non-printable keys? It seems like they should be printable. I have a text > editor implemented through NEWT and it pipes all printable key events to a > file. So it would be nice if whitespace keys were marked as printable. > Good point, I just crossed this issue as well, but was undecided. Pls file another short bug report for documentation, will change it. ~Sven |
Free forum by Nabble | Edit this page |