private void onMouseButton(final long window, final int button, final int action, final int mods) {
        final boolean pressed = action == GLFW_PRESS;
        final MouseButtonEvent mouseButtonEvent = new MouseButtonEvent(convertButton(button), pressed, mouseX, mouseY);
        mouseButtonEvent.setTime(getInputTimeNanos());
        mouseButtonEvents.add(mouseButtonEvent);
    }
Captures mouse input using GLFW callbacks. It then temporarily stores these
in event queues which are processed in the {@link #update()} method. Due to
some of the GLFW button IDs, there is a conversion method in this class which
will convert the GLFW left, middle and right mouse button to JME3 left,
middle and right button codes.

@author Daniel Johansson (dannyjo)
@since 3.1
jme3-lwjgl3/src/main/java/com/jme3/input/lwjgl/GlfwMouseInput.java