diff options
author | Joel Bodenmann <joel.bodenmann@hevs.ch> | 2012-10-23 02:57:38 +0200 |
---|---|---|
committer | Joel Bodenmann <joel.bodenmann@hevs.ch> | 2012-10-23 02:57:38 +0200 |
commit | 34a64b13c497ee20fd994c20d4f0aef8081c0aa9 (patch) | |
tree | 5988eb596cc4f1f8f203e0154b328fc9bb8bdeca | |
parent | 8da73efced9b016ef82b2540d1926229c51f3fb0 (diff) | |
download | uGFX-34a64b13c497ee20fd994c20d4f0aef8081c0aa9.tar.gz uGFX-34a64b13c497ee20fd994c20d4f0aef8081c0aa9.tar.bz2 uGFX-34a64b13c497ee20fd994c20d4f0aef8081c0aa9.zip |
whitespaces
-rw-r--r-- | src/touchpad.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/touchpad.c b/src/touchpad.c index e4312bc8..353a4f01 100644 --- a/src/touchpad.c +++ b/src/touchpad.c @@ -162,6 +162,7 @@ uint16_t tpReadX(void) { x = cal.xm * _tpReadRealX() + cal.xn; y = cal.ym * _tpReadRealY() + cal.yn; #endif + switch(gdispGetOrientation()) { case GDISP_ROTATE_0: return x; @@ -193,6 +194,7 @@ uint16_t tpReadY(void) { x = cal.xm * _tpReadRealX() + cal.xn; y = cal.ym * _tpReadRealY() + cal.yn; #endif + switch(gdispGetOrientation()) { case GDISP_ROTATE_0: return y; |