debug info touch positions

This commit is contained in:
SGE 2023-12-18 11:45:18 +01:00
parent 758134f339
commit a10b48a8a4

View file

@ -80,6 +80,8 @@ void Touchscreen::set_raw_touch_position_(uint8_t id, int16_t x_raw, int16_t y_r
tp.y_org = tp.y; tp.y_org = tp.y;
} }
ESP_LOGD(TAG, "Touch info, x_raw: %d, y_raw: %d, p: %d, x: %d, y: %d", x_raw, y_raw, z_raw, x, y);
this->touches_[id] = tp; this->touches_[id] = tp;
this->is_touched_ = true; this->is_touched_ = true;