private void onWheelScroll(long window, double xOffset, double yOffset) {
                mouseWheel += yOffset;

                final MouseMotionEvent mouseMotionEvent = new MouseMotionEvent(mouseX, mouseY, 0, 0, mouseWheel, (int) Math.round(yOffset));
                mouseMotionEvent.setTime(getInputTimeNanos());
                mouseMotionEvents.add(mouseMotionEvent);
            }
Create a new mouse input attached to the given {@link LwjglWindowVR context}.
@param context the context to which to attach the input.
jme3-vr/src/main/java/com/jme3/input/lwjgl/GlfwMouseInputVR.java