mousestate & scrolling wheel?

hgh's icon

Hi,

mousestate is great, but there is no input from scrolling-whel. Is there any possibility to grap scrolling-wheel input?

Dear hgh

hgh's icon

Hi,

thanks vry much. Now, i´ve installed "ol.mousewheel"...

But the range is only from 1 to -1 in integer. So the wheel in like a toggle... is there a way to get fine float values?

hgh

xh9o's icon

don´t have installed the external, but given the 1/-1 is send for each wheel move-step you could calculate and interpolate your own float-scale easily (using [timer] for speed etc.)

hgh's icon

Hi, thank you very much.

hgh's icon

Hi, it works fine, but there is still a big Problem:

When the Max-Window is inactive, it recieves nothing...

If the mousstate-Window inactive, it works fine... Is there a trick or is that a problem of coding?

dear hgh

xh9o's icon

It´s very common that only the GUI-active application receives the current mouse-action from the operating system. Maybe there is a trick or tool for that, but I assume it won´t be obvious.

hgh's icon

Hi,

i wants to readout the Maouswheel activity with Max an then send it via Midi to a Softwaresynth.

so it seems not possible, to use "ol.mousewheel"... for this usecase ;(, or?

thanks,
hgh

hgh's icon

Hi,

but i wants not the Max window active, i must have the extern VST-synthesizer-Window active... This synth is not includet in MAx...

Thats the problem...

greetz,
hgh

hgh's icon

hm, nice idea... I will try to load it to Max... But i´ve never load a VST into Max before. Do you have an short example-patch to load/implement a VST into Max?

Thank you very much,
hgh

xh9o's icon

It´s very simple, just try.

Max Patch
Copy patch and select New From Clipboard in Max.

`