diff --git a/config.h b/config.h index 7523704..5c4b8e2 100644 --- a/config.h +++ b/config.h @@ -7,18 +7,18 @@ public: }; const uint8_t MPR_PADNUMS[] = {8, 9, 9, 8}; -const uint8_t THREASHOLD = 35; +const uint8_t THREASHOLD = 25; touchblock touchmap[34] = { // Group A - {3, 4, 0}, // 1 - {3, 0, 0}, // 2 - {2, 4, 0}, // 3 - {2, 0, 0}, // 4 - {1, 5, 0}, // 5 - {1, 0, 0}, // 6 - {0, 4, 0}, // 7 - {0, 0, 0}, // 8 + {3, 4, -5}, // 1 + {3, 0, -5}, // 2 + {2, 4, -5}, // 3 + {2, 0, -5}, // 4 + {1, 5, -5}, // 5 + {1, 0, -5}, // 6 + {0, 4, -5}, // 7 + {0, 0, -5}, // 8 // Group B {3, 5, 0}, // 1 {3, 1, 0}, // 2 @@ -77,14 +77,14 @@ const uint8_t RELEASE_THREASHOLD_OFFSET = 0; // rising NCL being smaller than falling NCL is because of the same reason // the user can experiment with different values to find the best one // but those values should be good for most cases -const uint8_t MHDR = 2; -const uint8_t NHDR = 2; -const uint8_t NCLR = 4; +const uint8_t MHDR = 1; +const uint8_t NHDR = 1; +const uint8_t NCLR = 0; const uint8_t FDLR = 0; -const uint8_t MHDF = 2; +const uint8_t MHDF = 1; const uint8_t NHDF = 1; -const uint8_t NCLF = 32; -const uint8_t FDLF = 4; +const uint8_t NCLF = 255; +const uint8_t FDLF = 2; // range: 0 - 3 // 0: 6 samples