我正在进行锁屏项目,想要在锁定屏幕上检查鼠标灵敏度, 有没有办法检查c#中的鼠标灵敏度。检查灵敏度是中等还是低的任何函数,像这样的
答案 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?