Page 1 of 1
Mouse Scroll commands
Posted: Tue Mar 15, 2016 12:25 pm
by Rocko
Hi,
Is there any way for me to control 'mouse scroll' button via flowstone (Ruby? Green?) ?
Thanks,
Rocko
Re: Mouse Scroll commands
Posted: Tue Mar 15, 2016 8:55 pm
by adamszabo
Yes you can do it in the 3.0.9 beta
Re: Mouse Scroll commands
Posted: Wed Mar 16, 2016 1:11 pm
by Rocko
For 3.0.9 Beta2 I see a 'mouse wheel' module in green. Is that what you are referring to or is there a way to implement it in a RUBY code?
Thanks,
Rocko
Re: Mouse Scroll commands
Posted: Wed Mar 16, 2016 1:15 pm
by Tronic
Ruby using:
Code: Select all
def mouseWheel x,y,w
# do something with x,y,w
end
Re: Mouse Scroll commands
Posted: Sun Mar 27, 2016 10:25 am
by Rocko
Hi,
This doesn't seem to work correctly. I'm simply trying to output the x,y,w readings to float (see simple schematic) and I receive wrong data.
Sometimes the 'w' data get updated (1 or -1) and sometimes it doesn't.
Am I doing something wrong or is there still a bug with 3.0.9 BETA ?
Code: Select all
def isInMousePoint x,y
true
end
def mouseWheel x,y,w
output 0,x
output 1,y
output 2,w
end
Re: Mouse Scroll commands
Posted: Wed Nov 30, 2016 4:08 pm
by Rocko
Hi,
Has anyone succeeded to work this out ?
Re: Mouse Scroll commands
Posted: Wed Nov 30, 2016 7:06 pm
by aronb
Hi Rocko,
Yes...
You can find an example here...
http://www.dsprobotics.com/support/viewtopic.php?f=3&t=3860&start=0&hilit=mouse+wheelI then used your example and got it working (3.0.9 Beta 2)
Aron
Re: Mouse Scroll commands
Posted: Thu Dec 01, 2016 8:05 am
by Rocko
Hi,
Thanks.
So this function will not be functional with v3.08.1, correct?