Win32RawInput.cs
changeset 48 1eb878505ae1
parent 45 b044174a8d7b
child 60 687cace560d2
     1.1 --- a/Win32RawInput.cs	Mon Dec 29 11:45:33 2014 +0100
     1.2 +++ b/Win32RawInput.cs	Mon Feb 02 22:12:15 2015 +0100
     1.3 @@ -178,12 +178,18 @@
     1.4          public const int FAPPCOMMAND_MASK = 0xF000;
     1.5          public const int FAPPCOMMAND_MOUSE = 0x8000;
     1.6          public const int FAPPCOMMAND_KEY = 0;
     1.7 -        public const int FAPPCOMMAND_OEM = 0x1000;
     1.8 -
     1.9 +		public const int FAPPCOMMAND_OEM = 0x1000;
    1.10      }
    1.11  
    1.12  
    1.13      [StructLayout(LayoutKind.Sequential, Pack = 1)]
    1.14 +    public struct RAWINPUTDEVICELIST
    1.15 +    {
    1.16 +        public IntPtr hDevice;
    1.17 +        public uint dwType;
    1.18 +    }
    1.19 +
    1.20 +    [StructLayout(LayoutKind.Sequential, Pack = 1)]
    1.21      public struct RAWINPUTDEVICE
    1.22      {
    1.23          [MarshalAs(UnmanagedType.U2)]