If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Mouse Scroll commands
8 posts
• Page 1 of 1
Mouse Scroll commands
Hi,
Is there any way for me to control 'mouse scroll' button via flowstone (Ruby? Green?) ?
Thanks,
Rocko
Is there any way for me to control 'mouse scroll' button via flowstone (Ruby? Green?) ?
Thanks,
Rocko
- Rocko
- Posts: 186
- Joined: Tue May 15, 2012 12:42 pm
Re: Mouse Scroll commands
Yes you can do it in the 3.0.9 beta
- adamszabo
- Posts: 667
- Joined: Sun Jul 11, 2010 7:21 am
Re: Mouse Scroll commands
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
Thanks,
Rocko
- Rocko
- Posts: 186
- Joined: Tue May 15, 2012 12:42 pm
Re: Mouse Scroll commands
Ruby using:
- Code: Select all
def mouseWheel x,y,w
# do something with x,y,w
end
- Tronic
- Posts: 539
- Joined: Wed Dec 21, 2011 12:59 pm
Re: Mouse Scroll commands
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 ?
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
- Attachments
-
- mouseWheel_test.fsm
- (1.01 KiB) Downloaded 982 times
- Rocko
- Posts: 186
- Joined: Tue May 15, 2012 12:42 pm
Re: Mouse Scroll commands
Hi,
Has anyone succeeded to work this out ?
Has anyone succeeded to work this out ?
- Rocko
- Posts: 186
- Joined: Tue May 15, 2012 12:42 pm
Re: Mouse Scroll commands
Hi Rocko,
Yes...
You can find an example here...
http://www.dsprobotics.com/support/viewtopic.php?f=3&t=3860&start=0&hilit=mouse+wheel
I then used your example and got it working (3.0.9 Beta 2)
Aron
Yes...
You can find an example here...
http://www.dsprobotics.com/support/viewtopic.php?f=3&t=3860&start=0&hilit=mouse+wheel
I then used your example and got it working (3.0.9 Beta 2)
Aron
-
aronb - Posts: 154
- Joined: Sun Apr 17, 2011 3:08 am
- Location: Florida, USA
Re: Mouse Scroll commands
Hi,
Thanks.
So this function will not be functional with v3.08.1, correct?
Thanks.
So this function will not be functional with v3.08.1, correct?
- Rocko
- Posts: 186
- Joined: Tue May 15, 2012 12:42 pm
8 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 72 guests