diff -r bd068db7779a -r 1eb878505ae1 Win32RawInput.cs --- a/Win32RawInput.cs Mon Dec 29 11:45:33 2014 +0100 +++ b/Win32RawInput.cs Mon Feb 02 22:12:15 2015 +0100 @@ -178,12 +178,18 @@ public const int FAPPCOMMAND_MASK = 0xF000; public const int FAPPCOMMAND_MOUSE = 0x8000; public const int FAPPCOMMAND_KEY = 0; - public const int FAPPCOMMAND_OEM = 0x1000; - + public const int FAPPCOMMAND_OEM = 0x1000; } [StructLayout(LayoutKind.Sequential, Pack = 1)] + public struct RAWINPUTDEVICELIST + { + public IntPtr hDevice; + public uint dwType; + } + + [StructLayout(LayoutKind.Sequential, Pack = 1)] public struct RAWINPUTDEVICE { [MarshalAs(UnmanagedType.U2)]