Microsoft DirectX 8.1 (Visual Basic)

CONST_DIMOUSEOFS

Used to identify buttons and axes in mouse data. The values of the constants are the offset of the data within the data format for immediate data. The same identifiers are used in buffered data packets.

Enum CONST_DIMOUSEOFS
    DIMOFS_BUTTON0 = 12
    DIMOFS_BUTTON1 = 13
    DIMOFS_BUTTON2 = 14
    DIMOFS_BUTTON3 = 15
    DIMOFS_BUTTON4 = 16 (&H10)
    DIMOFS_BUTTON5 = 17 (&H11)
    DIMOFS_BUTTON6 = 18 (&H12)
    DIMOFS_BUTTON7 = 19 (&H13)
    DIMOFS_X       =  0
    DIMOFS_Y       =  4
    DIMOFS_Z       =  8
End Enum

Constants

DIMOFS_BUTTON(n)
Offset of the data for buttons 0 through 7.
DIMOFS_X, DIMOFS_Y, DIMOFS_Z
Offset of the data for the axis.