@Override
    public void onAnalog(String name, float value, float tpf) {
      if (isRunning) {
        if (name.equals("Rotate")) {
          player.rotate(0, value, 0);
        }
        if (name.equals("Right")) {
          player.move((new Vector3f(value, 0,0)) );
        }
        if (name.equals("Left")) {
          player.move(new Vector3f(-value, 0,0));
        }
      } else {
        System.out.println("Press P to unpause.");
      }
    }
Use this listener for continuous events
jme3-examples/src/main/java/jme3test/helloworld/HelloInput.java