aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ginput
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2014-10-11 17:45:53 +0200
committerJoel Bodenmann <joel@unormal.org>2014-10-11 17:45:53 +0200
commit5b897baae7d6c102e73176e2229b19c70839a26e (patch)
treed8adae1524db8f4a7b39bac54a51ea322f424f4b /drivers/ginput
parentd9f93a31bb5fd7ba5de69f2593e2dacb8218dd63 (diff)
downloaduGFX-5b897baae7d6c102e73176e2229b19c70839a26e.tar.gz
uGFX-5b897baae7d6c102e73176e2229b19c70839a26e.tar.bz2
uGFX-5b897baae7d6c102e73176e2229b19c70839a26e.zip
Added missing defines to board template of ADS7843
Diffstat (limited to 'drivers/ginput')
-rw-r--r--drivers/ginput/touch/ADS7843/gmouse_lld_ADS7843_board_template.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/ginput/touch/ADS7843/gmouse_lld_ADS7843_board_template.h b/drivers/ginput/touch/ADS7843/gmouse_lld_ADS7843_board_template.h
index 2e3dee65..7b762310 100644
--- a/drivers/ginput/touch/ADS7843/gmouse_lld_ADS7843_board_template.h
+++ b/drivers/ginput/touch/ADS7843/gmouse_lld_ADS7843_board_template.h
@@ -8,6 +8,13 @@
#ifndef _GINPUT_LLD_MOUSE_BOARD_H
#define _GINPUT_LLD_MOUSE_BOARD_H
+#define GMOUSE_ADS7843_PEN_CALIBRATE_ERROR 2
+#define GMOUSE_ADS7843_PEN_CLICK_ERROR 2
+#define GMOUSE_ADS7843_PEN_MOVE_ERROR 2
+#define GMOUSE_ADS7843_FINGER_CALIBRATE_ERROR 4
+#define GMOUSE_ADS7843_FINGER_CLICK_ERROR 4
+#define GMOUSE_ADS7843_FINGER_MOVE_ERROR 4
+
static bool_t init_board(GMouse* m, unsigned driverinstance) {
}