From af68987d5cbe538a738ce7be0c99d83792fc7269 Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Mon, 24 Aug 2009 15:19:14 +0000 Subject: Fix FS#10556 so that we now include the wps tags for the hold switch and remote hold switch for other targets than the iriver h100 and h300, introduce a new feature for remote_button_hold git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22498 a1c6a512-1295-4272-9138-f99709370657 --- apps/features.txt | 4 ++++ manual/appendix/wps_tags.tex | 29 +++++++++++++++++++++-------- 2 files changed, 25 insertions(+), 8 deletions(-) diff --git a/apps/features.txt b/apps/features.txt index a9df26ba48..5dd7fd8720 100644 --- a/apps/features.txt +++ b/apps/features.txt @@ -62,6 +62,10 @@ headphone_detection hold_button #endif +#if defined(HAS_REMOTE_BUTTON_HOLD) +remote_button_hold +#endif + #if defined(HAVE_LCD_BITMAP) lcd_bitmap #endif diff --git a/manual/appendix/wps_tags.tex b/manual/appendix/wps_tags.tex index a7c1822c50..9be085d01a 100644 --- a/manual/appendix/wps_tags.tex +++ b/manual/appendix/wps_tags.tex @@ -142,14 +142,27 @@ produce the information for the next file to be played. \end{tagmap} \end{table} } -\opt{h100,h300}{ -\section{Hold Switches} -\begin{table} - \begin{tagmap}{}{} - \config{\%mh} & ``h'' if the main unit hold switch is on\\ - \config{\%mr} & ``r'' if the remote hold switch is on\\ - \end{tagmap} -\end{table} + +% this will not include the "remote hold switch" tag for targets lacking +% a main unit hold switch +\opt{hold_button}{ + \opt{remote_button_hold}{ + \section{Hold Switches} + \begin{table} + \begin{tagmap}{}{} + \config{\%mh} & ``h'' if the main unit hold switch is on\\ + \config{\%mr} & ``r'' if the remote hold switch is on\\ + \end{tagmap} + \end{table} + } + \nopt{remote_button_hold}{ + \section{Hold Switch} + \begin{table} + \begin{tagmap}{}{} + \config{\%mh} & ``h'' if the hold switch is on\\ + \end{tagmap} + \end{table} + } } \section{Virtual LED} -- cgit v1.2.3