Re: NEWT KeyEvents behaving odd in Linux
Posted by
gouessej on
May 30, 2012; 8:39am
URL: https://forum.jogamp.org/NEWT-KeyEvents-behaving-odd-in-Linux-tp4021912p4022123.html
Actually, we should write a bug report about this problem. The useless "release" key events are generated in the native level by the operating system. We should be able to disable/enable auto-repeat. If you really want to do that, you can use my source code, I use a shell command to disable auto-repeat. You have to use a shutdown hook to reenable it when leaving the applications if necessary. Thank you for pointing that. Actually, auto-repeat is no more enabled by default on my distro (Mageia Linux 1) whereas it was enabled in the previous one (Mandriva Linux). Maybe such a modifier should not be in NEWT as it would affect AWT too.