Microsoft.DirectX.DirectInput |
Microsoft DirectInput is used to process data from a keyboard, mouse, joystick, or other game controller. The following tables list the members exposed by the Microsoft.DirectX.DirectInput namespace.
AcquiredException The operation cannot be performed while the device is acquired. Action Describes a mapping of one game action to one device semantic. An array of Diaction structures is contained by a Diactionformat structure. ActionCollection A collection of actions. ActionFormat Contains information about the calling application and acts as a container for an array of Diaction structures that define action-to-control mappings for a genre. BadDriverVersionException The object could not be created due to an incompatible driver version or mismatched or incomplete driver components. BufferedData Contains buffered device information. This structure is used with the Inputdevice9Getdevicedata and the Inputdevice9Senddevicedata methods. BufferedDataCollection Collection of buffered data. ConfigureDevicesParameters Device Applications use the methods of the Device object to gain and release access to Microsoft® DirectInput® devices, manage device properties and information, set behavior, perform initialization, create and play force-feedback effects, and invoke a device's control panel. DeviceFullException The device is full. DeviceList Collection of devices. DeviceNotRegisteredException The device or device instance is not registered with DirectInput. DeviceObjectList A collection of device objects. DeviceProperties Various properties you can get or set on a device. DInputHelper Utility class for DirectInput EffectList A collection of effects. EffectObject Applications use the methods of the EffectObject to manage effects of force-feedback devices. EffectPlayingException The parameters were updated in memory but were not downloaded to the device because the device does not support updating an effect while it is still playing. ForceFeedbackGuid Force feedback guid. HasEffectsException The device cannot be reinitialized because effects are attached to it. IncompleteEffectException The effect could not be downloaded because essential information is missing. For example, no axes have been associated with the effect, or no type-specific information has been supplied. InputException Base exception type for all DirectInput exceptions. Derives from DirectXException. InputLostException Access to the input device has been lost. It must be reacquired. InsufficientPriveledgesException Insufficient priveledges for this call. KeyboardState Contains the keyboard state. Manager Applications use the methods of the Manager object to enumerate, create, and retrieve the status of DirectInput devices. MapFileFailException An error has occurred either reading the vendor-supplied action-mapping file for the device or reading or writing the user configuration mapping file for the device. MoreDataException Not all the requested information fit into the buffer. NotAcquiredException The operation cannot be performed unless the device is acquired. NotBufferedException The device is not buffered. Set the BufferSize property to enable buffering. NotDownloadedException The effect is not downloaded. NotExclusivelyAcquiredException The operation cannot be performed unless the device is acquired in Exclusive mode. NotFoundException The requested object does not exist. ObjectTypeGuid Object type guid. OtherApplicationHasPriorityException Another application has a higher priority level, preventing this call from succeeding. PendingException Data is not yet available. ReportFullException More information was requested to be sent than can be sent to the device. SystemGuid Contains system guids for common device types. UnpluggedException The operation could not be completed because the device is not plugged in. UnsupportedException The function called is not supported at this time.
ActionAttributeFlags Flags used to request specific attributes or processing. ActionMapControl Flags to control the mapping. ActionMechanism Mapping mechanism used by DirectInput to configure the action. Any The following constants are used in the dwSemantic member of the Diaction structure to map an action to any matching control on the device. ApplyActionMap Value that specifies how the action map is applied. ArcadePlatform The genre contains controls for an arcade-style game. ArcadeSideToSide The genre contains controls for an arcade-style game. AxesDataFormat Describes a device's data format. This structure is used with the Inputdevice9Setdataformat method. BrowserControl The genre contains controls for browser control. Button A button. Cad2DControl The genre contains controls for a 2D CAD control Cad3DControl The genre contains controls for a 3-D CAD control CadFlyBy The genre contains controls for a CAD Fly By. CadModel The genre contains controls for a CAD model. ConfigureDevicesFlags Flags for configuring devices. CooperativeLevelFlags The cooperative level determines how this instance of the device interacts with other instances of the device and the rest of the system. DataFormatFlags Data format flags. DeviceClass Used when enumerating a class of devices. DeviceData Contains buffered device information. This structure is used with the Inputdevice9Getdevicedata and the Inputdevice9Senddevicedata methods. DeviceDataFormat Describes a device's data format. This structure is used with the Inputdevice9Setdataformat method. DeviceObjectTypeFlags DeviceType DeviceTypeControl DeviceTypeDriving DeviceTypeFirstPerson DeviceTypeFlight DeviceTypeGamePad DeviceTypeJoystick DeviceTypeKeyboard All keyboards. Equivalent to DI8DEVTYPE_KEYBOARD. DeviceTypeMouse DeviceTypeRemote DeviceTypeScreenPtr DeviceTypeSupplemental DI DrivingCombat DrivingMecha DrivingRace DrivingTank EffectFlags EffectParameterFlags EffectStartFlags EffectType EnumBySemanticsReason EnumDevicesBySemanticsFlags EnumDevicesFlags FightingFps FightingHandToHand FightingThirdPerson FileEffectsFlags FlyingCivilian FlyingHelicopter FlyingMilitary ForceFeedbackCommand ForceFeedbackStates ImageFileType JoystickOffset Key Keyboard The following constants are used in the dwSemantic member of the Diaction structure to map an action to a physical key. MaxPoints Mouse The following constants are used in the dwSemantic member of the Diaction structure to map an action to a physical axis or button on a mouse. MouseOffset Mouse device constants, defined in Dinput.h, represent offsets within a mouse device's data packet, the Dimousestate or Dimousestate2 structure. ObjectInstanceFlags ParameterHow PropertyType PropRangeFlags Retrieves the range of values an object can possibly report. For some devices, this is a read-only property. RemoteControl ReturnCode SetActionMapReturnCodes SpaceSim SportsBaseballBatting SportsBaseBallField SportsBaseballPitch SportsBasketballDefense SportsBasketballOffense SportsBikingMountain SportsFishing SportsFootballDefense SportsFootballField SportsFootballOffense SportsFootballQuarterback SportsGolf SportsHockeyDefense SportsHockeyGoalie SportsHockeyOffense SportsHunting SportsRaquet SportsSkiing SportsSoccerDefense SportsSoccerOffense StandardEffect StrategyRolePlaying StrategyTurn TextAlign TimeStamp Voice
CalibrationPoint Describes a calibration point. An array of Cpoint structures is contained by a Dipropcpoints structure. ColorSet Describes a set of colors used to draw the device configuration user object. It is part of the Diconfiguredevicesparams structure. Condition Contains type-specific information for effects that are marked as DIEFT_CONDITION.A reference to an array of Dicondition structures for an effect is passed in the lpvTypeSpecificParams member of the Dieffect structure. The number of elements in the array must be either one, or equal to the number of axes associated with the effect. ConstantForce Contains type-specific information for effects that are marked as DIEFT_CONSTANTFORCE.The structure describes a constant force effect.A reference to a single Diconstantforce structure for an effect is passed in the lpvTypeSpecificParams member of the Dieffect structure. CustomForce Contains type-specific information for effects that are marked as DIEFT_CUSTOMFORCE.The structure describes a custom or user-defined force.A reference to a Dicustomforce structure for an effect is passed in the lpvTypeSpecificParams member of the Dieffect structure. DataFormat Describes a device's data format. This structure is used with the Inputdevice9Setdataformat method. DeviceArrival DeviceCaps Describes a Microsoft® DirectInput® device's capabilities. This structure is used with the Inputdevice9Getcapabilities method. DeviceImageInformation Carries information required to display a device image or an overlay image with a callout. This structure is passed to the Inputdevice9Getimageinfo method as an array within a Dideviceimageinfoheader structure. DeviceImageInformationHeader Contains information about device images. Used in the Inputdevice9Getimageinfo method. DeviceInstance Describes an instance of a Microsoft® DirectInput® device. This structure is used with the Input9Enumdevices, Input9Enumdevicesbysemantics, and Inputdevice9Getdeviceinfo methods. DeviceObjectInstance Describes a device object instance. This structure is used with the Inputdevice9Enumobjects method to provide the Dienumdeviceobjectscallback callback function with information about a particular object associated with a device, such as an axis or button. It is also used with the Inputdevice9Getobjectinfo method to retrieve information about a device object. Effect Used by the Inputdevice9Createeffect method to initialize a new Inputeffect object. It is also used by the InputeffectSetparameters and InputeffectGetparameters methods. EffectInformation Used by the Inputdevice9Enumeffects and Inputdevice9Geteffectinfo methods to return information about a particular effect supported by a device. EffectStatus Envelope Used by the Dieffect structure to specify the optional TermEnvelope parameters for an effect. The TermSustain level for the envelope is represented by the dwMagnitude member of the Diperiodic structure and the lMagnitude member of the Diconstantforce structure. The sustain time is represented by dwDuration member of the Dieffect structure. FileEffect Describes data for a force-feedback effect stored in a file. It is used in conjunction with the Inputdevice9Enumeffectsinfile and Inputdevice9Writeeffecttofile methods. InputRange JoystickState Describes the state of a joystick device. This structure is used with the Inputdevice9Getdevicestate method. MouseState Describes the state of a mouse device that has up to four buttons, or another device that is being accessed as if it were a mouse device. This structure is used with the Inputdevice9Getdevicestate method. ObjectDataFormat Describes a device object's data format for use with the Inputdevice9Setdataformat method. Periodic Contains type-specific information for effects that are marked as DIEFT_PERIODIC.The structure describes a periodic effect.A reference to a single Diperiodic structure for an effect is passed in the lpvTypeSpecificParams member of the Dieffect structure. RampForce Contains type-specific information for effects that are marked as DIEFT_RAMPFORCE. The structure describes a ramp force effect.A reference to a single Dirampforce structure for an effect is passed in the lpvTypeSpecificParams member of the Dieffect structure. SemanticsInstance
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center