change integer/float value with mighty mouse clitoris while on the box …

Jan 21, 2013 at 1:00pm

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?

#66153
Jan 21, 2013 at 2:39pm
#238125
Jan 22, 2013 at 10:40am

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.

#238126
Jan 22, 2013 at 12:41pm

The mousestate object will allow you to determine where on the screen you want the scroll wheel to be active.

#238127
Jan 22, 2013 at 3:05pm

Hi,

With [ol.mousewheel] and [hover].

– Pasted Max Patch, click to expand. –
#238128
Jan 23, 2013 at 9:03am

wonderful, Nicolas, thank you.

#238129
Jan 23, 2013 at 9:25am

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.

#238130
Jan 23, 2013 at 12:00pm

Hi,

According to http://cycling74.com/forums/topic.php?id=36189 i do not think that [ol.mousewheel] will be max 6 compatible.

Carbon/Cocoa switch is the reason ; it could be an interesting “to do” project for the dev folks ;-)

#238131
Jan 27, 2013 at 2:53am

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…

#238132
Jan 27, 2013 at 12:54pm

jit.window can report mousewheel movements but that’s not a practical solution. Would seem logical to integrate it in [mousestate].

#238133

You must be logged in to reply to this topic.