Microsoft DirectX 8.1 (Visual Basic)

CONST_DICOMMONDATAFORMATS

Specify the data format in the format parameter of the DirectInputDevice8.SetCommonDataFormat method.

Enum CONST_DICOMMONDATAFORMATS
    DIFORMAT_JOYSTICK  =  3
    DIFORMAT_JOYSTICK2 =  4
    DIFORMAT_KEYBOARD  =  1
    DIFORMAT_MOUSE     =  2
    DIFORMAT_MOUSE2    =  5
End Enum

Constants

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.
DIFORMAT_MOUSE2
Mouse whose state data can be received in a DIMOUSESTATE2 type.