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/bubbles.tex | 46 ++++++++++++++++++++++++++--------------------
 1 file changed, 26 insertions(+), 20 deletions(-)

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

diff --git a/manual/plugins/bubbles.tex b/manual/plugins/bubbles.tex
index 2a0be04c6a..0f74a86e3e 100644
--- a/manual/plugins/bubbles.tex
+++ b/manual/plugins/bubbles.tex
@@ -7,33 +7,39 @@ the board extend below the bottom line. To make things more difficult, the
 entire board is shifted down every time a certain number of shots have been
 fired. Points are awarded depending on how quickly the level was completed.
 
-\begin{table}[ht!]
-    \begin{center}
-    \begin{tabular}{ll}\toprule
-    \textbf{Key} & \textbf{Action}\\\midrule
+\begin{table}
+    \begin{btnmap}{}{}
     \multicolumn{2}{c}{\textbf{In menu}}\\\hline
-    \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn}\opt{IPOD_4G_PAD,IAUDIO_X5_PAD}
-        {\ButtonPlay} & Start new game\\
-    \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonMode}\opt{IPOD_4G_PAD}
-        {\ButtonLeft+\ButtonRight}\opt{IAUDIO_X5_PAD}{\ButtonRec}
+    \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn}
+    \opt{IPOD_4G_PAD,IAUDIO_X5_PAD}{\ButtonPlay} 
+    & Start new game\\
+    \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonMode}
+    \opt{IPOD_4G_PAD}{\ButtonLeft+\ButtonRight}
+    \opt{IAUDIO_X5_PAD}{\ButtonRec}
         & Resume saved game\\
     \ButtonSelect & Show high scores\\
     \opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD}{\ButtonUp/\ButtonDown}
-        \opt{IPOD_4G_PAD}{\ButtonScrollFwd/\ButtonScrollBack}
+    \opt{IPOD_4G_PAD}{\ButtonScrollFwd/\ButtonScrollBack}
         & Select starting level\\
-    \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOff}\opt{IPOD_4G_PAD}{\ButtonMenu}
-        \opt{IAUDIO_X5_PAD}{\ButtonPower} & Quit\\\hline
+    \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOff}
+    \opt{IPOD_4G_PAD}{\ButtonMenu}
+    \opt{IAUDIO_X5_PAD}{\ButtonPower}
+        & Quit\\\hline
     \multicolumn{2}{c}{\textbf{In game}}\\\hline
-    \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn}\opt{IPOD_4G_PAD,IAUDIO_X5_PAD}
-        {\ButtonPlay} & Pause game\\
+    \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn}
+    \opt{IPOD_4G_PAD,IAUDIO_X5_PAD}{\ButtonPlay} 
+        & Pause game\\
     \opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD}{\ButtonLeft/\ButtonRight}
-        \opt{IPOD_4G_PAD}{\ButtonScrollFwd/\ButtonScrollBack}
+    \opt{IPOD_4G_PAD}{\ButtonScrollFwd/\ButtonScrollBack}
         & Aim the bubble\\
     \ButtonSelect & Fire bubble\\
-    \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonMode}\opt{IPOD_4G_PAD}{\ButtonLeft+\ButtonRight}
-        \opt{IAUDIO_X5_PAD}{\ButtonRec} & Save game\\
-    \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOff}\opt{IPOD_4G_PAD}{\ButtonMenu}
-        \opt{IAUDIO_X5_PAD}{\ButtonPower} & Exit to menu\\\bottomrule
-    \end{tabular}
-    \end{center}
+    \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonMode}
+    \opt{IPOD_4G_PAD}{\ButtonLeft+\ButtonRight}
+    \opt{IAUDIO_X5_PAD}{\ButtonRec} 
+        & Save game\\
+    \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOff}
+    \opt{IPOD_4G_PAD}{\ButtonMenu}
+    \opt{IAUDIO_X5_PAD}{\ButtonPower} 
+        & Exit to menu\\
+    \end{btnmap}
 \end{table}
-- 
cgit v1.2.3

