Display_Lib_RPI 2.3.0
A C++ Library to connect electronic displays to Linux single board computers.
Loading...
Searching...
No Matches
Public Attributes | List of all members
XPT_2046_RDL::Touch_Point_t Struct Reference

Structure representing a touch point on the screen. This structure is used to define a touch area on the screen, x1andx2represent the horizontal boundaries of the touch region. y1 and y2 represent the vertical boundaries of the touch region. The id field is used to uniquely identify the touch point. More...

#include <XPT2046_TS_TFT_LCD_RDL.hpp>

Public Attributes

uint32_t x1
 
uint32_t x2
 
uint32_t y1
 
uint32_t y2
 
uint32_t id
 

Detailed Description

Structure representing a touch point on the screen. This structure is used to define a touch area on the screen, x1andx2represent the horizontal boundaries of the touch region. y1 and y2 represent the vertical boundaries of the touch region. The id field is used to uniquely identify the touch point.

Member Data Documentation

◆ id

uint32_t XPT_2046_RDL::Touch_Point_t::id

Unique identifier for the touch point

◆ x1

uint32_t XPT_2046_RDL::Touch_Point_t::x1

Left boundary of the touch region (x-coordinate)

◆ x2

uint32_t XPT_2046_RDL::Touch_Point_t::x2

Right boundary of the touch region (x-coordinate)

◆ y1

uint32_t XPT_2046_RDL::Touch_Point_t::y1

Top boundary of the touch region (y-coordinate)

◆ y2

uint32_t XPT_2046_RDL::Touch_Point_t::y2

Bottom boundary of the touch region (y-coordinate)


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