Detecting mouse scroll

Hello, I was wondering if it is possibile to get access to mouse scroll position without a callback function which will force me to create external data. I see that glfw exposes cursor position and mouse buttons states without using a callback functions
thanks

Hi @v71,

Welcome to the GLFW forum.

The scroll input in GLFW only has a callback because there is no scroll position only scroll changes which are instantaneous. Thus this input is different from both the cursor position and mouse buttons.

Cheers,

Doug.