问题
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