speed

fun speed(): Int

Returns the current mouse speed.

Return

the current mouse speed.

fun speed(s: Int): Int

Set the relative speed for mouse movements. This is a sensitive function and should be used in exceptional circumstances for a short period of time only.

Return

the speed, which can be different to the value requested.

Parameters

s

the new speed.