rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
inj_contact_t Struct Reference

One contact id's gesture. More...

#include <injector.h>

Data Fields

inj_gesture_t kind
char tag [8]
uint16_t x0
uint16_t y0
uint16_t x1
uint16_t y1
uint32_t ms
bool down_published
bool lifting
bool in_frame
bool first_acked
uint32_t t_first
uint32_t frames
uint16_t px
uint16_t py
bool slowed
bool end_published
bool end_acked

Detailed Description

One contact id's gesture.

Field Documentation

◆ down_published

bool inj_contact_t::down_published

a frame put it down

◆ end_acked

bool inj_contact_t::end_acked

swipe: that frame was read

◆ end_published

bool inj_contact_t::end_published

swipe: the frame at (x1, y1)

◆ first_acked

bool inj_contact_t::first_acked

the frame that put it down was read

◆ frames

uint32_t inj_contact_t::frames

frames read that changed it

◆ in_frame

bool inj_contact_t::in_frame

the frame out was published for it

◆ kind

inj_gesture_t inj_contact_t::kind

INJ_G_NONE when the id is free

◆ lifting

bool inj_contact_t::lifting

the frame out lifts it

◆ ms

uint32_t inj_contact_t::ms

its length

◆ px

uint16_t inj_contact_t::px

the last point published: column

◆ py

uint16_t inj_contact_t::py

the last point published: row

◆ slowed

bool inj_contact_t::slowed

swipe: the 100px step stretched it

◆ t_first

uint32_t inj_contact_t::t_first

when that frame was acknowledged

◆ tag

char inj_contact_t::tag[8]

" id=N" when started with id=, or ""

◆ x0

uint16_t inj_contact_t::x0

where it starts: column

◆ x1

uint16_t inj_contact_t::x1

where it ends: column

◆ y0

uint16_t inj_contact_t::y0

where it starts: row

◆ y1

uint16_t inj_contact_t::y1

where it ends: row


The documentation for this struct was generated from the following file:
  • testbench/touch-injector/core/include/injector.h