itsgrimetime 0 Share Posted September 28, 2018 Hi, Is there any way to make use of the MouseAlgorithm interface? I'd like to attempt implementing my own mouse movement. I noticed there's a single implementation, DreamMouseAlgorithm, which I imagine could be the default implementation that is used for all built-in mouse movement (although it strangely has a main method), but I haven't found any classes with constructors or methods that take a MouseAlgorithm as a parameter. If it's deprecated/unusable, what's the current best practice for implementing our own movement? Thanks for the help! Link to comment Share on other sites More sharing options...
Pengu 23 Share Posted September 28, 2018 getMouse.setAlwaysHop(true); Link to comment Share on other sites More sharing options...
itsgrimetime 0 Author Share Posted September 28, 2018 2 hours ago, Pengu said: getMouse.setAlwaysHop(true); Hm, okay, I'm not quite sure I understand how this would allow me to implement my own mouse movement. Does this function not simply turn off all actual mouse movement and just teleport the cursor to the location its going to? I might need a little bit more of an example, if you would kindly provide one. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.