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
This commit is contained in:
Marianne Arnold 2010-11-02 00:02:15 +00:00
parent bd46d82bf6
commit aee59094db

View file

@ -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}