Jittering in the SimpleGame controls when using both mouse and keyboard

Hi everyone,



trying to implement the usual FPS control scheme, I had a problem. At first, I thought it was due to my lacking understanding of transformations and quaternions, but then I fired up the TestSimpleGame test, which appears to have the same problem.



It's easily seen if you try to move right but look left at the same time using the mouse. The cube/view jitters, like if the movement and the turning are having an argument with each other.



I think it has to be the mouse, because if I use keyboard input for both moving and turning, the jittering is not there. I have an MX1000, and have tried this on an MX510, both have the problem. Is it a DPI thing? What do people do to avoid this?

((FirstPersonHandler)input).getMouseLookHandler().setActionSpeed(0.2f);



does that 'fix' the jittering you describe ?

Sadly, it doesn't. So I guess it's not a mouse sensitivity issue.



Here's the simple piece of code that has this problem for me:

package no.kreatopia.decor.fdi.prototype1;

import com.jme.bounding.*;
import com.jme.input.FirstPersonHandler;
import com.jme.math.*;
import com.jme.scene.shape.Box;
import com.jmex.editors.swing.settings.*;
import com.jmex.game.*;
import com.jmex.game.state.*;

public class Decor
{
   public static void main(String[] args) throws Exception {
      StandardGame game = new StandardGame("D