36 #ifndef __INCLUDE_CTOUCHSCREEN_HXX 37 #define __INCLUDE_CTOUCHSCREEN_HXX 43 #include <nuttx/nx/nxglib.h> 45 #include <semaphore.h> 48 #include <nuttx/input/touchscreen.h> 111 static FAR
void *
listener(FAR
void *arg);
221 #endif // __INCLUDE_CTOUCHSCREEN_HXX bool getCalibrationData(struct SCalibrationData &caldata) const
struct touch_sample_s * m_touch
NXWidgets::CNxServer * m_server
bool waitRawTouchData(struct touch_sample_s *touch)
void setEnabled(bool enable)
volatile bool m_calibrated
struct SCalibrationData m_calibData
enum EListenerState m_state
static FAR void * listener(FAR void *arg)
void handleMouseInput(struct touch_sample_s *sample)
bool isCalibrated(void) const
CTouchscreen(NXWidgets::CNxServer *server, struct nxgl_size_s *windowSize)
struct nxgl_size_s m_windowSize
void setCalibrationData(const struct SCalibrationData &caldata)
struct touch_sample_s m_sample