mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-12 11:42:13 -04:00
Touch: Adjust thresholds and parameters for new scan.
This commit is contained in:
parent
dd2097a447
commit
16a6d7efe0
2 changed files with 3 additions and 3 deletions
|
@ -218,9 +218,9 @@ private:
|
|||
TouchDetected,
|
||||
};
|
||||
|
||||
static constexpr float r_touch_threshold = 0x1000;
|
||||
static constexpr float r_touch_threshold = 640;
|
||||
static constexpr size_t touch_count_threshold { 3 };
|
||||
static constexpr uint32_t touch_stable_bound { 16 };
|
||||
static constexpr uint32_t touch_stable_bound { 8 };
|
||||
|
||||
// Ensure filter length is equal or less than touch_count_threshold,
|
||||
// or coordinates from the last touch will be in the initial averages.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue