Page 1 of 1

[06 Jan 2010] Mouse speed

Posted: Sat Jun 13, 2020 5:32 pm
by ArtBlink
Note: This is an archived post that was originally sent to the Hollywood mailing list on Wed, 06 Jan 2010 20:06:35 -0000

Hello

I want to slowing the mouse deplacement, do you know how do this? I try to make function but the deplacement is at the same speed, if i make delay in programm, all program slow down... argh!

Can you help me?

Thanks

Respect

[06 Jan 2010] Re: Mouse speed

Posted: Sat Jun 13, 2020 5:32 pm
by Bugala
Note: This is an archived post that was originally sent to the Hollywood mailing list on Wed, 06 Jan 2010 21:39:32 -0000

I idint check this from Hollywood manual in anyway, so this is just idea.

But i think there was command by which you can control where to show the pointer.

So you could do something like this (commands are wrong):

Code: Select all

while 0

newx=mousepointer(x)
newy=mousepointer(y)

xdifference = x-newx
ydifference = y-newy

ydifference = ydifference * 0.5 (1 for normal, 2 for double,)
xdifference = xdifference * 0.5 (0.5 for half speed, 0.1 for 1/10th of speed...)

x = x+xdifference
y = y+ydifference

showmousepointer(x, y)

repeat