From e090bea1fac8f9f0d243d3c5e974b3f30b8cfff3 Mon Sep 17 00:00:00 2001 From: Marianne Arnold Date: Sat, 29 Nov 2008 11:04:02 +0000 Subject: Manual: Platform files - split out the button and action commands from the platform files into separate keymap files. This avoids code duplication for targets which share the same keymap (M5,X5; the Archos Recorders and Ondios etc.). Before, someone would have to change a few files if e.g. something changed for the Ipod 4G pad, now only the keymap-ipod4g.tex has to be edited. The shared keymap files contain all possibly needed commands, for instance the radio screen actions in keymap-mx5.tex which is only used for the X5 not the M5. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19262 a1c6a512-1295-4272-9138-f99709370657 --- manual/platform/keymap-player.tex | 46 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 manual/platform/keymap-player.tex (limited to 'manual/platform/keymap-player.tex') diff --git a/manual/platform/keymap-player.tex b/manual/platform/keymap-player.tex new file mode 100644 index 0000000000..efd9da4002 --- /dev/null +++ b/manual/platform/keymap-player.tex @@ -0,0 +1,46 @@ +% $Id$ + +\newcommand{\ButtonLeft}{\btnfnt{Minus}} +\newcommand{\ButtonRight}{\btnfnt{Plus}} +\newcommand{\ButtonOn}{\btnfnt{On}} +\newcommand{\ButtonMenu}{\btnfnt{Menu}} +\newcommand{\ButtonPlay}{\btnfnt{Play}} +\newcommand{\ButtonStop}{\btnfnt{Stop}} + +%Button actions, standard context +\newcommand{\ActionStdPrev}{\ButtonLeft} +\newcommand{\ActionStdPrevRepeat}{Long \ButtonLeft} +\newcommand{\ActionStdNext}{\ButtonRight} +\newcommand{\ActionStdNextRepeat}{Long \ButtonRight} +\newcommand{\ActionStdCancel}{\ButtonStop} +\newcommand{\ActionStdContext}{Long \ButtonPlay} +\newcommand{\ActionStdMenu}{\ButtonMenu} +\newcommand{\ActionStdOk}{\ButtonPlay} + +%Button actions, wps context +\newcommand{\ActionWpsPlay}{\ButtonPlay} +\newcommand{\ActionWpsSkipNext}{\ButtonRight} +\newcommand{\ActionWpsSkipPrev}{\ButtonLeft} +\newcommand{\ActionWpsSeekBack}{Long \ButtonLeft} +\newcommand{\ActionWpsSeekFwd}{Long \ButtonRight} + +\newcommand{\ActionWpsStop}{\ButtonStop} +\newcommand{\ActionWpsVolDown}{\ButtonMenu{} + \ButtonLeft} +\newcommand{\ActionWpsVolUp}{\ButtonMenu{} + \ButtonRight} + +\newcommand{\ActionWpsMenu}{\ButtonMenu} +\newcommand{\ActionWpsContext}{Long \ButtonPlay} +\newcommand{\ActionWpsBrowse}{\ButtonOn} +\newcommand{\ActionWpsIdThreeScreen}{\ButtonMenu{} + \ButtonOn} + +%Button actions, tree context +\newcommand{\ActionTreeWps}{\ButtonOn} +\newcommand{\ActionTreeEnter}{\ButtonPlay} +\newcommand{\ActionTreeParentDirectory}{\ButtonStop} + +%Button actions, YesNo context +\newcommand{\ActionYesNoAccept}{\ButtonPlay} + +%Button actions, Setting context +\newcommand{\ActionSettingInc}{\ButtonRight} +\newcommand{\ActionSettingDec}{\ButtonLeft} -- cgit v1.2.3