Example #1
0
 public static void Init()
 {
     if (_initialized)
     {
         Log.Info("Remotes: Init was called before Stop - stopping devices now");
         Stop();
     }
     _initialized = true;
     //diRemote.Init(); // Disable DirectX Input (not compatible with NET4 and later)
     X10Remote.Init();
     CentareaRemote.Init();
     HidListener.Init(GUIGraphicsContext.ActiveForm);
     MCE2005Remote.Init(GUIGraphicsContext.ActiveForm);
     FireDTVRemote.Init(GUIGraphicsContext.ActiveForm);
     HCWRemote.Init(GUIGraphicsContext.ActiveForm);
     IrTrans.Init(GUIGraphicsContext.ActiveForm);
 }
Example #2
0
 public static void Init()
 {
     if (_initialized)
     {
         Log.Info("Remotes: Init was called before Stop - stopping devices now");
         Stop();
     }
     _initialized = true;
     diRemote.Init();
     X10Remote.Init();
     CentareaRemote.Init();
     HidListener.Init(GUIGraphicsContext.ActiveForm);
     MCE2005Remote.Init(GUIGraphicsContext.ActiveForm);
     FireDTVRemote.Init(GUIGraphicsContext.ActiveForm);
     HCWRemote.Init(GUIGraphicsContext.ActiveForm);
     IrTrans.Init(GUIGraphicsContext.ActiveForm);
 }
Example #3
0
        public static void Stop()
        {
            if (!_initialized)
            {
                Log.Info("Remotes: Stop was called without Init - exiting");
                return;
            }

            HidListener.DeInit();
            MCE2005Remote.DeInit();
            FireDTVRemote.DeInit();
            CentareaRemote.DeInit();
            HCWRemote.DeInit();
            IrTrans.DeInit();
            //diRemote.Stop(); // Disable DirectX Input (not compatible with NET4 and later)

            _initialized = false;
        }
Example #4
0
        public static void Stop()
        {
            if (!_initialized)
            {
                Log.Info("Remotes: Stop was called without Init - exiting");
                return;
            }

            HidListener.DeInit();
            MCE2005Remote.DeInit();
            FireDTVRemote.DeInit();
            CentareaRemote.DeInit();
            HCWRemote.DeInit();
            IrTrans.DeInit();
            diRemote.Stop();

            _initialized = false;
        }