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.
Revision 128:3c74ba4533dc, committed 2016-08-06
- Comitter:
- WiredHome
- Date:
- Sat Aug 06 22:14:01 2016 +0000
- Parent:
- 127:db7f2c704693
- Child:
- 129:3f2d8b84144d
- Commit message:
- Small change in the touch handler so the single-touch and multi-touch APIs are more consistent.
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 20:04:23 2016 +0000
+++ b/RA8875_Touch.cpp Sat Aug 06 22:14:01 2016 +0000
@@ -265,14 +265,16 @@
numberOfTouchPoints = 0;
}
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;
+ //} else {
+ // ts = touch;
}
}
return ts;