Login  Register

Re: mouse input

Posted by kaesemeister on Nov 14, 2011; 9:01am
URL: https://forum.jogamp.org/SOLVED-mouse-input-tp3504609p3506254.html

you are right, JInput is a bit more complicated and I had to change permissions for /dev/input/event* but since it should just run for the moment it's okay :)
But JInput has the advantage that I can use a gamepad for game-controlling.
JInput is also independet from the manipulation (smothing, acceleration) of mouse-movement which is maybe done by the GUI (I think, because it uses direct input data).

Maybe the AWT solution shows such a bad performance is because my main thread is realy bussy. I just run at < 20fps because I use glVertex commands a lot (I know how to tweak this, it's just testing code). Putting the input thread to highes priority changed nothing.  


Do you know if the permission problems of JInput are also present on Win7?