TOUCH_DEVDEP_READDATA (53h) - Data Packet Format

The data packet is a location in application storage where the Touch display device driver returns to the caller a Touch display event queue record. This record has two formats, depending on the data type specified, using Function 54H. The two types of record are XYZ data (see TOUCH_DEVDEP_READDATA) or Raw data. The default setting depends on which mode was set using Function 54h. The format for the Raw data packet is as follows:

┌────────────────────────────────────────┐
│Field            Length     C Datatype  │
├────────────────────────────────────────┤
│Status           WORD       USHORT      │
├────────────────────────────────────────┤
│Time             DWORD      ULONG       │
├────────────────────────────────────────┤
│Transducer 1     WORD       USHORT      │
├────────────────────────────────────────┤
│Transducer 2     WORD       USHORT      │
├────────────────────────────────────────┤
│Transducer 3     WORD       USHORT      │
├────────────────────────────────────────┤
│Transducer 4     WORD       USHORT      │
└────────────────────────────────────────┘


[Back: TOUCH_DEVDEP_READDATA (53h) - Transducer 4]
[Next: TOUCH_DEVDEP_READDATA (53h) - Returns]