Re: Bug 688 - Removal of NEWT KeyEvent.EVENT_KEY_TYPED and KeyListener.keyTyped(KeyEvent)
Posted by
Sven Gothel on
Feb 19, 2013; 6:40pm
URL: https://forum.jogamp.org/Bug-688-Removal-of-NEWT-KeyEvent-EVENT-KEY-TYPED-and-KeyListener-keyTyped-KeyEvent-tp4028193p4028288.html
On 02/11/2013 10:35 AM, Sven Gothel wrote:
> I reviewed the NEWT key press/release/type thingy again (windows, etc ..).
> While solving the UTF-char problem (again), I see that the TYPED event is
> redundant now, since we deliver the UTF-char for all events.
>
> Hence I like to remova NEWT KeyEvent.EVENT_KEY_TYPED and
> it's KeyListener.keyTyped(KeyEvent) listener.
>
> This will reduce the event 1/3 for keyboard .. which is reasonable IMHO
> considering the 'headaches' of the change.
>
> User code change: Simply trigger on RELEASE instead of TYPED.
>
> Opinions ?
>
>
https://jogamp.org/bugzilla/show_bug.cgi?id=688>
> ~Sven
>
1st chunk of work is done, especially for Bug 678 (fix), Bug 641 (API + Windows Impl.).
http://jogamp.org/git/?p=jogl.git;a=commit;h=85338858f5c58694fa88e77df1386d0556887944 Bug 641 needs at least X11 impl. of US KBD keyCode, OSX is optional
https://jogamp.org/bugzilla/show_bug.cgi?id=641#c11Maybe in 1-2 weeks, the TYPED event will be gone,
having aggregated builds right now - able to use PRESSED event already,
read: fully functional. Dev-Test:
http://jogamp.org/deployment/archive/master/gluegen_639-joal_403-jogl_916-jocl_749/~Sven