Microsoft DirectX 8.1 (Visual Basic) |
Contains raw buffered device information. This type is used with the DirectInputDevice8.GetDeviceData method.
Type DIDEVICEOBJECTDATA lData As Long lOfs As Long lSequence As Long lTimeStamp As Long lUserData As Long End Type
For axis input, if the device is in relative axis mode, then the relative axis motion is reported. If the device is in absolute axis mode, then the absolute axis coordinate is reported.
For button input, only the low byte of lData is significant. The high bit of the low byte is set if the button went down; it is clear if the button went up.
When the typestructure is used with the SendDeviceData method, this member must be zero.