Page 1 of 1

MouseCursor Position

Posted: Thu Oct 24, 2013 11:49 pm
by billv
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

Re: MouseCursor Position

Posted: Fri Oct 25, 2013 11:52 am
by billv
How do you control cursor position without using the cursor...?
Is possible..?...

Re: MouseCursor Position

Posted: Fri Oct 25, 2013 5:02 pm
by Nubeat7
why not using the show cursor primitive? you can set "hold position while dragging"

Re: MouseCursor Position

Posted: Fri Oct 25, 2013 10:02 pm
by billv
Nubeat7 wrote: "hold position

Thanks Nubeat7....didn't notice that...

Re: MouseCursor Position

Posted: Sat Oct 26, 2013 7:42 am
by strangeChild
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.

Re: MouseCursor Position

Posted: Sat Oct 26, 2013 5:11 pm
by strangeChild
Is there a Ruby method available to set the cursor position? :?

Re: MouseCursor Position

Posted: Sat Oct 26, 2013 5:16 pm
by strangeChild
Nubeat7 wrote:why not using the show cursor primitive? you can set "hold position while dragging"

holdCursor.png
holdCursor.png (10.71 KiB) Viewed 13896 times
Ah! I didn't get this right away...
Still... is there a Ruby method for setting the cursor position?