Platform SDK: DirectX

CONST_DICOMMONDATAFORMATS

Members of the CONST_DICOMMONDATAFORMATS enumeration are used to specify the data format in the format parameter of the DirectInputDevice.SetCommonDataFormat method.

Enum CONST_DICOMMONDATAFORMATS
    DIFORMAT_JOYSTICK =  3
    DIFORMAT_JOYSTICK2 = 4
    DIFORMAT_KEYBOARD =  1
    DIFORMAT_MOUSE =     2
End Enum
DIFORMAT_JOYSTICK
Joystick whose state data can be received in a DIJOYSTATE type.
DIFORMAT_JOYSTICK2
Joystick with extended capabilities whose state data can be received in a DIJOYSTATE2 type.
DIFORMAT_KEYBOARD
Keyboard whose state data can be received in a DIKEYBOARDSTATE type.
DIFORMAT_MOUSE
Mouse whose state data can be received in a DIMOUSESTATE type.