Adding editor config and some Win32 struct.
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/.editorconfig Mon Feb 02 22:12:15 2015 +0100
1.3 @@ -0,0 +1,12 @@
1.4 +; Top-most EditorConfig file
1.5 +root = true
1.6 +
1.7 +; Unix-style newlines
1.8 +[*]
1.9 +end_of_line = crlf
1.10 +
1.11 +; 4-column tab indentation
1.12 +[*.cs]
1.13 +indent_style = tab
1.14 +indent_size = 4
1.15 +
2.1 --- a/Win32RawInput.cs Mon Dec 29 11:45:33 2014 +0100
2.2 +++ b/Win32RawInput.cs Mon Feb 02 22:12:15 2015 +0100
2.3 @@ -178,12 +178,18 @@
2.4 public const int FAPPCOMMAND_MASK = 0xF000;
2.5 public const int FAPPCOMMAND_MOUSE = 0x8000;
2.6 public const int FAPPCOMMAND_KEY = 0;
2.7 - public const int FAPPCOMMAND_OEM = 0x1000;
2.8 -
2.9 + public const int FAPPCOMMAND_OEM = 0x1000;
2.10 }
2.11
2.12
2.13 [StructLayout(LayoutKind.Sequential, Pack = 1)]
2.14 + public struct RAWINPUTDEVICELIST
2.15 + {
2.16 + public IntPtr hDevice;
2.17 + public uint dwType;
2.18 + }
2.19 +
2.20 + [StructLayout(LayoutKind.Sequential, Pack = 1)]
2.21 public struct RAWINPUTDEVICE
2.22 {
2.23 [MarshalAs(UnmanagedType.U2)]