diff --git a/src/keyboard.cpp b/src/keyboard.cpp index 7c60c16..1803e31 100644 --- a/src/keyboard.cpp +++ b/src/keyboard.cpp @@ -60,7 +60,13 @@ void Keyboard::init() { touch_pad_read((touch_pad_t)i, &touch_value); Serial.println(touch_value, DEC); } - // set thresholds // ToDo: don't hardcode thresholds + // set thresholds // ToDo: what if someone touches something on startup? + uint16_t touch_value; + for (int i=0; i