change integer/float value with mighty mouse clitoris while on the box …
I imagine: the mouse is pointing on a float / integer object and when I scroll with the wheel the numbers go up and down without pressing, just scrolling…
I wonder: is there any way to do that?
I am aware of Larkins external. It gives you acess to the scroll wheel data, the input I’d like to use …
But still I don’t have any strategy for the mission that I may have explained badly in my broken english …
Place the mouse pointer above a float / integer object in a maxpatch. Then the object would be aware of the presence of the mouse pointing at it activated. And then scrolling up / down with the wheel would cause the numbers in the object following that movement; that is going up up up with every up scroll and down down down with every down scroll. accumulative. When the mouse pointer is being removed from the object it is deactivated again.
How could this be done?
I would find that much more economic than pressing the mouse button and then move the mouse itself up and down.
The mousestate object will allow you to determine where on the screen you want the scroll wheel to be active.
wonderful, Nicolas, thank you.
Cool technique, I might make use of it for sliders.
One thing though – if Oli Larkin is listening – [ol.mousewheel] doesn’t seem to be compatible with Max 6.
Is it time for a new object (or an additional outlet on [mousestate]) which reports scroll wheel activity? That would be great…could easily combine with [hover] to achieve all kinds of fun things…like zooming in and out in [waveform~] for example…
jit.window can report mousewheel movements but that’s not a practical solution. Would seem logical to integrate it in [mousestate].