Support

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

MouseCursor Position

For general discussion related FlowStone

MouseCursor Position

Postby billv » Thu Oct 24, 2013 11:49 pm

The default FS knob behaviour is not good for fast tweaking..... :evil:
Start at 0 ...go all the way to 1...and your mouse cursor ends up
4 inches up the screen.... :roll:

So I just need to put the original cursor position back in when the mouse goes up...
But having trouble trying to write it in...
Should it look something like this...
Code: Select all
def mouseCursor x,y
if i == 1 or 2 then
mouseCursor.pos = @inputx,@inputy
end
billv
 
Posts: 1157
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia

Re: MouseCursor Position

Postby billv » Fri Oct 25, 2013 11:52 am

How do you control cursor position without using the cursor...?
Is possible..?...
billv
 
Posts: 1157
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia

Re: MouseCursor Position

Postby Nubeat7 » Fri Oct 25, 2013 5:02 pm

why not using the show cursor primitive? you can set "hold position while dragging"
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: MouseCursor Position

Postby billv » Fri Oct 25, 2013 10:02 pm

Nubeat7 wrote: "hold position

Thanks Nubeat7....didn't notice that...
billv
 
Posts: 1157
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia

Re: MouseCursor Position

Postby strangeChild » Sat Oct 26, 2013 7:42 am

billv wrote:So I just need to put the original cursor position back in when the mouse goes up...

That was the default behaviour with SynthMaker stock knob... I say it should be for FS too.
Attachments
SynthMakerKnob.fsm
(131.65 KiB) Downloaded 837 times
strangeChild
 
Posts: 47
Joined: Sat Apr 27, 2013 8:04 pm

Re: MouseCursor Position

Postby strangeChild » Sat Oct 26, 2013 5:11 pm

Is there a Ruby method available to set the cursor position? :?
strangeChild
 
Posts: 47
Joined: Sat Apr 27, 2013 8:04 pm

Re: MouseCursor Position

Postby strangeChild » Sat Oct 26, 2013 5:16 pm

Nubeat7 wrote:why not using the show cursor primitive? you can set "hold position while dragging"

holdCursor.png
holdCursor.png (10.71 KiB) Viewed 11655 times
Ah! I didn't get this right away...
Still... is there a Ruby method for setting the cursor position?
strangeChild
 
Posts: 47
Joined: Sat Apr 27, 2013 8:04 pm


Return to General

Who is online

Users browsing this forum: No registered users and 57 guests