Class SystemDiagnosis
- java.lang.Object
-
- net.eternalclient.api.internal.mouse.naturalmouse.tools.SystemDiagnosis
-
public class SystemDiagnosis extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SystemDiagnosis()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
validateMouseMovement()
Runs a diagnosis with default configuration, by setting mouse all over your screen and expecting to receive correct coordinates back.static void
validateMouseMovement(SystemCalls system, MouseInfoAccessor accessor)
Runs a diagnosis, by setting mouse all over your screen and expecting to receive correct coordinates back.
-
-
-
Method Detail
-
validateMouseMovement
public static void validateMouseMovement()
Runs a diagnosis with default configuration, by setting mouse all over your screen and expecting to receive correct coordinates back. If java.awt.Robot cannot be constructed, then new RuntimeException is thrown. If no issues are found, then this method completes without throwing an error, otherwise IllegalStateException is thrown.
-
validateMouseMovement
public static void validateMouseMovement(SystemCalls system, MouseInfoAccessor accessor)
Runs a diagnosis, by setting mouse all over your screen and expecting to receive correct coordinates back. If no issues are found, then this method completes without throwing an error, otherwise IllegalStateException is thrown.- Parameters:
system
- a SystemCalls class which is used for setting the mouse positionaccessor
- a MouseInfoAccessor which is used for querying mouse position
-
-