12 namespace touchscreen {
19 void setup()
override;
22 void set_area(int16_t x_min, int16_t x_max, int16_t y_min, int16_t y_max) {
44 std::vector<display::DisplayPage *>
pages_{};
void set_use_raw(bool use_raw)
void add_page(display::DisplayPage *page)
void set_area(int16_t x_min, int16_t x_max, int16_t y_min, int16_t y_max)
Set the touch screen area where the button will detect the touch.
std::vector< display::DisplayPage * > pages_
void touch(TouchPoint tp) override
Implementation of SPI Controller mode.
Base class for all binary_sensor-type classes.
Helper class to easily give an object a parent of type T.