13 std::size_t count = 0;
26 uint32_t updated_id = 0;
31 _gfx->convertRawXY(tp, count);
32 for (std::size_t i = 0; i < count; ++i)
36 updated_id |= 1 << tp[i].id;
44 if ((!(updated_id & (1 << i)))
std::int32_t _flickThresh
static constexpr std::size_t TOUCH_MIN_UPDATE_MSEC
touch_detail_t _touch_detail[TOUCH_MAX_POINTS]
static constexpr std::size_t TOUCH_MAX_POINTS
m5gfx::touch_point_t _touch_raw[TOUCH_MAX_POINTS]
void update(std::uint32_t msec)
bool update_detail(touch_detail_t *dt, std::uint32_t msec, bool pressed, m5gfx::touch_point_t *tp)
m5gfx::LGFX_Device * _gfx
std::uint8_t _touch_count
m5gfx::touch_point_t touch_point_t
point_t base
Flick start point.
point_t prev
Previous point.