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/chess_clock.tex | 33 +++++++++++++++++++++------------
 1 file changed, 21 insertions(+), 12 deletions(-)

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

diff --git a/manual/plugins/chess_clock.tex b/manual/plugins/chess_clock.tex
index 26834adf96..925bace112 100644
--- a/manual/plugins/chess_clock.tex
+++ b/manual/plugins/chess_clock.tex
@@ -26,18 +26,27 @@ time left if different).
 
 Keys are as follows:
 
-\begin{table}[h!]
-\begin{center}
-\begin{tabular}{@{}ll@{}}\toprule
-\textbf{Key} & \textbf{Action}\\\midrule
-\opt{player}{On}\opt{recorder,recorderv2fm}{Off}\opt{ondio}{OnOff}\opt{h1xx,h300,ipodcolor,ipodnano}{Select} & Exit plugin \\
-\opt{player}{Stop}\opt{recorder,recorderv2fm,Ondio}{Left}\opt{h1xx,h300,ipodcolor,ipodnano}{Stop} & Restart round for the player \\
-\opt{player,h1xx,h300,ipodcolor,ipodnano,recorder,recorderv2fm}{Play}\opt{Ondio}{Right} & Pausing the time (press again to continue) \\
-\opt{player,h1xx,h300,ipodcolor,ipodnano}{Right}\opt{ondio,recorder,recorderv2fm}{Up} & Switch to next player \\
-\opt{player,h1xx,h300,ipodcolor,ipodnano}{Left}\opt{ondio,recorder,recorderv2fm}{Down} & Switch to previous player \\
-\opt{player}{Menu}\opt{recorder,recorderv2fm}{F1}\opt{ondio}{Mode}\opt{h1xx,h300,ipodcolor,ipodnano}{Rec} & Exit plugin \\\bottomrule
-\end{tabular}
-\end{center}
+\begin{table}
+\begin{btnmap}{}{}
+\opt{player}{On}\opt{recorder,recorderv2fm}{Off}\opt{ondio}{OnOff}
+\opt{h1xx,h300,ipodcolor,ipodnano}{Select} 
+& Exit plugin \\
+\opt{player}{Stop}\opt{recorder,recorderv2fm,Ondio}{Left}
+\opt{h1xx,h300,ipodcolor,ipodnano}{Stop} 
+& Restart round for the player \\
+\opt{player,h1xx,h300,ipodcolor,ipodnano,recorder,recorderv2fm}{Play}
+\opt{Ondio}{Right} 
+& Pausing the time (press again to continue) \\
+\opt{player,h1xx,h300,ipodcolor,ipodnano}{Right}
+\opt{ondio,recorder,recorderv2fm}{Up} 
+& Switch to next player \\
+\opt{player,h1xx,h300,ipodcolor,ipodnano}{Left}
+\opt{ondio,recorder,recorderv2fm}{Down} 
+& Switch to previous player \\
+\opt{player}{Menu}\opt{recorder,recorderv2fm}{F1}
+\opt{ondio}{Mode}\opt{h1xx,h300,ipodcolor,ipodnano}{Rec} 
+& Exit plugin \\
+\end{btnmap}
 \end{table}
 From the menu it is possible to delete a player, modify the round time
 for the current player or set the total time for the game. 
-- 
cgit v1.2.3

