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
Right-click drag?
6 posts
• Page 1 of 1
Right-click drag?
Can we get right-click drag control? Or does Flowstone only support left-click drag? Ruby?
- Perfect Human Interface
- Posts: 643
- Joined: Sun Mar 10, 2013 7:32 pm
Re: Right-click drag?
Just change "capture mouse" and "release mouse" to the right click definitions.
- Code: Select all
def mouseRDown x,y
captureMouse
end
def mouseMoveCaptured x,y
end
def mouseRUp x,y
releaseMouse
end
BV MUSIC SYDNEY AUSTRALIA..Songwriting and Software development
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
- billv
- Posts: 1157
- Joined: Tue Aug 31, 2010 3:34 pm
- Location: Australia
Re: Right-click drag?
Thanks. It's too bad there isn't a prim, but I'll manage.
- Perfect Human Interface
- Posts: 643
- Joined: Sun Mar 10, 2013 7:32 pm
Re: Right-click drag?
Be aware though, that this introduces the old view-catches-no-mouse-release issue (when you have nested views), because there is no 'mouseRUpCaptured' as exists for the lmb.
"There lies the dog buried" (German saying translated literally)
- tulamide
- Posts: 2714
- Joined: Sat Jun 21, 2014 2:48 pm
- Location: Germany
Re: Right-click drag?
I see, thank you for bringing that to my attention.
- Perfect Human Interface
- Posts: 643
- Joined: Sun Mar 10, 2013 7:32 pm
Re: Right-click drag?
i needed this also quite recently and i have been using this code edited from the guide to give separate x and y and a bool on output 2 for the mousedown, you can see my noobish way of getting the bool, could someone show me how to do that the correct way please?
cheers!
- Code: Select all
def isInMousePoint x,y
true
end
output 2, false
def mouseRDown x,y
captureMouse
output 2, true
end
def mouseMoveCaptured x,y
output 0,x
output 1,y
end
def mouseRUp x,y
output 2, false
releaseMouse
end
cheers!
- Jay
- Posts: 276
- Joined: Tue Jul 13, 2010 5:42 pm
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: Google [Bot] and 67 guests