mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-01-25 22:16:14 -05:00
Touch: Average/threshold tweaks.
This commit is contained in:
parent
7492d50f0b
commit
cd9b76ef78
@ -221,8 +221,8 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
static constexpr float r_touch_threshold = 0x1000;
|
static constexpr float r_touch_threshold = 0x1000;
|
||||||
static constexpr size_t touch_count_threshold { 4 };
|
static constexpr size_t touch_count_threshold { 3 };
|
||||||
static constexpr uint32_t touch_stable_bound { 4 };
|
static constexpr uint32_t touch_stable_bound { 16 };
|
||||||
|
|
||||||
// Ensure filter length is equal or less than touch_count_threshold,
|
// Ensure filter length is equal or less than touch_count_threshold,
|
||||||
// or coordinates from the last touch will be in the initial averages.
|
// or coordinates from the last touch will be in the initial averages.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user