mousewheel and jit.window
I have a large standalone in which I would like to be able to use the mousewheel to be able to rapidly scroll through values in a number box.
I know that jit.window has a mousewheel parameter, but I'm clueless as to how to use it within a patch that otherwise doesn't use any Jitter at all, let alone a jit.window?
Also, how does one interpret the data that comes out of jit.window for the mousewheel parameter? I can't make heads or tails of it...
I've had a look at this one year ago to help someone on the forum but couldn't find any way that doesn't involve a jit.window. The mousewheel speed is given with something like this (but I guess you had figured this out...). I got values ranging from about -0.5 to 0.5 :
Can't you use the hi object to get the mousewheel info? I don't have a mouse to test, but i see that if i scroll on my trackpad (mbp) i get numbers such as 6 1, 6 2, 6 3 or 6 -1, 6 -2, 6 -3... If i don't use the scrolling function i always get 6 0..
edit: actually it works with an usb mouse and hi on my mbp: param 10 not 0 if scrolling (1 or -1 for each step)...
@Tobias - the hi object is a good idea, I will give it a look.
@Stephane - thanks, I had also gotten that far, but I think there is more to interpreting the info than just looking at that last value... Either way though, I can't have a jit.window be the frontmost window in my application, so I don't think it would work for me anyway...
Follow up on using the hi object - it does work, but the bad news is that on two different mice I've looked at on two different systems, the code that the hi object outputted for mousewheel movement differed. So coming up with something that will work across systems (which for me is a requirement) doesn't look promising.
Hi to all (no pun intended). I'm trying to get mousewheel information in 2018 within Max 7. ol.mousewheel doesn't seem to work anymore, although I'm in 32 bits mode. Neither does [hi]. what is the way to do it, apart from jit.window which I can't use because the patch has got to work in the background.
I would like to program a java 'mxj' object that outlet the value of MouseWheelEvent and mouseWheelMoved from java API on a MacOS 10.12.6 or higher and using Max8. Does anyone knows how to do that? The mouse is a standard Apple mouse (no power plug) and or Apple mouse 2(The absurd power plug on the belly).