diff --git a/Project-Aurora/EffectsEngine/Effects.cs b/Project-Aurora/EffectsEngine/Effects.cs index c1dfb2a07..1587bfe94 100644 --- a/Project-Aurora/EffectsEngine/Effects.cs +++ b/Project-Aurora/EffectsEngine/Effects.cs @@ -130,7 +130,7 @@ public static int canvas_biggest } } - public static readonly Devices.DeviceKeys[] allKeys = Enum.GetValues(typeof(Devices.DeviceKeys)).Cast().ToArray(); + //public static readonly Devices.DeviceKeys[] allKeys = Enum.GetValues(typeof(Devices.DeviceKeys)).Cast().ToArray(); private static Dictionary bitmap_map = new Dictionary(); @@ -138,6 +138,8 @@ public static int canvas_biggest public Effects() { + Devices.DeviceKeys[] allKeys = bitmap_map.Keys.ToArray(); + foreach (Devices.DeviceKeys key in allKeys) { keyColors.Add(key, Color.FromArgb(0, 0, 0)); @@ -239,6 +241,7 @@ public void PushFrame(EffectFrame frame) background *= Global.Configuration.global_brightness; Dictionary keyColors = new Dictionary(); + Devices.DeviceKeys[] allKeys = bitmap_map.Keys.ToArray(); foreach (Devices.DeviceKeys key in allKeys) { diff --git a/Project-Aurora/Settings/Configuration.cs b/Project-Aurora/Settings/Configuration.cs index b7e5ffcec..546e061c9 100644 --- a/Project-Aurora/Settings/Configuration.cs +++ b/Project-Aurora/Settings/Configuration.cs @@ -170,6 +170,9 @@ public Configuration() overwatch_settings = new OverwatchSettings(); pd2_settings = new PD2Settings(); division_settings = new TheDivisionSettings(); + lol_settings = new LoLSettings(); + hotlinemiami_settings = new HMSettings(); + talosprinciple_settings = new TalosPrincipleSettings(); //Overlay Settings volume_overlay_settings = new VolumeOverlaySettings();