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.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'touchpad.h') diff --git a/touchpad.h b/touchpad.h index 9cf678a2..5a60e14e 100644 --- a/touchpad.h +++ b/touchpad.h @@ -53,6 +53,17 @@ uint16_t tpReadX(void); */ uint16_t tpReadY(void); +/* + * Description: reads-out Z value / pressure + * only available when controller supports, returns + * zero otherwise. + * + * param: none + * + * return: pressure on the touchpad + */ +uint16_t tpReadZ(void); + /* * Description: calibration routine * -- cgit v1.2.3