How determine how many buttons have the mouse

divxdede wrote on Monday, December 22, 2014:

Hi,

How can i determine how many buttons have the mouse ?
The GLFWMouseButtonCallback can handle 8 buttons at maximum (GLFW_MOUSE_BUTTON_8).

But i would know in advance how many the current mouse have before to receive an events.