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/player.tex | 46 ++-------------------------------------------- 1 file changed, 2 insertions(+), 44 deletions(-) (limited to 'manual/platform/player.tex') diff --git a/manual/platform/player.tex b/manual/platform/player.tex index fcae03e8fc..8222c4442a 100644 --- a/manual/platform/player.tex +++ b/manual/platform/player.tex @@ -21,47 +21,5 @@ \newcommand{\screenshotsize}{4cm} \newcommand{\disk}{hard disk} -\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} +% link external keymap file +\input{platform/keymap-player.tex} -- cgit v1.2.3