From 5bd45804a8c6a5cc459ef710b8e95cb74be8011b Mon Sep 17 00:00:00 2001
From: jahugg <jan@huggenberg.ch>
Date: Wed, 29 Mar 2023 17:57:39 +0200
Subject: [PATCH] flag changes

---
 src/main.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main.js b/src/main.js
index b604976..022e9c1 100644
--- a/src/main.js
+++ b/src/main.js
@@ -620,7 +620,7 @@ function addMotionControls() {
   let idleTimeout;
   let idleDelay = 4000; //idle time before reseting reference point
   let autoSelect = false; // selecting items with time delay
-  let drawMotionFlag = false; // draw motion values for debugging
+  let drawMotionFlag = true; // draw motion values for debugging
 
   // motion buffer stuff
   let motionBuffer = []; // motion value buffer
@@ -633,7 +633,7 @@ function addMotionControls() {
   const bufferIterationLimit = 5; // iterations before new average calculation is triggered
   const bufferLength = 10; // length of value buffer
   const noiseThreshold = 30; // threshold in pixel to avoid sensor noise
-  const innerLimit = 80; // threshold in pixel to define inactive area around the reference
+  const innerLimit = 50; // threshold in pixel to define inactive area around the reference
   const outerLimit = 400;
 
   // create canvas element for motion visualization
-- 
GitLab