DeviceClass Enumeration (Microsoft.DirectX.DirectInput)

Used when enumerating a class of devices.


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


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