Re: Newt KeyEvent "typed" only produced on key-up and auto-repeat
Posted by
Sven Gothel on
Feb 04, 2013; 3:52pm
URL: https://forum.jogamp.org/Newt-KeyEvent-typed-only-produced-on-release-and-auto-repeat-tp4028032p4028124.html
On 02/02/2013 06:47 PM, GiGurra [via jogamp] wrote:
> The Beta version I tried above gives the following results:
>
> "typed" is still sent on key release,
> however "pressed" now contains the same information as type.
types shall be sent after key release (NEWT KeyEvent spec)
and this is validated in fix of bug 678
https://jogamp.org/bugzilla/show_bug.cgi?id=678http://jogamp.org/git/?p=jogl.git;a=commit;h=90e136b65a10d8daf8c3a2df6cc193e55a63722c>
> BUT:
> Both have many incorrect mappings. They procude the same values, but don't
> seem to match my keyboard layout properly.
>
> For example Alt Gr + 'the button left of z' (Swedish keyboard) should produce
> | , the button itself should be < and with shift it should be >. However the
> events all give me < .
Key-code or key-char ?
Probably related to bug 668 ?
https://jogamp.org/bugzilla/show_bug.cgi?id=668How can we have a reliable unit test ?
~Sven