ESPHome  2022.6.2
Public Member Functions
esphome::xpt2046::XPT2046OnStateTrigger Class Reference

#include <xpt2046.h>

Inheritance diagram for esphome::xpt2046::XPT2046OnStateTrigger:
esphome::Trigger< int, int, bool >

Public Member Functions

void process (int x, int y, bool touched)
 
- Public Member Functions inherited from esphome::Trigger< int, int, bool >
void trigger (Ts... x)
 Inform the parent automation that the event has triggered. More...
 
void set_automation_parent (Automation< Ts... > *automation_parent)
 
void stop_action ()
 Stop any action connected to this trigger. More...
 
bool is_action_running ()
 Returns true if any action connected to this trigger is running. More...
 

Additional Inherited Members

- Protected Attributes inherited from esphome::Trigger< int, int, bool >
Automation< Ts... > * automation_parent_
 

Detailed Description

Definition at line 11 of file xpt2046.h.

Member Function Documentation

◆ process()

void esphome::xpt2046::XPT2046OnStateTrigger::process ( int  x,
int  y,
bool  touched 
)

Definition at line 196 of file xpt2046.cpp.


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