rockbox/manual/plugins/bounce.tex
Christian Soffke faa2cb9942 plugins: Improve usability of iPod keymaps
- Reduce need to press multiple buttons at
the same time to quit a plugin

- Have "Menu" be default way to quit plugins or
to access plugin menu

- Fall back to (Long) "Select" or Long "Menu"
in cases where Menu button isn't available
(e.g. in ImageViewer and many games)

out of scope:
boomshine, lua_scripts, Rockpaint,
Doom, Duke3D, Pacbox, Quake,
Sgt-Puzzles, Wolf3D, XWorld,
Minesweeper, Pixel Painter, Spacerocks

Change-Id: I6d4dc7174695fe4b8ee9cbaccb21bdbfe6af5c48
2022-12-29 04:39:22 +01:00

38 lines
1.2 KiB
TeX

\subsection{Bounce}
\screenshot{plugins/images/ss-bounce}{Bounce}{img:bounce}
This demo is of the word ``Rockbox'' bouncing across the screen.
\opt{rtc}{There is also an analogue clock in the background.}
In \setting{Scroll mode} the bouncing text is replaced by a different one
scrolling from right to left.
\begin{btnmap}
\nopt{IPOD_4G_PAD,IPOD_3G_PAD}{\PluginUp{} / \PluginDown}
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\PluginLeft{} / \PluginRight}
\opt{HAVEREMOTEKEYMAP}{& }
& Moves to next/previous option\\
\nopt{scrollwheel} {
\PluginRight{} / \PluginLeft
}
\opt{scrollwheel} {
\PluginScrollFwd{} / \PluginScrollBack
}
\opt{HAVEREMOTEKEYMAP}{& }
& Increases/decreases option value\\
\PluginSelect
\opt{HAVEREMOTEKEYMAP}{& }
& Toggles Scroll mode\\
\nopt{IPOD_4G_PAD,IPOD_3G_PAD}{\PluginCancel{} or \PluginExit}
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\PluginUp}
\opt{HAVEREMOTEKEYMAP}{& }
& Exits bounce demo\\
\end{btnmap}
Available options are:
\begin{description}
\item[Xdist/Ydist.] The distance to X axis and Y axis
respectively
\item[Xadd/Yadd.]How fast the code moves on the sine curve on
each axis
\item[Xsane/Ysane.] Changes the appearance of the bouncing.
\end{description}