Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of RA8875 by
Diff: DisplayDefs.h
- Revision:
- 83:7bad0068cca0
- Parent:
- 81:01da2e34283d
- Child:
- 88:bfddef6ec836
--- a/DisplayDefs.h	Tue Dec 30 23:45:37 2014 +0000
+++ b/DisplayDefs.h	Thu Jan 01 20:35:37 2015 +0000
@@ -21,6 +21,17 @@
     LastErrCode,            // Private marker.
 } RetCode_t;
 
+/// return values from TouchPanelReadable, TouchPanelA2DRaw, TouchPanelA2DFiltered.
+/// @see TouchPanelReadable.
+typedef enum
+{
+    no_touch,               ///< no touch is detected
+    touch,                  ///< touch is detected
+    held,                   ///< held after touch
+    release,                ///< release is detected
+    no_cal,                 ///< no calibration matrix is available
+} TouchCode_t;
+
 /// type that manages locations, which is typically an x or y pixel location,
 /// which can range from -N to +N (even if the screen is 0 to +n). @see textloc_t.
 typedef int16_t loc_t;
    