dual_sense_hid::State::TouchPoint struct

Data of single touch point registered by touchpad.

Public variables

bool active
uint16_t x
uint16_t y
uint8_t id

Variable documentation

bool dual_sense_hid::State::TouchPoint::active

True if structure holds data of active touch point

uint16_t dual_sense_hid::State::TouchPoint::x

X coordinate (0-1920)

uint16_t dual_sense_hid::State::TouchPoint::y

X coordinate (0-1080)

uint8_t dual_sense_hid::State::TouchPoint::id

ID of touch point (7-bit). Increased after each new touch point detected