Relative mouse motion is subject to the effects of the mouse speed and the two-mouse threshold values. A user sets these three values with the Pointer Speed slider of the Control Panel's Mouse Properties sheet. You can obtain and set these values using the SystemParametersInfo function. The system applies two tests to the specified relative mouse movement. If the specified distance along either the x or y axis is greater than the first mouse threshold value, and the mouse speed is not zero, the system doubles the distance. If the specified distance along either the x or y axis is greater than the second mouse threshold value, and the mouse speed is equal to two, the system doubles the distance that resulted from applying the first threshold test. It is thus possible for the system to multiply specified relative mouse movement along the x or y axis by up to four times.
一共进行两次测试,有两个阈值0<T1<T2,如果任意x或y方向的位移超过T1,位移翻倍(x2),如果任意x或y方向的位移超过T2,位移在经过上次翻倍(T1)的基础上再翻倍(是原始位移的4倍)。
T1 和 T2可在控制面板里面定义