Touch: Average/threshold tweaks.

This commit is contained in:
Jared Boone 2016-07-27 14:08:24 -07:00
parent 7492d50f0b
commit cd9b76ef78

View File

@ -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.