Java - How to change Mouse-Speed in Windows

╄→尐↘猪︶ㄣ 提交于 2019-12-11 18:46:37

问题


Yeah, thats the Question.

How can I change the Mouse-Speed in Windows in Java?

Greets


回答1:


You can do this using JNI.

See
http://www.atwistedweb.com/java/jni.html.

Similar question:
http://forums.sun.com/thread.jspa?threadID=374029.

C++ code here and mouse speed changing API here:
http://msdn.microsoft.com/en-us/library/ms724947%28VS.85%29.aspx.

Similar code:
http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/b866d476-16ac-4313-bc84-6de4cdde806f
-- you need SPI_SETMOUSESPEED.



来源:https://stackoverflow.com/questions/2450966/java-how-to-change-mouse-speed-in-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!