Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }