DeviceClass Enumeration

Language:

Used when enumerating a class of devices.

Definition

Visual Basic Public Enum DeviceClass
C# public enum DeviceClass
C++ public enum class DeviceClass
JScript public enum DeviceClass

Members

Member Value Description
Pointer 2 All devices of type DI8DEVTYPE_MOUSE and DI8DEVTYPE_SCREENPOINTER.
Keyboard 3 All keyboards. Equivalent to DI8DEVTYPE_KEYBOARD.
GameControl 4 All game controllers.
Other 1
All 0 All devices.

Enumeration Information

Namespace Microsoft.DirectX.DirectInput
Assembly Microsoft.DirectX.DirectInput (microsoft.directx.directinput.dll)
Strong Name Microsoft.DirectX.DirectInput,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492

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