idfxx 1.0.0
Modern C++23 components for ESP-IDF
Loading...
Searching...
No Matches
idfxx::lcd::touch Class Referenceabstract

Abstract base class for touch controllers. More...

Inheritance diagram for idfxx::lcd::touch:
idfxx::lcd::stmpe610

Classes

struct  config
 Configuration structure for touch controllers. More...
 

Public Types

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

Public Member Functions

virtual ~touch ()=default
 
virtual esp_lcd_touch_handle_t idf_handle () const =0
 Returns the underlying ESP-IDF handle.
 

Detailed Description

Abstract base class for touch controllers.

Definition at line 32 of file touch.hpp.

Member Typedef Documentation

◆ process_coordinates_callback

typedef std::move_only_function< void(uint16_t* x, uint16_t* y, uint16_t* strength, uint8_t* point_num, uint8_t max_point_num)> idfxx::lcd::touch::process_coordinates_callback

Callback type for processing touch coordinates.

Definition at line 40 of file touch.hpp.

Constructor & Destructor Documentation

◆ ~touch()

virtual idfxx::lcd::touch::~touch ( )
virtualdefault

Member Function Documentation

◆ idf_handle()

virtual esp_lcd_touch_handle_t idfxx::lcd::touch::idf_handle ( ) const
pure virtual

Returns the underlying ESP-IDF handle.

Implemented in idfxx::lcd::stmpe610.


The documentation for this class was generated from the following file: