aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--boards/base/Mikromedia-STM32-M4-ILI9341/gmouse_lld_MCU_board.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/boards/base/Mikromedia-STM32-M4-ILI9341/gmouse_lld_MCU_board.h b/boards/base/Mikromedia-STM32-M4-ILI9341/gmouse_lld_MCU_board.h
index 94333067..7624cdf3 100644
--- a/boards/base/Mikromedia-STM32-M4-ILI9341/gmouse_lld_MCU_board.h
+++ b/boards/base/Mikromedia-STM32-M4-ILI9341/gmouse_lld_MCU_board.h
@@ -10,11 +10,11 @@
// We directly define the jitter settings
#define GMOUSE_MCU_PEN_CALIBRATE_ERROR 8
-#define GMOUSE_MCU_PEN_CLICK_ERROR 4
+#define GMOUSE_MCU_PEN_CLICK_ERROR 6
#define GMOUSE_MCU_PEN_MOVE_ERROR 4
#define GMOUSE_MCU_FINGER_CALIBRATE_ERROR 14
-#define GMOUSE_MCU_FINGER_CLICK_ERROR 8
-#define GMOUSE_MCU_FINGER_MOVE_ERROR 8
+#define GMOUSE_MCU_FINGER_CLICK_ERROR 18
+#define GMOUSE_MCU_FINGER_MOVE_ERROR 14
// Now board specific settings...
@@ -40,7 +40,7 @@ static const ADCConversionGroup adcgrpcfg = {
#define Z_MIN 0 // The minimum Z reading
#define Z_MAX 4095 // The maximum Z reading (12 bits)
-#define Z_TOUCHON 4000 // Values between this and Z_MAX are definitely pressed
+#define Z_TOUCHON 3090 // Values between this and Z_MAX are definitely pressed
#define Z_TOUCHOFF 400 // Values between this and Z_MIN are definitely not pressed
static bool_t init_board(GMouse *m, unsigned driverinstance) {