Skip to content

Commit

Permalink
Fix for corsair when "Show only connected devices" is enabled in cue
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-wh committed Jul 31, 2018
1 parent 259921e commit 1f19a40
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Project-Aurora/Project-Aurora/Devices/Corsair/CorsairDevice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,14 @@ public bool Initialize()
mouse = CueSDK.MouseSDK;
headset = CueSDK.HeadsetSDK;
mousemat = CueSDK.MousematSDK;
keyboard.Brush = (CUE.NET.Brushes.SolidColorBrush)Color.Transparent;
mouse.Brush = (CUE.NET.Brushes.SolidColorBrush)Color.Transparent;
headset.Brush = (CUE.NET.Brushes.SolidColorBrush)Color.Transparent;
mousemat.Brush = (CUE.NET.Brushes.SolidColorBrush)Color.Transparent;
if (keyboard != null)
keyboard.Brush = (CUE.NET.Brushes.SolidColorBrush)Color.Transparent;
if (mouse != null)
mouse.Brush = (CUE.NET.Brushes.SolidColorBrush)Color.Transparent;
if (headset != null)
headset.Brush = (CUE.NET.Brushes.SolidColorBrush)Color.Transparent;
if (mousemat != null)
mousemat.Brush = (CUE.NET.Brushes.SolidColorBrush)Color.Transparent;


if (keyboard == null && mouse == null && headset == null && mousemat == null)
Expand Down

0 comments on commit 1f19a40

Please sign in to comment.