Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

manual: document touch area labels for %T and %Tl tags

It's been possible to label touch areas since the v3.9 stable
release, but it was never documented in the manual, only the wiki.

Change-Id: I6b92ff1d19369c105dc3a90aa04f8763f18a4214

+18 -9
+18 -9
manual/appendix/wps_tags.tex
··· 636 636 \opt{touchscreen}{ 637 637 \section{Touchscreen Areas} 638 638 \begin{tagmap} 639 - \config{\%T(x,y,width,\tabnlindent{}height, action, [options])} 639 + \config{\%T([label], x, y, width, height, action, [options])} 640 640 & Invoke the action specified when the user presses in the defined 641 - touchscreen area.\\ 641 + touchscreen area. If a label is given it can be used with \%Tl to detect 642 + if this touch area is pressed (see below). The label must consist of 643 + alphabetic characters (A-Z) or underscores and is case-sensitive.\\ 642 644 \end{tagmap} 643 645 644 646 Possible actions are: ··· 692 694 693 695 \section{Last Touchscreen Press} 694 696 \begin{tagmap} 695 - \config{\%Tl} & Indicates that the touchscreen is pressed.\\ 697 + \config{\%Tl([delay])} & Indicates that the touchscreen is pressed.\\ 698 + \config{\%Tl(label,[delay])} & Indicates that the specified touch area is pressed.\\ 696 699 \end{tagmap} 697 700 This tag can be used to display text or images or a viewport when the 698 - touchscreen is pressed (like an On Screen Display). If you put a number 699 - straight after \%Tl it will be used as a timeout in seconds 700 - (e.g \%Tl(2.5) will give a 2.5 second timeout) between the touchscreen press 701 - being released and the tag going false. If no number is specified it will 702 - use a 1 second timeout. It can also be used as a conditional, and can be 703 - used with conditional viewports. 701 + touchscreen is pressed (like an On Screen Display). The optional label 702 + links the tag to trigger only when a specific touch area is pressed. 703 + For example \%Tl(play\_button) will only trigger when the area labelled 704 + play\_button is pressed. If the label is omitted, the tag will trigger 705 + on any touchscreen press. 706 + 707 + The delay is a number which sets the timeout for the tag going false 708 + after the touchscreen is released, eg. \%Tl(2.5) will give a 2.5 second 709 + timeout. If no delay is specified the default timeout is 1 second. 710 + 711 + The \%Tl tag can be used as a conditional, and can be used with 712 + conditional viewports. 704 713 } 705 714 706 715 \section{\label{ref:bar_tags}Bar Tags}