···636636\opt{touchscreen}{
637637 \section{Touchscreen Areas}
638638 \begin{tagmap}
639639- \config{\%T(x,y,width,\tabnlindent{}height, action, [options])}
639639+ \config{\%T([label], x, y, width, height, action, [options])}
640640 & Invoke the action specified when the user presses in the defined
641641- touchscreen area.\\
641641+ touchscreen area. If a label is given it can be used with \%Tl to detect
642642+ if this touch area is pressed (see below). The label must consist of
643643+ alphabetic characters (A-Z) or underscores and is case-sensitive.\\
642644 \end{tagmap}
643645644646 Possible actions are:
···692694693695 \section{Last Touchscreen Press}
694696 \begin{tagmap}
695695- \config{\%Tl} & Indicates that the touchscreen is pressed.\\
697697+ \config{\%Tl([delay])} & Indicates that the touchscreen is pressed.\\
698698+ \config{\%Tl(label,[delay])} & Indicates that the specified touch area is pressed.\\
696699 \end{tagmap}
697700 This tag can be used to display text or images or a viewport when the
698698- touchscreen is pressed (like an On Screen Display). If you put a number
699699- straight after \%Tl it will be used as a timeout in seconds
700700- (e.g \%Tl(2.5) will give a 2.5 second timeout) between the touchscreen press
701701- being released and the tag going false. If no number is specified it will
702702- use a 1 second timeout. It can also be used as a conditional, and can be
703703- used with conditional viewports.
701701+ touchscreen is pressed (like an On Screen Display). The optional label
702702+ links the tag to trigger only when a specific touch area is pressed.
703703+ For example \%Tl(play\_button) will only trigger when the area labelled
704704+ play\_button is pressed. If the label is omitted, the tag will trigger
705705+ on any touchscreen press.
706706+707707+ The delay is a number which sets the timeout for the tag going false
708708+ after the touchscreen is released, eg. \%Tl(2.5) will give a 2.5 second
709709+ timeout. If no delay is specified the default timeout is 1 second.
710710+711711+ The \%Tl tag can be used as a conditional, and can be used with
712712+ conditional viewports.
704713}
705714706715\section{\label{ref:bar_tags}Bar Tags}