コード例 #1
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;
        }
コード例 #2
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;
        }