public void SwitchesChanged(object sender, SwitchesChangedEventArgs e)
 {
     try
     {
         SetGraphicsState(e.Switches);
     }
     catch (Exception ex)
     {
         Common.ShowErrorMessageBox(1064, ex);
     }
 }
Beispiel #2
0
 public void SwitchesChanged(object sender, SwitchesChangedEventArgs e)
 {
     try
     {
         //todo
     }
     catch (Exception ex)
     {
         Common.ShowErrorMessageBox(1086, ex);
     }
 }
 public void SwitchesChanged(object sender, SwitchesChangedEventArgs e)
 {
     try
     {
         if (e.PanelType == GamingPanelEnum.PZ69RadioPanel && e.HidInstance.Equals(_radioPanelPZ69.HIDInstance))
         {
             SetGraphicsState(e.Switches);
         }
     }
     catch (Exception ex)
     {
         Common.ShowErrorMessageBox(ex);
     }
 }
Beispiel #4
0
 public void UISwitchesChanged(object sender, SwitchesChangedEventArgs e)
 {
     try
     {
         if (e.GamingPanelEnum == _streamDeckPanel.TypeOfPanel && e.HidInstance.Equals(_streamDeckPanel.HIDInstanceId))
         {
             NotifyButtonChanges(e.Switches);
         }
     }
     catch (Exception ex)
     {
         Common.ShowErrorMessageBox(ex);
     }
 }
 public void SwitchesChanged(object sender, SwitchesChangedEventArgs e)
 {
     try
     {
         if (e.PanelType == GamingPanelEnum.PZ55SwitchPanel && e.HidInstance.Equals(_switchPanelPZ55.HIDInstance))
         {
             NotifySwitchChanges(e.Switches);
         }
     }
     catch (Exception ex)
     {
         Common.ShowErrorMessageBox(ex);
     }
 }
Beispiel #6
0
 public void SwitchesChanged(object sender, SwitchesChangedEventArgs e)
 {
     try
     {
         if (e.SaitekPanelEnum == SaitekPanelsEnum.TPM && e.UniqueId.Equals(_tpmPanel.InstanceId))
         {
             NotifySwitchChanges(e.Switches);
         }
     }
     catch (Exception ex)
     {
         Common.ShowErrorMessageBox(1066, ex);
     }
 }
Beispiel #7
0
 public void UISwitchesChanged(object sender, SwitchesChangedEventArgs e)
 {
     try
     {
         if (e.GamingPanelEnum == GamingPanelEnum.StreamDeck && e.UniqueId.Equals(_streamDeckPanel.PanelHash))
         {
             NotifyButtonChanges(e.Switches);
         }
     }
     catch (Exception ex)
     {
         Common.ShowErrorMessageBox(ex);
     }
 }
Beispiel #8
0
 public void SwitchesChanged(object sender, SwitchesChangedEventArgs e)
 {
 }