Microsoft DirectX 8.1 (Visual Basic) |
Displays property pages for connected input devices and enables the user to map actions to device controls.
object.ConfigureDevices( _ hEvent As Long, _ CDParams As DICONFIGUREDEVICESPARAMS, _ flags As Long)
If the method fails, an error is raised and Err.Number may be set to one of the following:
DIERR_INVALIDPARAM |
DIERR_OUTOFMEMORY |
Hardware vendors provide bitmaps and other display information for their device.
Before calling the method, an application can modify the text labels associated with each action by changing the value in the ActionName member of the DIACTION type.
Configuration is stored for each user of each device for each game. The information can be retrieved by the DirectInputDevice8.BuildActionMap method.
By default, acceleration is supported for these pixel formats:
Other formats result in color conversion and dramatically slow the frame rate.
Note Even if the cooperative level for the application is disabling the Windows logo key passively through an exclusive cooperative level or actively through use of the DISCL_NOWINKEY flag, that key is active while the default action mapping UI is displayed.