private void sendFirstMouseEvent() {
        assert listener != null;
        assert Mouse.isCreated();

        int x = Mouse.getX();
        int y = Mouse.getY();
        int xDelta = 0;
        int yDelta = 0;
        int wheelDelta = 0;
        MouseMotionEvent evt = new MouseMotionEvent(x, y, xDelta, yDelta,
                curWheel, wheelDelta);
        evt.setTime(Mouse.getEventNanoseconds());

        listener.onMouseMotionEvent(evt);
    }
Send the input listener a special mouse-motion event with zero deltas in
order to initialize the listener's cursor position.
jme3-lwjgl/src/main/java/com/jme3/input/lwjgl/LwjglMouseInput.java