Login  Register

Re: NEWT & Linux KeyEvents

Posted by gouessej on Jun 14, 2011; 8:22am
URL: https://forum.jogamp.org/NEWT-Linux-KeyEvents-tp3049772p3062165.html

I call "xset r off" to disable key repeat and "xset r on" to enable it. However, this approach has 2 limitations:
- as I always enable autorepeat when exiting, it is a wrong behavior when the user disables it by default
- xset changes the behavior of the x server for all applications, not only the Java program calling this command
Julien Gouesse | Personal blog | Website