protected GamingPanel(GamingPanelEnum typeOfGamingPanel, HIDSkeleton hidSkeleton)
 {
     _typeOfGamingPanel = typeOfGamingPanel;
     HIDSkeletonBase    = hidSkeleton;
     if (Common.IsOperationModeFlagSet(OperationFlag.DCSBIOSOutputEnabled))
     {
         _updateCounterDCSBIOSOutput = DCSBIOSOutput.GetUpdateCounter();
     }
     _hash = Common.GetMd5Hash(hidSkeleton.InstanceId);
 }
Beispiel #2
0
        protected GamingPanel(GamingPanelEnum typeOfGamingPanel, HIDSkeleton hidSkeleton)
        {
            _typeOfGamingPanel = typeOfGamingPanel;
            HIDSkeletonBase    = hidSkeleton;
            if (Common.IsOperationModeFlagSet(EmulationMode.DCSBIOSOutputEnabled))
            {
                _updateCounterDCSBIOSOutput = DCSBIOSOutput.GetUpdateCounter();
            }
            GamingPanels.Add(this);

            if (hidSkeleton.HIDReadDevice != null)
            {
                hidSkeleton.HIDReadDevice.Inserted += DeviceInsertedHandler;
            }
        }
Beispiel #3
0
 protected SaitekPanel(SaitekPanelsEnum typeOfSaitekPanel, HIDSkeleton hidSkeleton)
 {
     _typeOfSaitekPanel          = typeOfSaitekPanel;
     HIDSkeletonBase             = hidSkeleton;
     _updateCounterDCSBIOSOutput = DCSBIOSOutput.GetUpdateCounter();
 }