SRL Archive - OSR Help

GetMouseSpeed


Rich

2010-06-08 12:42:05

What's the procedure to get the current mouse speed? I've forgotten, and had a look in Mouse.scar but it's not in there.

Thanks,
Richard.

Naum

2010-06-08 12:42:54

You assign it to a variable, AFAIK.

MSpeed := MouseSpeed;

And if you want to change it

MSpeed := MouseSpeed;
MouseSpeed := 15;
//do stuff
MouseSpeed := MSpeed;

Rich

2010-06-08 12:44:00

From: Naum
You assign it to a variable, AFAIK.

MSpeed := MouseSpeed;


Thanks for the speedy reply :)