This function returns the last state reported for the specified mouse button to the specified window. The returned state is one of GLFW_PRESS or GLFW_RELEASE.
If the GLFW_STICKY_MOUSE_BUTTONS input mode is enabled, this function returns GLFW_PRESS the first time you call it for a mouse button that was pressed, even if that mouse button has already been released.
This function returns the last state reported for the specified mouse button to the specified window. The returned state is one of
GLFW_PRESS
orGLFW_RELEASE
.If the GLFW_STICKY_MOUSE_BUTTONS input mode is enabled, this function returns
GLFW_PRESS
the first time you call it for a mouse button that was pressed, even if that mouse button has already been released.