+++ /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 DirectInput\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
- /// <summary>\r
- /// Specifies the cooperative level for a DirectInput device.\r
- /// </summary>\r
- /// <unmanaged>DISCL</unmanaged>\r
- [System::Flags]\r
- public enum class CooperativeLevel : System::Int32\r
- {\r
- /// <summary>\r
- /// Exclusive access to the device.\r
- /// </summary>\r
- Exclusive = DISCL_EXCLUSIVE,\r
-\r
- /// <summary>\r
- /// Non exclusive access to the device.\r
- /// </summary>\r
- Nonexclusive = DISCL_NONEXCLUSIVE,\r
-\r
- /// <summary>\r
- /// Foreground operation of the device.\r
- /// </summary>\r
- Foreground = DISCL_FOREGROUND,\r
-\r
- /// <summary>\r
- /// Background operation of the device.\r
- /// </summary>\r
- Background = DISCL_BACKGROUND,\r
-\r
- /// <summary>\r
- /// Disables the Windows logo key.\r
- /// </summary>\r
- NoWinKey = DISCL_NOWINKEY,\r
- };\r
-\r
- /// <summary>\r
- /// Specifies other attributes of a data format.\r
- /// </summary>\r
- /// <unmanaged>DIDF</unmanaged>\r
- public enum class DataFormatFlag : System::Int32\r
- {\r
- /// <summary>\r
- /// The axes are in absolute mode.\r
- /// </summary>\r
- AbsoluteAxis = DIDF_ABSAXIS,\r
-\r
- /// <summary>\r
- /// The axes are in relative mode.\r
- /// </summary>\r
- RelativeAxis = DIDF_RELAXIS\r
- };\r
-\r
- /// <summary>\r
- /// Specifies the axis mode for the device.\r
- /// </summary>\r
- /// <unmanaged>DIPROPAXISMODE</unmanaged>\r
- public enum class DeviceAxisMode : System::Int32\r
- {\r
- /// <summary>\r
- /// The axis works with absolute data.\r
- /// </summary>\r
- Absolute = DIPROPAXISMODE_ABS,\r
-\r
- /// <summary>\r
- /// The axis works with relative data.\r
- /// </summary>\r
- Relative = DIPROPAXISMODE_REL\r
- };\r
-\r
- /// <unmanaged>DI8DEVCLASS</unmanaged>\r
- public enum class DeviceClass : System::Int32\r
- {\r
- All = DI8DEVCLASS_ALL,\r
- Device = DI8DEVCLASS_DEVICE,\r
- GameController = DI8DEVCLASS_GAMECTRL,\r
- Keyboard = DI8DEVCLASS_KEYBOARD,\r
- Pointer = DI8DEVCLASS_POINTER\r
- };\r
-\r
- /// <summary>\r
- /// The data format for a DirectInput device.\r
- /// </summary>\r
- public enum class DeviceDataFormat : System::Int32\r
- {\r
- /// <summary>\r
- /// Keyboard data.\r
- /// </summary>\r
- Keyboard,\r
-\r
- /// <summary>\r
- /// Mouse data.\r
- /// </summary>\r
- Mouse,\r
-\r
- /// <summary>\r
- /// Joystick data.\r
- /// </summary>\r
- Joystick\r
- };\r
-\r
- /// <unmanaged>DIEDFL</unmanaged>\r
- [System::Flags]\r
- public enum class DeviceEnumerationFlags : System::Int32\r
- {\r
- AllDevices = DIEDFL_ALLDEVICES,\r
- AttachedOnly = DIEDFL_ATTACHEDONLY,\r
- ForceFeedback = DIEDFL_FORCEFEEDBACK,\r
- IncludeAliases = DIEDFL_INCLUDEALIASES,\r
- IncludeHidden = DIEDFL_INCLUDEHIDDEN,\r
- IncludePhantoms = DIEDFL_INCLUDEPHANTOMS\r
- };\r
-\r
- /// <summary>\r
- /// Specifies the flags that can be associated with a DirectInput device.\r
- /// </summary>\r
- /// <unmanaged>DIDC</unmanaged>\r
- [System::Flags]\r
- public enum class DeviceFlags : System::Int32\r
- {\r
- /// <summary>\r
- /// The device is a duplicate of another DirectInput device.\r
- /// </summary>\r
- Alias = DIDC_ALIAS,\r
-\r
- /// <summary>\r
- /// The device is physically attached to the user's computer.\r
- /// </summary>\r
- Attached = DIDC_ATTACHED,\r
-\r
- /// <summary>\r
- /// The device supports deadband for at least one force-feedback condition.\r
- /// </summary>\r
- DeadBand = DIDC_DEADBAND,\r
-\r
- /// <summary>\r
- /// Specifies that the device's data is coming from a user mode device interface.\r
- /// </summary>\r
- Emulated = DIDC_EMULATED,\r
-\r
- /// <summary>\r
- /// The device supports force-feedback.\r
- /// </summary>\r
- ForceFeedback = DIDC_FORCEFEEDBACK,\r
-\r
- /// <summary>\r
- /// The force-feedback system supports the fade parameter for at least one effect.\r
- /// </summary>\r
- ForceFeedbackFade = DIDC_FFFADE,\r
-\r
- /// <summary>\r
- /// The force-feedback system supports the attack parameter for at least one effect.\r
- /// </summary>\r
- ForceFeedbackAttack = DIDC_FFATTACK,\r
-\r
- /// <summary>\r
- /// The device is a fictious device created by a device driver so that is can generate\r
- /// mouse and keyboard events.\r
- /// </summary>\r
- Hidden = DIDC_HIDDEN,\r
-\r
- /// <summary>\r
- /// The device is a placeholder.\r
- /// </summary>\r
- Phantom = DIDC_PHANTOM,\r
-\r
- /// <summary>\r
- /// At least one object in the current data format is polled, rather than interrupt driven.\r
- /// </summary>\r
- PolledDataFormat = DIDC_POLLEDDATAFORMAT,\r
-\r
- /// <summary>\r
- /// At least one object on the device is polled, rather than interrupt driven.\r
- /// </summary>\r
- PolledDevice = DIDC_POLLEDDEVICE,\r
-\r
- /// <summary>\r
- /// The force-feedback system supports two coefficient values for conditions.\r
- /// </summary>\r
- PositiveNegativeCoefficients = DIDC_POSNEGCOEFFICIENTS,\r
-\r
- /// <summary>\r
- /// The force-feedback system supports a maximum saturation for both positive and negative\r
- /// force output for at least one condition.\r
- /// </summary>\r
- PositiveNegativeSaturation = DIDC_POSNEGSATURATION,\r
-\r
- /// <summary>\r
- /// The force-feedback system supports the saturation of condition effects for at least\r
- /// one condition.\r
- /// </summary>\r
- Saturation = DIDC_SATURATION,\r
-\r
- /// <summary>\r
- /// The force-feedback system supports the start delay parameter for at least one effect.\r
- /// </summary>\r
- StartDelay = DIDC_STARTDELAY\r
- };\r
-\r
- /// <summary>\r
- /// Specifies the main type of a DirectInput device.\r
- /// </summary>\r
- /// <unmanaged>DI8DEVTYPE</unmanaged>\r
- public enum class DeviceType : System::Int32\r
- {\r
- /// <summary>\r
- /// A first-person action game device.\r
- /// </summary>\r
- FirstPerson = DI8DEVTYPE_1STPERSON,\r
-\r
- /// <summary>\r
- /// A device that does not fall into any other category.\r
- /// </summary>\r
- Other = DI8DEVTYPE_DEVICE,\r
-\r
- /// <summary>\r
- /// Input device used to control another type of device from within the context of\r
- /// the application.\r
- /// </summary>\r
- ControlDevice = DI8DEVTYPE_DEVICECTRL,\r
-\r
- /// <summary>\r
- /// A device for steering.\r
- /// </summary>\r
- Driving = DI8DEVTYPE_DRIVING,\r
-\r
- /// <summary>\r
- /// Controller for a flight simulation.\r
- /// </summary>\r
- Flight = DI8DEVTYPE_FLIGHT,\r
-\r
- /// <summary>\r
- /// A console game pad.\r
- /// </summary>\r
- Gamepad = DI8DEVTYPE_GAMEPAD,\r
-\r
- /// <summary>\r
- /// A generic joystick.\r
- /// </summary>\r
- Joystick = DI8DEVTYPE_JOYSTICK,\r
-\r
- /// <summary>\r
- /// A keyboard or keyboard-like device.\r
- /// </summary>\r
- Keyboard = DI8DEVTYPE_KEYBOARD,\r
-\r
- /// <summary>\r
- /// A mouse or mouse-like device.\r
- /// </summary>\r
- Mouse = DI8DEVTYPE_MOUSE,\r
-\r
- /// <summary>\r
- /// A remote-control device.\r
- /// </summary>\r
- Remote = DI8DEVTYPE_REMOTE,\r
-\r
- /// <summary>\r
- /// A screen pointer device.\r
- /// </summary>\r
- ScreenPointer = DI8DEVTYPE_SCREENPOINTER,\r
-\r
- /// <summary>\r
- /// A specialized device with functionality unsuitable for main control of an application,\r
- /// such as pedals with a wheel.\r
- /// </summary>\r
- Supplemental = DI8DEVTYPE_SUPPLEMENTAL\r
- };\r
-\r
- [System::Flags]\r
- public enum class EffectFileFlags : System::Int32\r
- {\r
- None = 0,\r
- IncludeNonstandard = DIFEF_INCLUDENONSTANDARD,\r
- ModifyIfNeeded = DIFEF_MODIFYIFNEEDED\r
- };\r
-\r
- [System::Flags]\r
- public enum class EffectFlags : System::Int32\r
- {\r
- None = 0,\r
- Cartesian = DIEFF_CARTESIAN,\r
- ObjectIds = DIEFF_OBJECTIDS,\r
- ObjectOffsets = DIEFF_OBJECTOFFSETS,\r
- Polar = DIEFF_POLAR,\r
- Spherical = DIEFF_SPHERICAL\r
- };\r
-\r
- [System::Flags]\r
- public enum class EffectParameterFlags : System::Int32\r
- {\r
- None = 0,\r
- All = DIEP_ALLPARAMS,\r
- AllExceptStartDelay = DIEP_ALLPARAMS_DX5,\r
- Axes = DIEP_AXES,\r
- Direction = DIEP_DIRECTION,\r
- Duration = DIEP_DURATION,\r
- Envelope = DIEP_ENVELOPE,\r
- Gain = DIEP_GAIN,\r
- SamplePeriod = DIEP_SAMPLEPERIOD,\r
- StartDelay = DIEP_STARTDELAY,\r
- TriggerButton = DIEP_TRIGGERBUTTON,\r
- TriggerRepeatInterval = DIEP_TRIGGERREPEATINTERVAL,\r
- TypeSpecificParameters = DIEP_TYPESPECIFICPARAMS,\r
-\r
- Start = DIEP_START,\r
- NoRestart = DIEP_NORESTART,\r
- NoDownload = (int) DIEP_NODOWNLOAD\r
- };\r
-\r
-#pragma warning(disable: 4369)\r
- [System::Flags]\r
- public enum class EffectPlayFlags : System::Int32\r
- {\r
- None = 0,\r
- Solo = DIES_SOLO,\r
- NoDownload = DIES_NODOWNLOAD\r
- };\r
-#pragma warning(default: 4369)\r
-\r
- [System::Flags]\r
- public enum class EffectStatus : System::Int32\r
- {\r
- None = 0,\r
- Playing = DIEGES_PLAYING,\r
- Emulated = DIEGES_EMULATED\r
- };\r
-\r
- [System::Flags]\r
- public enum class EffectType : System::Int32\r
- {\r
- None = 0,\r
- All = DIEFT_ALL,\r
- Condition = DIEFT_CONDITION,\r
- ConstantForce = DIEFT_CONSTANTFORCE,\r
- CustomForce = DIEFT_CUSTOMFORCE,\r
- DeadBand = DIEFT_DEADBAND,\r
- Attack = DIEFT_FFATTACK,\r
- Fade = DIEFT_FFFADE,\r
- Hardware = DIEFT_HARDWARE,\r
- Periodic = DIEFT_PERIODIC,\r
- TwoCoefficients = DIEFT_POSNEGCOEFFICIENTS,\r
- TwoSaturations = DIEFT_POSNEGSATURATION,\r
- RampForce = DIEFT_RAMPFORCE,\r
- Saturation = DIEFT_SATURATION,\r
- StartDelay = DIEFT_STARTDELAY\r
- };\r
-\r
- public enum class ImageUsage : System::Int32\r
- {\r
- Configuration = DIDIFT_CONFIGURATION,\r
- Overlay = DIDIFT_OVERLAY\r
- };\r
-\r
- /// <summary>\r
- /// Defines possible keyboard key codes.\r
- /// </summary>\r
- public enum class Key : System::Int32\r
- {\r
- /// <summary>\r
- /// The number 0.\r
- /// </summary>\r
- D0,\r
-\r
- /// <summary>\r
- /// The number 1.\r
- /// </summary>\r
- D1,\r
-\r
- /// <summary>\r
- /// The number 2.\r
- /// </summary>\r
- D2,\r
-\r
- /// <summary>\r
- /// The number 3.\r
- /// </summary>\r
- D3,\r
-\r
- /// <summary>\r
- /// The number 4.\r
- /// </summary>\r
- D4,\r
-\r
- /// <summary>\r
- /// The number 5.\r
- /// </summary>\r
- D5,\r
-\r
- /// <summary>\r
- /// The number 6.\r
- /// </summary>\r
- D6,\r
-\r
- /// <summary>\r
- /// The number 7.\r
- /// </summary>\r
- D7,\r
-\r
- /// <summary>\r
- /// The number 8.\r
- /// </summary>\r
- D8,\r
-\r
- /// <summary>\r
- /// The number 9.\r
- /// </summary>\r
- D9,\r
-\r
- /// <summary>\r
- /// The letter A.\r
- /// </summary>\r
- A,\r
-\r
- /// <summary>\r
- /// The letter B.\r
- /// </summary>\r
- B,\r
-\r
- /// <summary>\r
- /// The letter C.\r
- /// </summary>\r
- C,\r
-\r
- /// <summary>\r
- /// The letter D.\r
- /// </summary>\r
- D,\r
-\r
- /// <summary>\r
- /// The letter E.\r
- /// </summary>\r
- E,\r
-\r
- /// <summary>\r
- /// The letter F.\r
- /// </summary>\r
- F,\r
-\r
- /// <summary>\r
- /// The letter G.\r
- /// </summary>\r
- G,\r
-\r
- /// <summary>\r
- /// The letter H.\r
- /// </summary>\r
- H,\r
-\r
- /// <summary>\r
- /// The letter I.\r
- /// </summary>\r
- I,\r
-\r
- /// <summary>\r
- /// The letter J.\r
- /// </summary>\r
- J,\r
-\r
- /// <summary>\r
- /// The letter K.\r
- /// </summary>\r
- K,\r
-\r
- /// <summary>\r
- /// The letter L.\r
- /// </summary>\r
- L,\r
-\r
- /// <summary>\r
- /// The letter M.\r
- /// </summary>\r
- M,\r
-\r
- /// <summary>\r
- /// The letter N.\r
- /// </summary>\r
- N,\r
-\r
- /// <summary>\r
- /// The letter O.\r
- /// </summary>\r
- O,\r
-\r
- /// <summary>\r
- /// The letter P.\r
- /// </summary>\r
- P,\r
-\r
- /// <summary>\r
- /// The letter Q.\r
- /// </summary>\r
- Q,\r
-\r
- /// <summary>\r
- /// The letter R.\r
- /// </summary>\r
- R,\r
-\r
- /// <summary>\r
- /// The letter S.\r
- /// </summary>\r
- S,\r
-\r
- /// <summary>\r
- /// The letter T.\r
- /// </summary>\r
- T,\r
-\r
- /// <summary>\r
- /// The letter U.\r
- /// </summary>\r
- U,\r
-\r
- /// <summary>\r
- /// The letter V.\r
- /// </summary>\r
- V,\r
-\r
- /// <summary>\r
- /// The letter W.\r
- /// </summary>\r
- W,\r
-\r
- /// <summary>\r
- /// The letter X.\r
- /// </summary>\r
- X,\r
-\r
- /// <summary>\r
- /// The letter Y.\r
- /// </summary>\r
- Y,\r
-\r
- /// <summary>\r
- /// The letter Z.\r
- /// </summary>\r
- Z,\r
-\r
- /// <summary>\r
- /// The AbntC1 key on Brazillian keyboards.\r
- /// </summary>\r
- AbntC1,\r
-\r
- /// <summary>\r
- /// The AbntC2 key on Brazillian keyboards.\r
- /// </summary>\r
- AbntC2,\r
-\r
- /// <summary>\r
- /// The apostrophe key.\r
- /// </summary>\r
- Apostrophe,\r
-\r
- /// <summary>\r
- /// The Applications key.\r
- /// </summary>\r
- Applications,\r
-\r
- /// <summary>\r
- /// The Japanese At key.\r
- /// </summary>\r
- AT,\r
-\r
- /// <summary>\r
- /// The Japanese Ax key.\r
- /// </summary>\r
- AX,\r
-\r
- /// <summary>\r
- /// The Backspace.\r
- /// </summary>\r
- Backspace,\r
-\r
- /// <summary>\r
- /// The back slash key.\r
- /// </summary>\r
- Backslash,\r
-\r
- /// <summary>\r
- /// The calculator key.\r
- /// </summary>\r
- Calculator,\r
-\r
- /// <summary>\r
- /// The Caps Lock key.\r
- /// </summary>\r
- CapsLock,\r
-\r
- /// <summary>\r
- /// The colon key.\r
- /// </summary>\r
- Colon,\r
-\r
- /// <summary>\r
- /// The comma key.\r
- /// </summary>\r
- Comma,\r
-\r
- /// <summary>\r
- /// The Japanese Convert key.\r
- /// </summary>\r
- Convert,\r
-\r
- /// <summary>\r
- /// The Delete key.\r
- /// </summary>\r
- Delete,\r
-\r
- /// <summary>\r
- /// The Down Arrow key.\r
- /// </summary>\r
- DownArrow,\r
-\r
- /// <summary>\r
- /// The End key.\r
- /// </summary>\r
- End,\r
-\r
- /// <summary>\r
- /// The equals key.\r
- /// </summary>\r
- Equals,\r
-\r
- /// <summary>\r
- /// The Escape key.\r
- /// </summary>\r
- Escape,\r
-\r
- /// <summary>\r
- /// The F1 key.\r
- /// </summary>\r
- F1,\r
-\r
- /// <summary>\r
- /// The F2 key.\r
- /// </summary>\r
- F2,\r
-\r
- /// <summary>\r
- /// The F3 key.\r
- /// </summary>\r
- F3,\r
-\r
- /// <summary>\r
- /// The F4 key.\r
- /// </summary>\r
- F4,\r
-\r
- /// <summary>\r
- /// The F5 key.\r
- /// </summary>\r
- F5,\r
-\r
- /// <summary>\r
- /// The F6 key.\r
- /// </summary>\r
- F6,\r
-\r
- /// <summary>\r
- /// The F7 key.\r
- /// </summary>\r
- F7,\r
-\r
- /// <summary>\r
- /// The F8 key.\r
- /// </summary>\r
- F8,\r
-\r
- /// <summary>\r
- /// The F9 key.\r
- /// </summary>\r
- F9,\r
-\r
- /// <summary>\r
- /// The F10 key.\r
- /// </summary>\r
- F10,\r
-\r
- /// <summary>\r
- /// The F11 key.\r
- /// </summary>\r
- F11,\r
-\r
- /// <summary>\r
- /// The F12 key.\r
- /// </summary>\r
- F12,\r
-\r
- /// <summary>\r
- /// The F13 key.\r
- /// </summary>\r
- F13,\r
-\r
- /// <summary>\r
- /// The F14 key.\r
- /// </summary>\r
- F14,\r
-\r
- /// <summary>\r
- /// The F15 key.\r
- /// </summary>\r
- F15,\r
-\r
- /// <summary>\r
- /// The grav accent (`) key.\r
- /// </summary>\r
- Grave,\r
-\r
- /// <summary>\r
- /// The Home key.\r
- /// </summary>\r
- Home,\r
-\r
- /// <summary>\r
- /// The Insert key.\r
- /// </summary>\r
- Insert,\r
-\r
- /// <summary>\r
- /// The Japanese Kana key.\r
- /// </summary>\r
- Kana,\r
-\r
- /// <summary>\r
- /// The Japanese Kanji key.\r
- /// </summary>\r
- Kanji,\r
-\r
- /// <summary>\r
- /// The left square bracket key.\r
- /// </summary>\r
- LeftBracket,\r
-\r
- /// <summary>\r
- /// The left Ctrl key.\r
- /// </summary>\r
- LeftControl,\r
-\r
- /// <summary>\r
- /// The Left Arrow key.\r
- /// </summary>\r
- LeftArrow,\r
-\r
- /// <summary>\r
- /// The left Alt key.\r
- /// </summary>\r
- LeftAlt,\r
-\r
- /// <summary>\r
- /// The left Shift key.\r
- /// </summary>\r
- LeftShift,\r
-\r
- /// <summary>\r
- /// The left Windows key.\r
- /// </summary>\r
- LeftWindowsKey,\r
-\r
- /// <summary>\r
- /// The Mail key.\r
- /// </summary>\r
- Mail,\r
-\r
- /// <summary>\r
- /// The Media Select key.\r
- /// </summary>\r
- MediaSelect,\r
-\r
- /// <summary>\r
- /// The Media Stop key.\r
- /// </summary>\r
- MediaStop,\r
-\r
- /// <summary>\r
- /// The minus key.\r
- /// </summary>\r
- Minus,\r
-\r
- /// <summary>\r
- /// The Mute key.\r
- /// </summary>\r
- Mute,\r
-\r
- /// <summary>\r
- /// The My Computer key.\r
- /// </summary>\r
- MyComputer,\r
-\r
- /// <summary>\r
- /// The Next Track key.\r
- /// </summary>\r
- NextTrack,\r
-\r
- /// <summary>\r
- /// The Japanese No Convert key.\r
- /// </summary>\r
- NoConvert,\r
-\r
- /// <summary>\r
- /// The NumberLock key.\r
- /// </summary>\r
- NumberLock,\r
-\r
- /// <summary>\r
- /// The number 0 on the NumberPad.\r
- /// </summary>\r
- NumberPad0,\r
-\r
- /// <summary>\r
- /// The number 1 on the NumberPad.\r
- /// </summary>\r
- NumberPad1,\r
-\r
- /// <summary>\r
- /// The number 2 on the NumberPad.\r
- /// </summary>\r
- NumberPad2,\r
-\r
- /// <summary>\r
- /// The number 3 on the NumberPad.\r
- /// </summary>\r
- NumberPad3,\r
-\r
- /// <summary>\r
- /// The number 4 on the NumberPad.\r
- /// </summary>\r
- NumberPad4,\r
-\r
- /// <summary>\r
- /// The number 5 on the NumberPad.\r
- /// </summary>\r
- NumberPad5,\r
-\r
- /// <summary>\r
- /// The number 6 on the NumberPad.\r
- /// </summary>\r
- NumberPad6,\r
-\r
- /// <summary>\r
- /// The number 7 on the NumberPad.\r
- /// </summary>\r
- NumberPad7,\r
-\r
- /// <summary>\r
- /// The number 8 on the NumberPad.\r
- /// </summary>\r
- NumberPad8,\r
-\r
- /// <summary>\r
- /// The number 9 on the NumberPad.\r
- /// </summary>\r
- NumberPad9,\r
-\r
- /// <summary>\r
- /// The comma key on the NumberPad.\r
- /// </summary>\r
- NumberPadComma,\r
-\r
- /// <summary>\r
- /// The Enter key on the NumberPad.\r
- /// </summary>\r
- NumberPadEnter,\r
-\r
- /// <summary>\r
- /// The equals key on the NumberPad.\r
- /// </summary>\r
- NumberPadEquals,\r
-\r
- /// <summary>\r
- /// The minus key on the NumberPad.\r
- /// </summary>\r
- NumberPadMinus,\r
-\r
- /// <summary>\r
- /// The period key on the NumberPad.\r
- /// </summary>\r
- NumberPadPeriod,\r
-\r
- /// <summary>\r
- /// The plus key on the NumberPad.\r
- /// </summary>\r
- NumberPadPlus,\r
-\r
- /// <summary>\r
- /// The slash key on the NumberPad.\r
- /// </summary>\r
- NumberPadSlash,\r
-\r
- /// <summary>\r
- /// The asterisk key on the NumberPad.\r
- /// </summary>\r
- NumberPadStar,\r
-\r
- /// <summary>\r
- /// The British and German OEM102 key.\r
- /// </summary>\r
- Oem102,\r
-\r
- /// <summary>\r
- /// The Page Down key.\r
- /// </summary>\r
- PageDown,\r
-\r
- /// <summary>\r
- /// The Page Up key.\r
- /// </summary>\r
- PageUp,\r
-\r
- /// <summary>\r
- /// The Pause key.\r
- /// </summary>\r
- Pause,\r
-\r
- /// <summary>\r
- /// The period key.\r
- /// </summary>\r
- Period,\r
-\r
- /// <summary>\r
- /// The Play/Pause key.\r
- /// </summary>\r
- PlayPause,\r
-\r
- /// <summary>\r
- /// The Power key.\r
- /// </summary>\r
- Power,\r
-\r
- /// <summary>\r
- /// The Previous Track key.\r
- /// </summary>\r
- PreviousTrack,\r
-\r
- /// <summary>\r
- /// The right square bracket key.\r
- /// </summary>\r
- RightBracket,\r
-\r
- /// <summary>\r
- /// The right Ctrl key.\r
- /// </summary>\r
- RightControl,\r
-\r
- /// <summary>\r
- /// The Return/Enter key.\r
- /// </summary>\r
- Return,\r
-\r
- /// <summary>\r
- /// The Right Arrow key.\r
- /// </summary>\r
- RightArrow,\r
-\r
- /// <summary>\r
- /// The right Alt key.\r
- /// </summary>\r
- RightAlt,\r
-\r
- /// <summary>\r
- /// The right Shift key.\r
- /// </summary>\r
- RightShift,\r
-\r
- /// <summary>\r
- /// The right Windows key.\r
- /// </summary>\r
- RightWindowsKey,\r
-\r
- /// <summary>\r
- /// The Scroll Lock key.\r
- /// </summary>\r
- ScrollLock,\r
-\r
- /// <summary>\r
- /// The semicolon key.\r
- /// </summary>\r
- Semicolon,\r
-\r
- /// <summary>\r
- /// The slash key.\r
- /// </summary>\r
- Slash,\r
-\r
- /// <summary>\r
- /// The Sleep key.\r
- /// </summary>\r
- Sleep,\r
-\r
- /// <summary>\r
- /// The Spacebar.\r
- /// </summary>\r
- Space,\r
-\r
- /// <summary>\r
- /// The Stop key.\r
- /// </summary>\r
- Stop,\r
-\r
- /// <summary>\r
- /// The Print Screen key.\r
- /// </summary>\r
- PrintScreen,\r
-\r
- /// <summary>\r
- /// The Tab key.\r
- /// </summary>\r
- Tab,\r
-\r
- /// <summary>\r
- /// The Japanese Underline key.\r
- /// </summary>\r
- Underline,\r
-\r
- /// <summary>\r
- /// An unlabeled key.\r
- /// </summary>\r
- Unlabeled,\r
-\r
- /// <summary>\r
- /// The Up Arrow key.\r
- /// </summary>\r
- UpArrow,\r
-\r
- /// <summary>\r
- /// The Volume Down key.\r
- /// </summary>\r
- VolumeDown,\r
-\r
- /// <summary>\r
- /// The Volume Up key.\r
- /// </summary>\r
- VolumeUp,\r
-\r
- /// <summary>\r
- /// The Wake key.\r
- /// </summary>\r
- Wake,\r
-\r
- /// <summary>\r
- /// The Web Backwards key.\r
- /// </summary>\r
- WebBack,\r
-\r
- /// <summary>\r
- /// The Web Favorites key.\r
- /// </summary>\r
- WebFavorites,\r
-\r
- /// <summary>\r
- /// The Web Forwards key.\r
- /// </summary>\r
- WebForward,\r
-\r
- /// <summary>\r
- /// The Web Home key.\r
- /// </summary>\r
- WebHome,\r
-\r
- /// <summary>\r
- /// The Web Refresh key.\r
- /// </summary>\r
- WebRefresh,\r
-\r
- /// <summary>\r
- /// The Web Search key.\r
- /// </summary>\r
- WebSearch,\r
-\r
- /// <summary>\r
- /// The Web Stop key.\r
- /// </summary>\r
- WebStop,\r
-\r
- /// <summary>\r
- /// The Japanese Yen key.\r
- /// </summary>\r
- Yen,\r
-\r
- Unknown\r
- };\r
-\r
- /// <summary>\r
- /// Defines possible mouse object codes.\r
- /// </summary>\r
- public enum class MouseObject : System::Int32\r
- {\r
- /// <summary>\r
- /// The first button.\r
- /// </summary>\r
- Button1,\r
-\r
- /// <summary>\r
- /// The second button.\r
- /// </summary>\r
- Button2,\r
-\r
- /// <summary>\r
- /// The third button.\r
- /// </summary>\r
- Button3,\r
-\r
- /// <summary>\r
- /// The fourth button.\r
- /// </summary>\r
- Button4,\r
-\r
- /// <summary>\r
- /// The fifth button.\r
- /// </summary>\r
- Button5,\r
-\r
- /// <summary>\r
- /// The sixth button.\r
- /// </summary>\r
- Button6,\r
-\r
- /// <summary>\r
- /// The seventh button.\r
- /// </summary>\r
- Button7,\r
-\r
- /// <summary>\r
- /// The eighth button.\r
- /// </summary>\r
- Button8,\r
-\r
- /// <summary>\r
- /// The X axis.\r
- /// </summary>\r
- XAxis,\r
-\r
- /// <summary>\r
- /// The Y axis.\r
- /// </summary>\r
- YAxis,\r
-\r
- /// <summary>\r
- /// The Z axis.\r
- /// </summary>\r
- ZAxis\r
- };\r
-\r
- /// <unmanaged>DIDOI</unmanaged>\r
- public enum class ObjectAspect : System::Int32\r
- {\r
- Acceleration = DIDOI_ASPECTACCEL,\r
- Force = DIDOI_ASPECTFORCE,\r
- Mask = DIDOI_ASPECTMASK,\r
- Position = DIDOI_ASPECTPOSITION,\r
- Velocity = DIDOI_ASPECTVELOCITY,\r
- ForceFeedbackActuator = DIDOI_FFACTUATOR,\r
- ForceFeedbackEffectTrigger = DIDOI_FFEFFECTTRIGGER,\r
- Polled = DIDOI_POLLED,\r
- GuidIsUsage = DIDOI_GUIDISUSAGE\r
- };\r
-\r
- /// <summary>\r
- /// Specifies other attributes of an object data format.\r
- /// </summary>\r
- [System::Flags]\r
- public enum class ObjectDataFormatFlags : System::Int32\r
- {\r
- /// <summary>\r
- /// No extra flags specified.\r
- /// </summary>\r
- None = 0,\r
-\r
- /// <summary>\r
- /// The object must report acceleration information.\r
- /// </summary>\r
- Acceleration,\r
-\r
- /// <summary>\r
- /// The object must report force information.\r
- /// </summary>\r
- Force,\r
-\r
- /// <summary>\r
- /// The object must report position information.\r
- /// </summary>\r
- Position,\r
-\r
- /// <summary>\r
- /// The object must report velocity information.\r
- /// </summary>\r
- Velocity\r
- };\r
-\r
- /// <summary>\r
- /// Specifies the device type of an object data format.\r
- /// </summary>\r
- /// <unmanaged>DIDFT</unmanaged>\r
- [System::Flags]\r
- public enum class ObjectDeviceType : System::Int32\r
- {\r
- /// <summary>\r
- /// The object must be an absolute axis.\r
- /// </summary>\r
- AbsoluteAxis = DIDFT_ABSAXIS,\r
-\r
- Alias = DIDFT_ALIAS,\r
-\r
- All = DIDFT_ALL,\r
-\r
- /// <summary>\r
- /// The object must be an absolute or relative axis.\r
- /// </summary>\r
- Axis = DIDFT_AXIS,\r
-\r
- /// <summary>\r
- /// The object must be a relative axis.\r
- /// </summary>\r
- RelativeAxis = DIDFT_RELAXIS,\r
-\r
- /// <summary>\r
- /// The object must be a toggle or push button.\r
- /// </summary>\r
- Button = DIDFT_BUTTON,\r
-\r
- Collection = DIDFT_COLLECTION,\r
-\r
- /// <summary>\r
- /// The object must contain a force-feedback actuator.\r
- /// </summary>\r
- ForceFeedbackActuator = DIDFT_FFACTUATOR,\r
-\r
- /// <summary>\r
- /// The object must be a valid force-feedback effect trigger.\r
- /// </summary>\r
- ForceFeedbackEffectTrigger = DIDFT_FFEFFECTTRIGGER,\r
-\r
- NoCollection = DIDFT_NOCOLLECTION,\r
-\r
- NoData = DIDFT_NODATA,\r
-\r
- Output = DIDFT_OUTPUT,\r
-\r
- /// <summary>\r
- /// The object must be a Point-Of-View controller.\r
- /// </summary>\r
- PointOfViewController = DIDFT_POV,\r
-\r
- /// <summary>\r
- /// The object must be a push button.\r
- /// </summary>\r
- PushButton = DIDFT_PSHBUTTON,\r
-\r
- /// <summary>\r
- /// The object must be a toggle button.\r
- /// </summary>\r
- ToggleButton = DIDFT_TGLBUTTON,\r
-\r
- /// <summary>\r
- /// The object must be a type defined by the manufacturer.\r
- /// </summary>\r
- VendorDefined = DIDFT_VENDORDEFINED\r
- };\r
-\r
- [System::Flags]\r
- public enum class TextAlignment : System::Int32\r
- {\r
- Left = DIDAL_LEFTALIGNED,\r
- Centered = DIDAL_CENTERED,\r
- Right = DIDAL_RIGHTALIGNED,\r
- Middle = DIDAL_MIDDLE,\r
- Top = DIDAL_TOPALIGNED,\r
- Bottom = DIDAL_BOTTOMALIGNED\r
- };\r
-\r
- public enum class JoystickDeviceType : System::Int32\r
- {\r
- X = DIJOFS_X,\r
- Y = DIJOFS_Y,\r
- Z = DIJOFS_Z,\r
- RX = DIJOFS_RX,\r
- RY = DIJOFS_RY,\r
- RZ = DIJOFS_RZ,\r
- SLIDER0 = DIJOFS_SLIDER(0),\r
- SLIDER1 = DIJOFS_SLIDER(1),\r
- POV0 = DIJOFS_POV(0),\r
- POV1 = DIJOFS_POV(1),\r
- POV2 = DIJOFS_POV(2),\r
- POV3 = DIJOFS_POV(3),\r
- BUTTON0 = DIJOFS_BUTTON0,\r
- BUTTON1 = DIJOFS_BUTTON1,\r
- BUTTON2 = DIJOFS_BUTTON2,\r
- BUTTON3 = DIJOFS_BUTTON3,\r
- BUTTON4 = DIJOFS_BUTTON4,\r
- BUTTON5 = DIJOFS_BUTTON5,\r
- BUTTON6 = DIJOFS_BUTTON6,\r
- BUTTON7 = DIJOFS_BUTTON7,\r
- BUTTON8 = DIJOFS_BUTTON8,\r
- BUTTON9 = DIJOFS_BUTTON9,\r
- BUTTON10 = DIJOFS_BUTTON10,\r
- BUTTON11 = DIJOFS_BUTTON11,\r
- BUTTON12 = DIJOFS_BUTTON12,\r
- BUTTON13 = DIJOFS_BUTTON13,\r
- BUTTON14 = DIJOFS_BUTTON14,\r
- BUTTON15 = DIJOFS_BUTTON15,\r
- BUTTON16 = DIJOFS_BUTTON16,\r
- BUTTON17 = DIJOFS_BUTTON17,\r
- BUTTON18 = DIJOFS_BUTTON18,\r
- BUTTON19 = DIJOFS_BUTTON19,\r
- BUTTON20 = DIJOFS_BUTTON20,\r
- BUTTON21 = DIJOFS_BUTTON21,\r
- BUTTON22 = DIJOFS_BUTTON22,\r
- BUTTON23 = DIJOFS_BUTTON23,\r
- BUTTON24 = DIJOFS_BUTTON24,\r
- BUTTON25 = DIJOFS_BUTTON25,\r
- BUTTON26 = DIJOFS_BUTTON26,\r
- BUTTON27 = DIJOFS_BUTTON27,\r
- BUTTON28 = DIJOFS_BUTTON28,\r
- BUTTON29 = DIJOFS_BUTTON29,\r
- BUTTON30 = DIJOFS_BUTTON30,\r
- BUTTON31 = DIJOFS_BUTTON31\r
- };\r
- }\r
-}
\ No newline at end of file