![]() |
![]() |
![]() |
Describes how to match input device settings when creating a new device with a function.
Syntax
typedef enum _DXUT_MATCH_TYPE { DXUTMT_IGNORE_INPUT = 0, DXUTMT_PRESERVE_INPUT, DXUTMT_CLOSEST_TO_INPUT } DXUT_MATCH_TYPE;
Constants
- DXUTMT_IGNORE_INPUT
Ignore the device setting input, and return a device setting as close as possible to a default device setting.
- DXUTMT_PRESERVE_INPUT
Return without changing the device setting that was given as input to the function. However, the DXUTFindValidDeviceSettings function will fail if no valid device is found.
- DXUTMT_CLOSEST_TO_INPUT
Return a device setting as close as possible to the device setting that was given as input to the function.
Enumerated Type Information
Header dxut.h Minimum operating systems Windows 98
See Also
DXUTMatchOptions, DXUTFindValidDeviceSettings, DXUTCreateDeviceFromSettings