14#include <idfxx/lcd/touch>
15#include <idfxx/panel_io>
32#ifdef CONFIG_COMPILER_CXX_EXCEPTIONS
74 struct callback_state {
80 static void process_coordinates(
90 std::unique_ptr<callback_state> _callbacks;
STMPE610 resistive touch controller driver.
stmpe610 & operator=(const stmpe610 &)=delete
stmpe610(idfxx::panel_io &panel_io, config config)
Creates a new stmpe610 touch controller.
stmpe610(stmpe610 &&other) noexcept
stmpe610 & operator=(stmpe610 &&other) noexcept
stmpe610(const stmpe610 &)=delete
static result< stmpe610 > make(idfxx::panel_io &panel_io, config config)
Creates a new stmpe610 touch controller.
Abstract base class for touch controllers.
std::move_only_function< void(uint16_t *x, uint16_t *y, uint16_t *strength, uint8_t *point_num, uint8_t max_point_num)> process_coordinates_callback
Callback type for processing touch coordinates.
Panel I/O interface for SPI- and I2C-connected displays.
std::expected< T, std::error_code > result
result type wrapping a value or error code.
Configuration structure for touch controllers.
esp_lcd_touch_t * esp_lcd_touch_handle_t