Skip to content

Commit

Permalink
Merged dev into master
Browse files Browse the repository at this point in the history
  • Loading branch information
antonpup committed Jan 10, 2017
2 parents 7e87756 + bac2e30 commit be927f3
Show file tree
Hide file tree
Showing 43 changed files with 1,580 additions and 1,351 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ ipch/
*.sdf
*.cachefile

# Visual Studi C++ compile files
*.exp
*.iobj
*.ipdb
*.lib

# Visual Studio profiler
*.psess
*.vsp
Expand Down
384 changes: 192 additions & 192 deletions Aurora-LeagueLogiLEDWrapper/Aurora-LeagueLogiLEDWrapper.vcxproj

Large diffs are not rendered by default.

384 changes: 192 additions & 192 deletions Aurora-LightFXWrapper/Aurora-LightFXWrapper.vcxproj

Large diffs are not rendered by default.

394 changes: 197 additions & 197 deletions Aurora-LogiLEDWrapper/Aurora-LogiLEDWrapper.vcxproj

Large diffs are not rendered by default.

384 changes: 192 additions & 192 deletions Aurora-RazerLEDWrapper/Aurora-RazerLEDWrapper.vcxproj

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion Project-Aurora/NetworkListener.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,10 @@ public bool Start()
net_Listener.Start();
}
catch (HttpListenerException exc)
{
{
if(exc.ErrorCode == 5)//Access Denied
System.Windows.MessageBox.Show($"Access error during start of network listener.\r\n\r\nTo fix this issue, please run the following commands as admin in Command Prompt:\r\n netsh http add urlacl url=http://localhost:{Port}/ user=Everyone listen=yes\r\nand\r\n netsh http add urlacl url=http://127.0.0.1:{Port}/ user=Everyone listen=yes", "Aurora - Error");

Global.logger.LogLine(exc.ToString(), Logging_Level.Error);

return false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,23 @@ public override void LoadProfiles()

if (Directory.Exists(profiles_path))
{
this.LoadScripts(profiles_path);

foreach (string profile in Directory.EnumerateFiles(profiles_path, "*.json", SearchOption.TopDirectoryOnly))
{
string profile_name = Path.GetFileNameWithoutExtension(profile);

if (profile_name.Equals("app_info"))
continue;

ProfileSettings profile_settings = LoadProfile(profile);

if (profile_settings != null)
{
this.InitalizeScriptSettings(profile_settings);

if (profile_name.Equals("default"))
Settings = profile_settings;
else if (profile_name.Equals("app_info"))
continue;
else
{
if (!Profiles.ContainsKey(profile_name))
Expand Down
8 changes: 3 additions & 5 deletions Project-Aurora/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,13 @@ static void Main(string[] args)

AppDomain.CurrentDomain.ProcessExit += new EventHandler(OnProcessExit);

Global.dev_manager = new DeviceManager();
Global.effengine = new Effects();

//Load config
Global.logger.LogLine("Loading Configuration", Logging_Level.Info);
try
{
Global.Configuration = new Configuration();
Global.Configuration = ConfigManager.Load();
}
catch (Exception e)
Expand Down Expand Up @@ -183,12 +185,8 @@ static void Main(string[] args)
}

Global.logger.LogLine("Loading Device Manager", Logging_Level.Info);
Global.dev_manager = new DeviceManager();
Global.dev_manager.Initialize();

Global.logger.LogLine("Loading Effects Engine", Logging_Level.Info);
Global.effengine = new Effects();

Global.logger.LogLine("Loading KB Layouts", Logging_Level.Info);
Global.kbLayout = new KeyboardLayoutManager();
Global.kbLayout.LoadBrand(Global.Configuration.keyboard_brand, Global.Configuration.mouse_preference, Global.Configuration.mouse_orientation);
Expand Down
7 changes: 4 additions & 3 deletions Project-Aurora/Project-Aurora.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -1198,6 +1198,7 @@
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
Expand All @@ -1220,7 +1221,7 @@
<Resource Include="Resources\gta5_64x64.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\x64\Aurora-LogiLEDWrapper.dll" />
<Resource Include="Resources\Win64\Aurora-LogiLEDWrapper.dll" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\AddProfile_Icon.png" />
Expand Down Expand Up @@ -1308,7 +1309,7 @@
<Resource Include="Resources\blacklight_64x64.png" />
<Content Include="Resources\CorsairInstall\Step1.png" />
<Content Include="Resources\CorsairInstall\Step2.png" />
<Resource Include="Resources\x64\Aurora-LightFXWrapper.dll" />
<Resource Include="Resources\Win64\Aurora-LightFXWrapper.dll" />
<None Include="ver_minor.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
Expand Down Expand Up @@ -1336,7 +1337,7 @@
<Resource Include="Resources\bns_48x48.png" />
<Resource Include="Resources\keycap_backglow.png" />
<Content Include="Resources\Win32\Aurora-RazerLEDWrapper.dll" />
<Resource Include="Resources\x64\Aurora-RazerLEDWrapper.dll" />
<Resource Include="Resources\Win64\Aurora-RazerLEDWrapper.dll" />
<Resource Include="Resources\FreeForm_Circle.png" />
<Resource Include="Resources\FreeForm_CircleFilled.png" />
<Resource Include="Resources\FreeForm_Line.png" />
Expand Down
Loading

0 comments on commit be927f3

Please sign in to comment.