From 4c7ba90af78b5d1fc9a9a3a8ab8cda16da6c5591 Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Fri, 21 Apr 2017 21:07:51 +0200 Subject: [PATCH] lower touch thresholds --- src/keyboard.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/keyboard.cpp b/src/keyboard.cpp index 7e5348e..21d6e00 100644 --- a/src/keyboard.cpp +++ b/src/keyboard.cpp @@ -54,16 +54,16 @@ void Keyboard::init() { Serial.println(touch_value, DEC); } // set thresholds // ToDo: don't hardcode thresholds - threshold[0] = 500; + threshold[0] = 50; threshold[1] = 0; threshold[2] = 0; - threshold[3] = 666; - threshold[4] = 700; - threshold[5] = 700; - threshold[6] = 800; - threshold[7] = 800; - threshold[8] = 170; - threshold[9] = 350; + threshold[3] = 50; + threshold[4] = 50; + threshold[5] = 50; + threshold[6] = 50; + threshold[7] = 50; + threshold[8] = 50; + threshold[9] = 50; for (int i=0; i