Touch Data For ID
File:TArduinoTouchDataForID.png
Summary
Extracts touch data for a specific touch ID from a multi-touch input.
Description
The Touch Data For ID component filters a multi-touch input and outputs the data related only to the configured ID. This allows applications to reliably track a single finger or touch point across frames, even when multiple touches are present.
Typical use cases include gesture recognition, tracking a primary finger for dragging, or assigning specific functions to different touch IDs.
Diagram:
Categories
- File:TArduinoTouchCategory.png Category Touch – Touchscreen controllers and processors
Properties
- ID – Integer; the unique touch ID to filter.
- Enabled – Enables or disables the component.
Pins
Input Pins
- In – Touch input (multi-touch stream).
Output Pins
- X – Integer; X coordinate of the selected touch ID.
- Y – Integer; Y coordinate of the selected touch ID.
- Pressed – Boolean; indicates if the selected touch ID is currently pressed.
- Size – Integer; touch size or pressure level for the selected ID.