aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ginput/touch/MAX11802/gmouse_lld_MAX11802.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ginput/touch/MAX11802/gmouse_lld_MAX11802.c')
-rw-r--r--drivers/ginput/touch/MAX11802/gmouse_lld_MAX11802.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/ginput/touch/MAX11802/gmouse_lld_MAX11802.c b/drivers/ginput/touch/MAX11802/gmouse_lld_MAX11802.c
index 73d8d4e6..d1435628 100644
--- a/drivers/ginput/touch/MAX11802/gmouse_lld_MAX11802.c
+++ b/drivers/ginput/touch/MAX11802/gmouse_lld_MAX11802.c
@@ -18,6 +18,12 @@
// Get the hardware interface
#include "gmouse_lld_MAX11802_board.h"
+// Register values to set
+#define MAX11802_MODE 0x0E // Direct conversion with averaging
+#define MAX11802_AVG 0x55
+#define MAX11802_TIMING 0x77
+#define MAX11802_DELAY 0x55
+
#define Z_MIN 0
#define Z_MAX 1