Create/Define Touch Field

\i T A byte::field_idx byte::key

Parameter Type Range Description
field_idx byte 0 ... 63 (-1 = next free touch field index) index of the touch field
key byte 0 ... 255 value reported in case of touch event

Creates or redefines the touch field with index field_idx with the current values and properties previously set (e.g. Set Touch Field Width, Set Touch Field Make Macro, etc.) and also assigns key to the field.

Note

Response: [ACK]

Example

\iTA\xFF\x1

This will create a touch field with the next free index. If this touch field is pressed afterwards, K/k[01][ACK] will be reported via the active interface.

See also:

Touch Screen Related Commands
Remove Touch Field
Enable/Disable Touch Field Reporting

Set Current Touch Field Index
Execute Touch Make Macro
Execute Touch Break Macro
Draw Touch Field Text Message