diff options
| author | Nils Wallménius <nils@rockbox.org> | 2009-08-24 15:19:14 +0000 |
|---|---|---|
| committer | Nils Wallménius <nils@rockbox.org> | 2009-08-24 15:19:14 +0000 |
| commit | af68987d5cbe538a738ce7be0c99d83792fc7269 (patch) | |
| tree | deb28492168fdffe6c4c120ef056bebad9c6dc05 | |
| parent | 3460ef3596e18cdb2f036d9bac7620dcbbc1bdd6 (diff) | |
| download | rockbox-af68987d5cbe538a738ce7be0c99d83792fc7269.zip rockbox-af68987d5cbe538a738ce7be0c99d83792fc7269.tar.gz rockbox-af68987d5cbe538a738ce7be0c99d83792fc7269.tar.bz2 rockbox-af68987d5cbe538a738ce7be0c99d83792fc7269.tar.xz | |
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
| -rw-r--r-- | apps/features.txt | 4 | ||||
| -rw-r--r-- | manual/appendix/wps_tags.tex | 29 |
2 files changed, 25 insertions, 8 deletions
diff --git a/apps/features.txt b/apps/features.txt index a9df26b..5dd7fd8 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 a7c1822..9be085d 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} |