From aee59094dba8d9c13f16e7667298be74b9cd60cd Mon Sep 17 00:00:00 2001
From: Marianne Arnold <pixelma@rockbox.org>
Date: Tue, 2 Nov 2010 00:02:15 +0000
Subject: Manual, lamp plugin button table: fix typo. Simplify and rearrange
 the code while at it to improve readability, especially with regards to the
 optional 3rd column for remote targets.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28441 a1c6a512-1295-4272-9138-f99709370657
---
 manual/plugins/lamp.tex | 31 +++++++++++++++++++------------
 1 file changed, 19 insertions(+), 12 deletions(-)

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

diff --git a/manual/plugins/lamp.tex b/manual/plugins/lamp.tex
index b99bcce983..81a90409dd 100644
--- a/manual/plugins/lamp.tex
+++ b/manual/plugins/lamp.tex
@@ -4,20 +4,27 @@ Lamp is a simple plugin to use your player as a lamp (flashlight, torch).
 You get an empty screen with maximum brightness.
 \begin{btnmap}
   \opt{lcd_color}{
-    \opt{PLAYER_PAD,RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD%
-        ,IPOD_4G_PAD,IPOD_3G_PAD,IRIVER_H10_PAD,IAUDIO_X5_PAD,SANSA_E200_PAD%
-        ,SANSA_C200_PAD,GIGABEAT_PAD,MROBE100_PAD,SANSA_FUZE_PAD,PBELL_VIBE500_PAD}
-        {\ButtonLeft/\ButtonRight}
-    \opt{COWON_D2_PAD}{\TouchMidLeft{} / \TouchMidRight}
-      \opt{HAVEREMOTEKEYMAP}{& }
-        & Toggle between colours\\
-    Any ohter key
-      \opt{HAVEREMOTEKEYMAP}{& }
-        & Quit\\
+    \nopt{touchscreen}{\ButtonLeft{} / \ButtonRight}%
+    \opt{touchscreen}{\TouchMidLeft{} / \TouchMidRight}
+        &
+    \opt{HAVEREMOTEKEYMAP}{
+        & }
+    Toggle between colours
+        \\
+        
+    Any other key
+        &
+    \opt{HAVEREMOTEKEYMAP}{
+        & }
+    Quit
+        \\
   }
   \nopt{lcd_color}{
     Any key
-      \opt{HAVEREMOTEKEYMAP}{& }
-        & Quit\\
+        &
+    \opt{HAVEREMOTEKEYMAP}{
+        & }
+    Quit
+        \\
   }
 \end{btnmap}
-- 
cgit v1.2.3

