diff --git a/Artemis/Artemis/App.xaml b/Artemis/Artemis/App.xaml index 1b093a2b3..15a67464a 100644 --- a/Artemis/Artemis/App.xaml +++ b/Artemis/Artemis/App.xaml @@ -17,8 +17,7 @@ - + diff --git a/Artemis/Artemis/App.xaml.cs b/Artemis/Artemis/App.xaml.cs index 3d53eec5c..f7f13e188 100644 --- a/Artemis/Artemis/App.xaml.cs +++ b/Artemis/Artemis/App.xaml.cs @@ -1,6 +1,7 @@ using System; using System.Windows; using System.Windows.Threading; +using Artemis.Utilities; using NLog; using WpfExceptionViewer; @@ -26,6 +27,9 @@ namespace Artemis private void Application_DispatcherUnhandledException(object sender, DispatcherUnhandledExceptionEventArgs e) { + // Get rid of the keyboard hook in case of a crash, otherwise input freezes up system wide until Artemis is gone + InputHook.Stop(); + if (DoHandle) { GetArtemisExceptionViewer(e.Exception).ShowDialog(); diff --git a/Artemis/Artemis/Artemis.csproj b/Artemis/Artemis/Artemis.csproj index e46fc944c..00dba2b00 100644 --- a/Artemis/Artemis/Artemis.csproj +++ b/Artemis/Artemis/Artemis.csproj @@ -131,6 +131,10 @@ LocalIntranet + + False + lib\AssettoCorsaSharedMemory.dll + ..\packages\Betwixt.1.4.1\lib\net35\Betwixt.dll True @@ -147,20 +151,20 @@ ..\packages\Caliburn.Micro.3.0.3\lib\net45\Caliburn.Micro.Platform.Core.dll True - - ..\packages\Castle.Core.3.3.3\lib\net45\Castle.Core.dll + + ..\packages\Castle.Core.4.0.0\lib\net45\Castle.Core.dll True ..\packages\Colore.5.1.0\lib\net35\Corale.Colore.dll True - - ..\packages\CSCore.1.1.0\lib\net35-client\CSCore.dll + + ..\packages\CSCore.1.2.0\lib\net35-client\CSCore.dll True - - ..\packages\CUE.NET.1.1.2.1\lib\net45\CUE.NET.dll + + ..\packages\CUE.NET.1.1.3.0\lib\net45\CUE.NET.dll True @@ -179,6 +183,10 @@ ..\packages\DynamicExpresso.Core.1.3.3.5\lib\net40\DynamicExpresso.Core.dll True + + ..\packages\MouseKeyHook.5.4.0\lib\net40\Gma.System.MouseKeyHook.dll + True + ..\packages\gong-wpf-dragdrop.0.1.4.3\lib\net40\GongSolutions.Wpf.DragDrop.dll True @@ -191,12 +199,12 @@ ..\packages\squirrel.windows.1.4.4\lib\Net45\ICSharpCode.SharpZipLib.dll True - - ..\packages\log4net.2.0.7\lib\net45-full\log4net.dll + + ..\packages\log4net.2.0.8\lib\net45-full\log4net.dll True - - ..\packages\MahApps.Metro.1.4.1\lib\net45\MahApps.Metro.dll + + ..\packages\MahApps.Metro.1.4.3\lib\net45\MahApps.Metro.dll True @@ -240,17 +248,13 @@ True - ..\packages\NLog.4.4.1\lib\net45\NLog.dll + ..\packages\NLog.4.4.4\lib\net45\NLog.dll True ..\packages\squirrel.windows.1.4.4\lib\Net45\NuGet.Squirrel.dll True - - ..\packages\Open.WinKeyboardHook.1.0.11\lib\net45\Open.WinKeyboardHook.dll - True - ..\packages\Process.NET.1.0.8\lib\Process.NET.dll True @@ -268,7 +272,7 @@ True - ..\packages\SpotifyAPI-NET.2.12.0\lib\SpotifyAPI.dll + ..\packages\SpotifyAPI-NET.2.13.1\lib\SpotifyAPI.dll True @@ -286,7 +290,7 @@ - ..\packages\MahApps.Metro.1.4.1\lib\net45\System.Windows.Interactivity.dll + ..\packages\MahApps.Metro.1.4.3\lib\net45\System.Windows.Interactivity.dll True @@ -325,6 +329,8 @@ + + @@ -354,6 +360,7 @@ + @@ -363,12 +370,20 @@ + + + + + + AssettoCorsaView.xaml + + @@ -472,9 +487,13 @@ OverlayProfileView.xaml + + + + @@ -486,7 +505,7 @@ - + @@ -546,6 +565,7 @@ + @@ -608,7 +628,7 @@ - + @@ -639,14 +659,13 @@ - - + @@ -669,6 +688,7 @@ + @@ -719,6 +739,9 @@ KeyboardPropertiesView.xaml + + LayerKeybindView.xaml + LayerConditionView.xaml @@ -757,6 +780,7 @@ Designer + @@ -781,7 +805,7 @@ - + PreserveNewest @@ -828,6 +852,10 @@ Designer MSBuild:Compile + + MSBuild:Compile + Designer + Designer MSBuild:Compile @@ -964,6 +992,10 @@ Designer MSBuild:Compile + + MSBuild:Compile + Designer + Designer MSBuild:Compile @@ -1035,12 +1067,12 @@ - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - + + + + + + The Assetto Corsa module uses the Assetto Corsa Shared Memory Library project by mdjarv. + + + + + + + + + + + + - - - + + + \ No newline at end of file diff --git a/Artemis/Artemis/Views/Profiles/LayerDynamicPropertiesView.xaml b/Artemis/Artemis/Views/Profiles/LayerDynamicPropertiesView.xaml index 70ea80c43..a81344761 100644 --- a/Artemis/Artemis/Views/Profiles/LayerDynamicPropertiesView.xaml +++ b/Artemis/Artemis/Views/Profiles/LayerDynamicPropertiesView.xaml @@ -1,16 +1,14 @@  - + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:sys="clr-namespace:System;assembly=mscorlib" + xmlns:controls="http://metro.mahapps.com/winfx/xaml/controls" + xmlns:models="clr-namespace:Artemis.Profiles.Layers.Models" + xmlns:converters="clr-namespace:Artemis.Utilities.Converters" + mc:Ignorable="d" + d:DesignWidth="500"> @@ -19,20 +17,19 @@ - + - + - +