+++ /dev/null
-/*\r
-* Copyright (c) 2007-2010 SlimDX Group\r
-* \r
-* Permission is hereby granted, free of charge, to any person obtaining a copy\r
-* of this software and associated documentation files (the "Software"), to deal\r
-* in the Software without restriction, including without limitation the rights\r
-* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r
-* copies of the Software, and to permit persons to whom the Software is\r
-* furnished to do so, subject to the following conditions:\r
-* \r
-* The above copyright notice and this permission notice shall be included in\r
-* all copies or substantial portions of the Software.\r
-* \r
-* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r
-* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r
-* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r
-* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r
-* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r
-* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\r
-* THE SOFTWARE.\r
-*/\r
-#pragma once\r
-\r
-namespace SlimDX\r
-{\r
- namespace RawInput\r
- {\r
- // NOTE: The enumerations defined in this file are in alphabetical order. When\r
- // adding new enumerations or renaming existing ones, please make sure\r
- // the ordering is maintained.\r
-\r
- [System::Flags]\r
- public enum class DeviceFlags : System::Int32\r
- {\r
- None = 0,\r
- ApplicationKeys = RIDEV_APPKEYS,\r
- CaptureMouse = RIDEV_CAPTUREMOUSE,\r
- InputSink = RIDEV_INPUTSINK,\r
- NoHotkeys = RIDEV_NOHOTKEYS,\r
- NoLegacy = RIDEV_NOLEGACY,\r
- };\r
-\r
- public enum class DeviceType : System::Int32\r
- {\r
- Keyboard = RIM_TYPEKEYBOARD,\r
- Mouse = RIM_TYPEMOUSE,\r
- HumanInputDevice = RIM_TYPEHID\r
- };\r
-\r
- [System::Flags]\r
- public enum class ScanCodeFlags : System::Int32\r
- {\r
- Make = RI_KEY_MAKE,\r
- Break = RI_KEY_BREAK,\r
- E0 = RI_KEY_E0,\r
- E1 = RI_KEY_E1,\r
- TerminalServerSetLed = RI_KEY_TERMSRV_SET_LED,\r
- TerminalServerShadow = RI_KEY_TERMSRV_SHADOW\r
- };\r
-\r
- public enum class KeyState\r
- {\r
- Pressed = WM_KEYDOWN,\r
- Released = WM_KEYUP,\r
- SystemKeyReleased = WM_SYSKEYUP,\r
- SystemKeyPressed = WM_SYSKEYDOWN,\r
- Hotkey = WM_HOTKEY,\r
- };\r
-\r
- [System::Flags]\r
- public enum class MouseButtonFlags : System::Int32\r
- {\r
- None = 0,\r
- LeftDown = RI_MOUSE_LEFT_BUTTON_DOWN,\r
- LeftUp = RI_MOUSE_LEFT_BUTTON_UP,\r
- RightDown = RI_MOUSE_RIGHT_BUTTON_DOWN,\r
- RightUp = RI_MOUSE_RIGHT_BUTTON_UP,\r
- MiddleDown = RI_MOUSE_MIDDLE_BUTTON_DOWN,\r
- MiddleUp = RI_MOUSE_MIDDLE_BUTTON_UP,\r
- Button4Down = RI_MOUSE_BUTTON_4_DOWN,\r
- Button4Up = RI_MOUSE_BUTTON_4_UP,\r
- Button5Down = RI_MOUSE_BUTTON_5_DOWN,\r
- Button5Up = RI_MOUSE_BUTTON_5_UP,\r
- MouseWheel = RI_MOUSE_WHEEL\r
- };\r
-\r
- [System::Flags]\r
- public enum class MouseMode : System::Int32\r
- {\r
- AbsoluteMovement = MOUSE_MOVE_ABSOLUTE,\r
- AttributesChanged = MOUSE_ATTRIBUTES_CHANGED,\r
- RelativeMovement = MOUSE_MOVE_RELATIVE,\r
- VirtualDesktopMovement = MOUSE_VIRTUAL_DESKTOP\r
- };\r
- }\r
-}
\ No newline at end of file