Microsoft DirectX 8.1 (Visual Basic) |
Action mapping was designed with buffered data in mind and will most often be used in that manner. The only difference between retrieving data from an action-mapped device and a device with no mapping is where you get it. Without action mapping, you would look to the lOfs member of the DIDEVICEOBJECTDATA type to determine which device object reported a change. However, with action mapping, you look to the lUserData member. Data is found as usual in the lData member.