summaryrefslogtreecommitdiff
path: root/manual/appendix
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2011-07-28 12:53:22 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2011-07-28 12:53:22 +0000
commit969903b5fe3bc852b7bbda766bf1123a63bea5c1 (patch)
treef4714593a170e1fd1698bde4c15a9ba10e188309 /manual/appendix
parentbb618dbd84389a8625244e97c5f61addd7870810 (diff)
downloadrockbox-969903b5fe3bc852b7bbda766bf1123a63bea5c1.zip
rockbox-969903b5fe3bc852b7bbda766bf1123a63bea5c1.tar.gz
rockbox-969903b5fe3bc852b7bbda766bf1123a63bea5c1.tar.bz2
rockbox-969903b5fe3bc852b7bbda766bf1123a63bea5c1.tar.xz
Change the way the %Tl() (touch region) tag is done to remove dodgey 1-char settings.
check the manual... %Tl(..., &action) -> %Tl(..., action, repeat_press) %Tl(..., *action) -> %Tl(..., action, long_press) %Tl(..., !action) -> %Tl(..., action, reverse_bar) and a new allow_while_lock to make the region fire when softlocked these options must all be after the action name, but otherwise the order doesnt matter. And for the setting_inc/dec/set action the setting name must follow the action name, *then* the options git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30219 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'manual/appendix')
-rw-r--r--manual/appendix/wps_tags.tex15
1 files changed, 11 insertions, 4 deletions
diff --git a/manual/appendix/wps_tags.tex b/manual/appendix/wps_tags.tex
index ebd2a4c..02561c5 100644
--- a/manual/appendix/wps_tags.tex
+++ b/manual/appendix/wps_tags.tex
@@ -600,13 +600,11 @@ display cycling round the defined sublines. See
\opt{touchscreen}{
\section{Touchscreen Areas}
\begin{tagmap}
- \config{\%T(x,y,width,\tabnlindent{}height,action)}
+ \config{\%T(x,y,width,\tabnlindent{}height, action, [options])}
& Invoke the action specified when the user presses in the defined
touchscreen area.\\
\end{tagmap}
- If the action starts with \& then the area must be held and allows repeat presses (e.g. for seeking).
- If the action starts with * then the area must be held but the press only triggers once
- (e.g. for switching a setting on a long press).
+
Possible actions are:
\begin{description}
@@ -636,6 +634,15 @@ display cycling round the defined sublines. See
\item[setting\_dec] -- Decrement the subsequently specified setting (e.g
\config{\%T(0,0, setting\_dec, volume)} decreases the volume by one step).
\end{description}
+ Any (or muliple) of the following options can be used after the action is specified
+ \subsection{Options}
+ \begin{description}
+ \item[repeat_press] -- This region will trigger mulitple times when held (i.e for seeking)
+ \item[long_press] -- This region will trigger once after it is held for a long press
+ \item[reverse_bar] -- Reverse the bars touch direction (i.e seek right to left)
+ \item[allow_while_locked] -- Allows the region to be pressable when the
+ skin is locked by the lock touch action
+ \end{description}
\section{Last Touchscreen Press}
\begin{tagmap}