Click to Rate and Give Feedback
MSDN
MSDN Library
DirectX
SDK Documentation
DirectX Input
DirectInput
Reference
Interfaces

  Switch on low bandwidth view
IDirectInput8 Interface
Bb205947.XDK_CHM_BANNER_left(en-us,VS.85).jpgBb205947.XDK_CHM_BANNER_right(en-us,VS.85).jpg

IDirectInput8 Interface

Applications use the methods of the IDirectInput8 interface to enumerate, create, and retrieve the status of Microsoft DirectInput devices, initialize the DirectInput object, and invoke an instance of the Microsoft Windows Control Panel.

IDirectInput8 Members

MethodDescription
IDirectInput8::ConfigureDevicesDisplays property pages for connected input devices and enables the user to map actions to device controls.
IDirectInput8::CreateDeviceCreates and initializes an instance of a device based on a given globally unique identifier (GUID), and obtains an IDirectInputDevice8 Interface interface.
IDirectInput8::EnumDevicesEnumerates available devices.
IDirectInput8::EnumDevicesBySemanticsEnumerates devices that most closely match the application-specified action map.
IDirectInput8::FindDeviceRetrieves the instance globally unique identifier (GUID) of a device that has been newly attached to the system. It is called in response to a Microsoft Win32 device management notification.
IDirectInput8::GetDeviceStatusRetrieves the status of a specified device.
IDirectInput8::InitializeInitializes a DirectInput object. Applications normally do not need to call this method. The DirectInput8Create function automatically initializes the DirectInput object after creating it.
IDirectInput8::RunControlPanelRuns Control Panel to enable the user to install a new input device or modify configurations.

Remarks

IDirectInput8 supersedes the IDirectInput, IDirectInput2, and IDirectInput7 interfaces used in earlier versions of Microsoft DirectX.

IDirectInput8 is an interface to a new class of object, represented by the class identifier CLSID_DirectInput8, and cannot be obtained by calling QueryInterface on an interface to objects of class CLSID_DirectInput. Instead, obtain the IDirectInput8 interface by using the DirectInput8Create function.

The LPDIRECTINPUT8 type is defined as a pointer to the IDirectInput8 interface:

typedef struct IDirectInput8    *LPDIRECTINPUT8;
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker