From c7a393c6d789bc68387205447082cdf2106862f8 Mon Sep 17 00:00:00 2001 From: Tectu Date: Fri, 15 Jun 2012 10:18:52 +0200 Subject: added support for 3D touchpads --- touchpad.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'touchpad.c') 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); -- cgit v1.2.3