| Platform SDK: DirectX |
The DIDEVICEOBJECTDATA type contains raw buffered device information. This type is used with the DirectInputDevice.GetDeviceData method.
Type DIDEVICEOBJECTDATA
lData As Long
lOfs As Long
lSequence As Long
lTimeStamp 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.