From 8c177221b31d9b86aa286092ede463a1c5f0a4b4 Mon Sep 17 00:00:00 2001
From: Dominik Riebeling <Dominik.Riebeling@gmail.com>
Date: Mon, 3 Apr 2006 22:45:01 +0000
Subject: Added environment to unify button mapping tables. Adjust plugins to
 use it.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9475 a1c6a512-1295-4272-9138-f99709370657
---
 manual/plugins/metronome.tex | 25 +++++++++++++++----------
 1 file changed, 15 insertions(+), 10 deletions(-)

(limited to 'manual/plugins/metronome.tex')

diff --git a/manual/plugins/metronome.tex b/manual/plugins/metronome.tex
index 242397768b..aa2ebbcc2c 100644
--- a/manual/plugins/metronome.tex
+++ b/manual/plugins/metronome.tex
@@ -3,15 +3,20 @@ This plugin can be used as a metronome to keep time during music
 practice.  Adjust the tempo though the interface or by tapping it out
 on the appropriate button.
 
-\begin{table}[h!]
-\begin{center}
-\begin{tabular}{@{}ll@{}}\toprule
-\textbf{Key} & \textbf{Action}\\\midrule
-\opt{player,h1xx,h300}{Stop}\opt{recorder,recorderv2fm}{Off}\opt{ondio}{OnOff}\opt{ipodcolor,ipodnano}{Menu} & Exit plugin \\
-\opt{player,recorder,recorderv2fm,h1xx,h300,ipodcolor,ipodnano}{Play}\opt{ondio}{Mode (hold: Stop)} & Start / Stop \\
-\opt{player,recorder,recorderv2fm}{On}\opt{ondio}{Mode (repeatedly)}\opt{h1xx,h300,ipodcolor,ipodnano}{Select} & Tap tempo \\
+\begin{table}
+\begin{btnmap}{}{}
+\opt{player,h1xx,h300}{Stop}\opt{recorder,recorderv2fm}{Off}
+\opt{ondio}{OnOff}\opt{ipodcolor,ipodnano}{Menu} 
+& Exit plugin \\
+\opt{player,recorder,recorderv2fm,h1xx,h300,ipodcolor,ipodnano}{Play}
+\opt{ondio}{Mode (hold: Stop)} 
+& Start / Stop \\
+\opt{player,recorder,recorderv2fm}{On}\opt{ondio}{Mode (repeatedly)}
+\opt{h1xx,h300,ipodcolor,ipodnano}{Select} 
+& Tap tempo \\
 Left/Right & Adjust tempo \\
-\opt{player}{On+Left/Right}\opt{recorder,recorderv2fm,ondio,h1xx,h300,ipodcolor,ipodnano}{Up/Down} & Adjust volume \\\bottomrule
-\end{tabular}
-\end{center}
+\opt{player}{On+Left/Right}
+\opt{recorder,recorderv2fm,ondio,h1xx,h300,ipodcolor,ipodnano}{Up/Down} 
+& Adjust volume \\
+\end{btnmap}
 \end{table}
-- 
cgit v1.2.3

