有没有办法检查鼠标灵敏度,即高,中,低?

时间:2017-04-23 07:22:26

标签: c# winforms mouse

我正在进行锁屏项目,想要在锁定屏幕上检查鼠标灵敏度, 有没有办法检查c#中的鼠标灵敏度。检查灵敏度是中等还是低的任何函数,像这样的

1 个答案:

答案 0 :(得分:0)

SystemInformation.MouseSpeed,但This property is supported only on Windows 98, Windows Millennium Edition, Windows 2000, Windows XP, and the Windows Server 2003 family.

试试你的目标平台,看它是否有效。

您也可以尝试本机通话,请参阅Do I need 2 different PInvokes to Get and Set mouse speed?