@Override
    public void onAnalog(String name, float value, float tpf) {
        if (!enabled)
            return;

        if (name.equals(CameraInput.FLYCAM_LEFT)) {
            rotateCamera(value, initialUpVec);
        } else if (name.equals(CameraInput.FLYCAM_RIGHT)) {
            rotateCamera(-value, initialUpVec);
        } else if (name.equals(CameraInput.FLYCAM_UP)) {
            rotateCamera(-value * (invertY ? -1 : 1), cam.getLeft());
        } else if (name.equals(CameraInput.FLYCAM_DOWN)) {
            rotateCamera(value * (invertY ? -1 : 1), cam.getLeft());
        } else if (name.equals(CameraInput.FLYCAM_FORWARD)) {
            moveCamera(value, false);
        } else if (name.equals(CameraInput.FLYCAM_BACKWARD)) {
            moveCamera(-value, false);
        } else if (name.equals(CameraInput.FLYCAM_STRAFELEFT)) {
            moveCamera(value, true);
        } else if (name.equals(CameraInput.FLYCAM_STRAFERIGHT)) {
            moveCamera(-value, true);
        } else if (name.equals(CameraInput.FLYCAM_RISE)) {
            riseCamera(value);
        } else if (name.equals(CameraInput.FLYCAM_LOWER)) {
            riseCamera(-value);
        } else if (name.equals(CameraInput.FLYCAM_ZOOMIN)) {
            zoomCamera(value);
        } else if (name.equals(CameraInput.FLYCAM_ZOOMOUT)) {
            zoomCamera(-value);
        }
    }
Callback to notify this controller of an analog input event.

@param name name of the input event
@param value value of the axis (from 0 to 1)
@param tpf time per frame (in seconds)
jme3-core/src/main/java/com/jme3/input/FlyByCamera.java