cryptnox-pos 1.0.0
Standalone USDC payment terminal firmware (ESP32 + Cryptnox smart card)
Loading...
Searching...
No Matches
touch_cal_t Struct Reference

#include <touch_cal.h>

Public Attributes

uint16_t x_min
uint16_t x_max
uint16_t y_min
uint16_t y_max

Detailed Description

Raw XPT2046 counts that map to the panel's four edges.

Definition at line 33 of file touch_cal.h.

Member Data Documentation

◆ x_max

uint16_t touch_cal_t::x_max

Definition at line 35 of file touch_cal.h.

Referenced by cal_apply(), and touch_cal_from_corners().

◆ x_min

uint16_t touch_cal_t::x_min

Definition at line 34 of file touch_cal.h.

Referenced by cal_apply(), and touch_cal_from_corners().

◆ y_max

uint16_t touch_cal_t::y_max

Definition at line 37 of file touch_cal.h.

Referenced by cal_apply(), and touch_cal_from_corners().

◆ y_min

uint16_t touch_cal_t::y_min

Definition at line 36 of file touch_cal.h.

Referenced by cal_apply(), and touch_cal_from_corners().


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