aboutsummaryrefslogtreecommitdiffstats
path: root/touchpad.c
diff options
context:
space:
mode:
Diffstat (limited to 'touchpad.c')
-rw-r--r--touchpad.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/touchpad.c b/touchpad.c
index a419a3c9..3f355ead 100644
--- a/touchpad.c
+++ b/touchpad.c
@@ -96,6 +96,10 @@ uint16_t tpReadY(void) {
return y;
}
+uint16_t tpReadZ(void) {
+ return lld_readZ();
+}
+
static void tpDrawCross(uint16_t x, uint16_t y) {
lcdDrawLine(x-15, y, x-2, y, 0xffff);
lcdDrawLine(x+2, y, x+15, y, 0xffff);