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 Raw data (see TOUCH_DEVDEP_READDATA) or XYZ data. The default setting depends on which mode was set using Function 54H. The format for the XYZ data mode is as follows:

┌────────────────────────────────────┐
│Field        Length     C Datatype  │
├────────────────────────────────────┤
│Status       WORD       USHORT      │
├────────────────────────────────────┤
│Time         DWORD      ULONG       │
├────────────────────────────────────┤
│X value      WORD       USHORT      │
├────────────────────────────────────┤
│Y value      WORD       USHORT      │
├────────────────────────────────────┤
│Z value      WORD       USHORT      │
├────────────────────────────────────┤
│Reserved     WORD       USHORT      │
└────────────────────────────────────┘


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