TM STM32Fxxx HAL Libraries  v1.0.0
Libraries for STM32Fxxx (F0, F4 and F7 series) devices based on HAL drivers from ST from Tilen Majerle
TM_TOUCH_t Struct Reference

Touch working structure. More...

#include <tm_stm32_touch.h>

Data Fields

uint8_t NumPresses
uint16_t X [10]
uint16_t Y [10]
uint8_t Events
uint8_t Orientation
uint16_t MaxX
uint16_t MaxY

Detailed Description

Touch working structure.

Field Documentation

uint8_t Events

Events, if any. For example, touch has detected "zoom" with fingers or similar

uint16_t MaxX

Touch MAX X value. Maximal value for touch X coordinate

uint16_t MaxY

Touch MAX Y value. Maximal value for touch Y coordinate

uint8_t NumPresses

Number of touches (fingers) detected

uint8_t Orientation

Touch orientation to match LCD orientation if needed

uint16_t X[10]

X positions for touches

uint16_t Y[10]

Y positions for touches