# HG changeset patch # User StephaneLenclud # Date 1426451211 -3600 # Node ID 312160defeac87de35bf6150b560db20c45d0389 # Parent baabcd5cdf8cd36d5fa44a1cf114b23ad6b3117e Publishing on NuGet. diff -r baabcd5cdf8c -r 312160defeac MainForm.cs --- a/MainForm.cs Sun Mar 15 20:44:15 2015 +0100 +++ b/MainForm.cs Sun Mar 15 21:26:51 2015 +0100 @@ -69,7 +69,7 @@ // remote device. See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwmt/html/remote_control.asp // for the vendor defined usage page. - RAWINPUTDEVICE[] rid = new RAWINPUTDEVICE[6]; + RAWINPUTDEVICE[] rid = new RAWINPUTDEVICE[5]; int i = 0; rid[i].usUsagePage = (ushort)SharpLib.Hid.UsagePage.WindowsMediaCenterRemoteControl; @@ -101,11 +101,11 @@ rid[i].dwFlags = Const.RIDEV_EXINPUTSINK; rid[i].hwndTarget = Handle; - i++; - rid[i].usUsagePage = (ushort)SharpLib.Hid.UsagePage.GenericDesktopControls; - rid[i].usUsage = (ushort)SharpLib.Hid.UsageCollection.GenericDesktop.Keyboard; + //i++; + //rid[i].usUsagePage = (ushort)SharpLib.Hid.UsagePage.GenericDesktopControls; + //rid[i].usUsage = (ushort)SharpLib.Hid.UsageCollection.GenericDesktop.Keyboard; //rid[i].dwFlags = Const.RIDEV_EXINPUTSINK; - rid[i].hwndTarget = Handle; + //rid[i].hwndTarget = Handle; //i++; //rid[i].usUsagePage = (ushort)Hid.UsagePage.GenericDesktopControls; diff -r baabcd5cdf8c -r 312160defeac SharpLibHid.csproj --- a/SharpLibHid.csproj Sun Mar 15 20:44:15 2015 +0100 +++ b/SharpLibHid.csproj Sun Mar 15 21:26:51 2015 +0100 @@ -30,6 +30,7 @@ TRACE prompt 4 + true diff -r baabcd5cdf8c -r 312160defeac SharpLibHid.nuspec --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SharpLibHid.nuspec Sun Mar 15 21:26:51 2015 +0100 @@ -0,0 +1,17 @@ + + + + SharpLibHid + 1.0.0 + Stéphane Lenclud + Stéphane Lenclud + http://hg.slions.net/SharpLibHid + false + C# HID libray designed to handle raw input. Most useful to support IR remote control and gamepad inputs. + Stéphane Lenclud + HID + + + + + \ No newline at end of file