openframeworks/openFrameworks — pull request #3078 by igiso (2014-07-08 17:58:21+00:00)
Title: ofGetMouseScroll

Get mouse Scroll for Glut & GLFW without braking addons or old Code

should be viewed as a companion function to ofGetMousePressed() ofGetMouseX()

Not as a replacement to callback functions.

ps/

callback functions can use part of this code or This Function to return values for GLUT.