Beispiel #1
0
 public void Disconnect()
 {
     if (_motionController.Handle != IntPtr.Zero)
     {
         SetLED(0, 0, 0);
         _motionController.Rumble = 0;
         PsMoveApi.psmove_disconnect(_motionController.Handle);
         _motionController.Handle = IntPtr.Zero;
         disconnected             = true;
         Console.WriteLine("move destroyed");
     }
 }