ruckertm / HINT

Sources and Documentation for the HINT project
http://hint.userweb.mwn.de/
Other
7 stars 1 forks source link

Add callback function for mouse scroll events. #9

Closed ascherer closed 1 year ago

ascherer commented 1 year ago

See https://www.glfw.org/docs/3.3/input_guide.html#scrolling for details. This should work with a mouse scrollwheel (tested successfully on Kubuntu 22.04.2 LTS) and with touchpad gestures (untested).

ruckertm commented 1 year ago

Hello Andreas, good idea.Up to now none of my viewers supports a scroll wheel, but I have observed myself several times using the scrollwheel - expecting I dont know what, probably getting to a previous or next position in the document. I have always hesitated implementing normal scrolling, because I wanted to maintain the menatal model of paging through a book. So your solution is just that.