getTimeSinceMousePress

Gets the time elapsed since the specified mouse button was last pressed.

Return

Milliseconds since last press, or Long.MAX_VALUE if never pressed.

Parameters

button

The GLFW code of the mouse button.