It seems natural to have such functionality for mouse button being hold but this functionality is solely for key event. According to the glfw documentation:
#define GLFW_REPEAT 2
The key was held down until it repeated.
But the press and release buttons, we have which address both the keyboard and mouse inputs.
#define GLFW_PRESS 1
The key or mouse button was pressed.
#define GLFW_RELEASE 0
The key or mouse button was released.
I would like to know if there is a workaround for this issue. Moreover, why this functionality is ignored with the mouse.