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/pong.tex | 29 ++++++++++++++++++-----------
 1 file changed, 18 insertions(+), 11 deletions(-)

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

diff --git a/manual/plugins/pong.tex b/manual/plugins/pong.tex
index ab47c4238f..74c74eb67e 100644
--- a/manual/plugins/pong.tex
+++ b/manual/plugins/pong.tex
@@ -2,15 +2,22 @@
 \screenshot{plugins/images/ss-pong}{Pong}{img:pong}
 Pong is a simple two player ``tennis game''. Whenever a player misses the ball the other scores. 
 
-\begin{table}[ht!]
-    \begin{center}
-    \begin{tabular}{ll}\toprule
-    \textbf{Key} & \textbf{Action}\\\midrule
-    \opt{recorder,recorderv2fm}{F1}\opt{ondio}{LEFT}\opt{h1xx,h300}{UP}\opt{ipodcolor,ipodnano}{MENU} & Left player up\\
-    \opt{recorder,recorderv2fm,ipodcolor,ipodnano}{LEFT}\opt{ondio}{MODE}\opt{h1xx,h300}{DOWN} & Left player down\\
-    \opt{recorder,recorderv2fm}{F3}\opt{ondio}{UP}\opt{h1xx,h300}{PLAY}\opt{ipodcolor,ipodnano}{RIGHT} & Right player up\\
-    \opt{recorder,recorderv2fm}{RIGHT}\opt{ondio}{DOWN}\opt{h1xx,h300}{A-B}\opt{ipodcolor,ipodnano}{PLAY} & Right player down\\
-    \opt{recorder,recorderv2fm,h1xx,h300}{STOP}\opt{ondio}{OFF}\opt{ipodcolor,ipodnano}{SELECT} & Quit\\\bottomrule
-    \end{tabular}
-    \end{center}
+\begin{table}
+    \begin{btnmap}{}{}
+    \opt{recorder,recorderv2fm}{F1}\opt{ondio}{LEFT}\opt{h1xx,h300}{UP}
+    \opt{ipodcolor,ipodnano}{MENU} 
+    & Left player up\\
+    \opt{recorder,recorderv2fm,ipodcolor,ipodnano}{LEFT}
+    \opt{ondio}{MODE}\opt{h1xx,h300}{DOWN} 
+    & Left player down\\
+    \opt{recorder,recorderv2fm}{F3}\opt{ondio}{UP}
+    \opt{h1xx,h300}{PLAY}\opt{ipodcolor,ipodnano}{RIGHT} 
+    & Right player up\\
+    \opt{recorder,recorderv2fm}{RIGHT}\opt{ondio}{DOWN}
+    \opt{h1xx,h300}{A-B}\opt{ipodcolor,ipodnano}{PLAY} 
+    & Right player down\\
+    \opt{recorder,recorderv2fm,h1xx,h300}{STOP}\opt{ondio}{OFF}
+    \opt{ipodcolor,ipodnano}{SELECT} 
+    & Quit\\
+    \end{btnmap}
 \end{table}
-- 
cgit v1.2.3

