[06 Jan 2010] Mouse speed

Contains all messages from the Hollywood mailing list between 01/2006 and 08/2012
Locked
ArtBlink
Posts: 484
Joined: Mon Nov 01, 2010 10:37 am
Location: Albert - France
Contact:

[06 Jan 2010] Mouse speed

Post 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

Bugala
Posts: 936
Joined: Sun Feb 14, 2010 7:11 pm

[06 Jan 2010] Re: Mouse speed

Post 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

Locked