LCD LIB
Fork of RA8875 by
Revision 130:d633e80840e0, committed 2016-08-06
- Comitter:
- WiredHome
- Date:
- Sat Aug 06 22:44:49 2016 +0000
- Parent:
- 129:3f2d8b84144d
- Child:
- 131:5bd6ba2ee4a1
- Commit message:
- Another small alignment between multi-touch and single-touch behavior.
Changed in this revision
RA8875_Touch.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/RA8875_Touch.cpp Sat Aug 06 22:21:41 2016 +0000 +++ b/RA8875_Touch.cpp Sat Aug 06 22:44:49 2016 +0000 @@ -266,13 +266,15 @@ } touchInfo[0].touchCode = ts; } else /* (useTouchPanel == TP_CAP) */ { - ts = touchInfo[0].touchCode; + ; } if (panelTouched == true) { panelTouched = false; if (TouchPoint) { *TouchPoint = touchInfo[0].coordinates; ts = touchInfo[0].touchCode; + } else { + ts = touch; } } return ts;