The function ADC_GetLastTouchValues returns the last raw samples, the touch-driver has read.
unsigned short ADC_GetLastTouchValues( unsigned int *RawX, unsigned int *RawY, unsigned int *RawZ );
Parameters
RawX
Pointer to a variable, which receives the last measured raw x-coordinate value.
RawY
Pointer to a variable, which receives the last measured raw y-coordinate value.
RawZ
Pointer to a variable, which recieves the last measured pressure value.
Return Values
If the function succeeds, the return value is 0.
If the function fails, the return value is -1.
Remarks
AC97_Alloc must be called before calling this function.
Requirements
OS Versions: Windows CE 4.2 and later.
Header: drvlib_app.h.
Link Library: drvlib_app.lib.