MPLAB® Harmony Graphics Suite
|
Structure: laTouchTestWidget_t
The touch test widget is a specialized widget that displays intersecting lines based on input events. This can help visualize touch interaction and aid determining accurate input coordinates.
typedef struct laTouchTestWidget_t { laWidget widget; laTouchTestState state; GFX_Point pnts[LA_TOUCHTEST_MEMORY_SIZE]; uint32_t size; uint32_t start; uint32_t next; laTouchTestWidget_PointAddedEventCallback cb; } laTouchTestWidget;
Members |
Description |
laWidget widget; |
widget base class |
laTouchTestState state; |
touch test state |
GFX_Point pnts[LA_TOUCHTEST_MEMORY_SIZE]; |
touch point array |
uint32_t size; |
current number of valid touch points |
uint32_t start; |
first valid touch point |
uint32_t next; |
next available touch point entry |
laTouchTestWidget_PointAddedEventCallback cb; |
point added callback |
None.
MPLAB® Harmony Graphics Suite
|