Microsoft DirectX 8.1 (Visual Basic) |
Describes the state of a mouse device with up to four buttons. This type is used with the DirectInputDevice8.GetDeviceStateMouse method.
Type DIMOUSESTATE Buttons(0 To 3) As Byte lX As Long lY As Long lZ As Long End Type
Immediate data is returned in this type from a device that has been prepared by passing the DIFORMAT_MOUSE constant to the DirectInputDevice8.SetCommonDataFormat method.
If an axis is in relative mode, then the appropriate member contains the change in position since the last call to this method. If the axis is in absolute mode, then the member contains the accumulated relative motion in relation to an arbitrary start point. The absolute axis position is not meaningful except in comparison with other absolute axis positions.