public static void Stop() { if (Hook != null) { Hook.Stop(); Hook = null; } Status = ConnectionStatus.StatusStopped; }
public static void Connect() { if (Hook == null) { Hook = new DS3Hook(); } Hook.Start(); Status = ConnectionStatus.StatusConnecting; }