# HG changeset patch # User StephaneLenclud # Date 1426453710 -3600 # Node ID b3cc1093c22b7b998d59ae3666144e963191b459 # Parent 0df386e37e29970aa2111445b1609c0d5d496faa Adding dependency on SharpLibHid. Adding hard coded handling of green start key to launch MediaPortal. diff -r 0df386e37e29 -r b3cc1093c22b Server/MainForm.cs --- a/Server/MainForm.cs Tue Feb 10 17:14:27 2015 +0100 +++ b/Server/MainForm.cs Sun Mar 15 22:08:30 2015 +0100 @@ -44,6 +44,7 @@ using SharpDisplayClient; using SharpDisplay; + namespace SharpDisplayManager { //Types declarations @@ -192,6 +193,9 @@ //Start our server so that we can get client requests StartServer(); + + //Register for HID events + RegisterHidDevices(); } /// diff -r 0df386e37e29 -r b3cc1093c22b Server/SharpDisplayManager.csproj --- a/Server/SharpDisplayManager.csproj Tue Feb 10 17:14:27 2015 +0100 +++ b/Server/SharpDisplayManager.csproj Sun Mar 15 22:08:30 2015 +0100 @@ -31,8 +31,8 @@ true index.htm false - 0 - 0.2.2.%2a + 1 + 0.3.0.%2a false true true @@ -109,6 +109,9 @@ ..\packages\NAudio.1.7.2\lib\net35\NAudio.dll + + ..\packages\SharpLibHid.1.0.0\lib\net20\SharpLibHid.dll + @@ -127,6 +130,7 @@ + diff -r 0df386e37e29 -r b3cc1093c22b Server/packages.config --- a/Server/packages.config Tue Feb 10 17:14:27 2015 +0100 +++ b/Server/packages.config Sun Mar 15 22:08:30 2015 +0100 @@ -1,4 +1,5 @@  + \ No newline at end of file