CONST_DIDEVICETYPE
Members of the CONST_DIDEVICETYPE enumeration are used to identify the input device type and subtype. A packed value representing the type and subtype is returned by the DirectInputDeviceInstance.GetDevType method and in the lDevType member of the DIDEVCAPS type returned by DirectInputDevice.GetCapabilities. A value representing a primary type is passed as the deviceType parameter to the DirectInput.GetDIEnumDevices method.
For a table of members listed by type and subtype, see DirectInputDeviceInstance.GetDevType.
Enum CONST_DIDEVICETYPE
DIDEVTYPE_DEVICE = 1
DIDEVTYPE_HID = 65536 (&H10000)
DIDEVTYPE_JOYSTICK = 4
DIDEVTYPE_KEYBOARD = 3
DIDEVTYPE_MOUSE = 2
DIDEVTYPEJOYSTICK_FLIGHTSTICK = 3
DIDEVTYPEJOYSTICK_GAMEPAD = 4
DIDEVTYPEJOYSTICK_HEADTRACKER = 7
DIDEVTYPEJOYSTICK_RUDDER = 5
DIDEVTYPEJOYSTICK_TRADITIONAL = 2
DIDEVTYPEJOYSTICK_UNKNOWN = 1
DIDEVTYPEJOYSTICK_WHEEL = 6
DIDEVTYPEKEYBOARD_J3100 = 12
DIDEVTYPEKEYBOARD_JAPAN106 = 10
DIDEVTYPEKEYBOARD_JAPANAX = 11
DIDEVTYPEKEYBOARD_NEC98 = 7
DIDEVTYPEKEYBOARD_NEC98106 = 9
DIDEVTYPEKEYBOARD_NEC98LAPTOP = 8
DIDEVTYPEKEYBOARD_NOKIA1050 = 5
DIDEVTYPEKEYBOARD_NOKIA9140 = 6
DIDEVTYPEKEYBOARD_OLIVETTI = 2
DIDEVTYPEKEYBOARD_PCAT = 3
DIDEVTYPEKEYBOARD_PCENH = 4
DIDEVTYPEKEYBOARD_PCXT = 1
DIDEVTYPEKEYBOARD_UNKNOWN = 0
DIDEVTYPEMOUSE_FINGERSTICK = 3
DIDEVTYPEMOUSE_TOUCHPAD = 4
DIDEVTYPEMOUSE_TRACKBALL = 5
DIDEVTYPEMOUSE_TRADITIONAL = 2
DIDEVTYPEMOUSE_UNKNOWN = 1
End Enum
- DIDEVTYPE_DEVICE
- A device that does not fall into the other categories.
- DIDEVTYPE_HID
- The device uses the Human Interface Device (HID) protocol.
- DIDEVTYPE_JOYSTICK
- A joystick or similar device, such as a steering wheel.
- DIDEVTYPE_KEYBOARD
- A keyboard or keyboard-like device.
- DIDEVTYPE_MOUSE
- A mouse or mouse-like device (such as a trackball).
- DIDEVTYPEJOYSTICK_FLIGHTSTICK
- A joystick optimized for flight simulation.
- DIDEVTYPEJOYSTICK_GAMEPAD
- A device whose primary purpose is to provide button input.
- DIDEVTYPEJOYSTICK_HEADTRACKER
- A device that tracks the movement of the user's head.
- DIDEVTYPEJOYSTICK_RUDDER
- A device for yaw control.
- DIDEVTYPEJOYSTICK_TRADITIONAL
- A traditional joystick.
- DIDEVTYPEJOYSTICK_UNKNOWN
- The subtype could not be determined.
- DIDEVTYPEJOYSTICK_WHEEL
- A steering wheel.
- DIDEVTYPEKEYBOARD_J3100
- Japanese J3100 keyboard.
- DIDEVTYPEKEYBOARD_JAPAN106
- Japanese 106-key keyboard.
- DIDEVTYPEKEYBOARD_JAPANAX
- Japanese AX keyboard.
- DIDEVTYPEKEYBOARD_NEC98
- Japanese NEC PC98 keyboard.
- DIDEVTYPEKEYBOARD_NEC98106
- Japanese NEC PC98 106-key keyboard.
- DIDEVTYPEKEYBOARD_NEC98LAPTOP
- Japanese NEC PC98 laptop keyboard.
- DIDEVTYPEKEYBOARD_NOKIA1050
- Nokia 1050 keyboard.
- DIDEVTYPEKEYBOARD_NOKIA9140
- Nokia 9140 keyboard.
- DIDEVTYPEKEYBOARD_OLIVETTI
- Olivetti 102-key keyboard.
- DIDEVTYPEKEYBOARD_PCAT
- IBM PC/AT 84-key keyboard.
- DIDEVTYPEKEYBOARD_PCENH
- IBM PC Enhanced 101/102-key or Microsoft Natural® keyboard.
- DIDEVTYPEKEYBOARD_PCXT
- IBM PC/XT 83-key keyboard.
- DIDEVTYPEKEYBOARD_UNKNOWN
- The subtype could not be determined.
- DIDEVTYPEMOUSE_FINGERSTICK
- The device is a fingerstick.
- DIDEVTYPEMOUSE_TOUCHPAD
- The device is a touchpad.
- DIDEVTYPEMOUSE_TRACKBALL
- The device is a trackball.
- DIDEVTYPEMOUSE_TRADITIONAL
- The device is a traditional mouse.
- DIDEVTYPEMOUSE_UNKNOWN
- The subtype could not be determined.