summaryrefslogtreecommitdiffstats
path: root/manual/platform/ipodvideo.tex
diff options
context:
space:
mode:
authorMarianne Arnold <pixelma@rockbox.org>2008-11-29 11:04:02 +0000
committerMarianne Arnold <pixelma@rockbox.org>2008-11-29 11:04:02 +0000
commite090bea1fac8f9f0d243d3c5e974b3f30b8cfff3 (patch)
tree5ae43bdeaa8e0270a3ce04f78fe731fbefcaca68 /manual/platform/ipodvideo.tex
parente8f22ac6fd33ff782fc44618613797b22479ea81 (diff)
downloadrockbox-e090bea1fac8f9f0d243d3c5e974b3f30b8cfff3.tar.gz
rockbox-e090bea1fac8f9f0d243d3c5e974b3f30b8cfff3.zip
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
Diffstat (limited to 'manual/platform/ipodvideo.tex')
-rw-r--r--manual/platform/ipodvideo.tex90
1 files changed, 2 insertions, 88 deletions
diff --git a/manual/platform/ipodvideo.tex b/manual/platform/ipodvideo.tex
index fed9a38902..843a3ddde9 100644
--- a/manual/platform/ipodvideo.tex
+++ b/manual/platform/ipodvideo.tex
@@ -20,91 +20,5 @@
\newcommand{\screenshotsize}{8cm}
\newcommand{\disk}{hard disk}
-\newcommand{\ButtonLeft}{\btnfnt{Prev}}
-\newcommand{\ButtonRight}{\btnfnt{Next}}
-\newcommand{\ButtonMenu}{\btnfnt{Menu}}
-\newcommand{\ButtonPlay}{\btnfnt{Play}}
-\newcommand{\ButtonSelect}{\btnfnt{Select}}
-\newcommand{\ButtonScrollFwd}{\btnfnt{Scroll Forward}}
-\newcommand{\ButtonScrollBack}{\btnfnt{Scroll Backward}}
-\newcommand{\ButtonHold}{\btnfnt{Hold}}
-
-%Button actions, standard context
-\newcommand{\ActionStdPrev}{\ButtonScrollBack}
-\newcommand{\ActionStdPrevRepeat}{Long \ButtonScrollBack}
-\newcommand{\ActionStdNext}{\ButtonScrollFwd}
-\newcommand{\ActionStdNextRepeat}{Long \ButtonScrollFwd}
-\newcommand{\ActionStdCancel}{\ButtonLeft{} or Long \ButtonPlay}
-\newcommand{\ActionStdContext}{Long \ButtonSelect}
-\newcommand{\ActionStdQuickScreen}{Long \ButtonMenu}
-\newcommand{\ActionQuickScreenExit}{\ButtonMenu}
-\newcommand{\ActionStdMenu}{\ButtonMenu}
-\newcommand{\ActionStdOk}{\ButtonSelect{} or \ButtonRight}
-\newcommand{\ActionStdUsbCharge}{\ButtonMenu}
-
-%Button actions, wps context
-\newcommand{\ActionWpsPlay}{\ButtonPlay}
-\newcommand{\ActionWpsSkipNext}{\ButtonRight}
-\newcommand{\ActionWpsSkipPrev}{\ButtonLeft}
-\newcommand{\ActionWpsSeekBack}{Long \ButtonLeft}
-\newcommand{\ActionWpsSeekFwd}{Long \ButtonRight}
-
-\newcommand{\ActionWpsStop}{Long \ButtonPlay}
-\newcommand{\ActionWpsVolDown}{\ButtonScrollBack}
-\newcommand{\ActionWpsVolUp}{\ButtonScrollFwd}
-
-\newcommand{\ActionWpsQuickScreen}{Long \ButtonMenu}
-\newcommand{\ActionWpsMenu}{\ButtonMenu}
-\newcommand{\ActionWpsContext}{Long \ButtonSelect}
-\newcommand{\ActionWpsBrowse}{\ButtonSelect}
-
-%Button actions, tree context
-\newcommand{\ActionTreeWps}{\ButtonPlay}
-\newcommand{\ActionTreeStop}{Long \ButtonPlay}
-\newcommand{\ActionTreeEnter}{\ButtonSelect{} or \ButtonRight}
-\newcommand{\ActionTreeParentDirectory}{\ButtonLeft}
-
-%Button actions, YesNo context
-\newcommand{\ActionYesNoAccept}{\ButtonPlay}
-
-%Button actions, Setting context
-\newcommand{\ActionSettingInc}{\ButtonScrollFwd}
-\newcommand{\ActionSettingDec}{\ButtonScrollBack}
-
-%Button actions, Alarm screen
-\newcommand{\ActionAlarmSet}{\ButtonSelect}
-\newcommand{\ActionAlarmCancel}{\ButtonMenu}
-\newcommand{\ActionAlarmHoursInc}{\ButtonRight}
-\newcommand{\ActionAlarmHoursDec}{\ButtonLeft}
-
-%Button actions, Virtual Keyboard Context
-\newcommand{\ActionKbdLeft}{\ButtonLeft}
-\newcommand{\ActionKbdRight}{\ButtonRight}
-\newcommand{\ActionKbdSelect}{\ButtonSelect}
-\newcommand{\ActionKbdDone}{\ButtonPlay}
-\newcommand{\ActionKbdAbort}{\ButtonMenu}
-\newcommand{\ActionKbdUp}{\ButtonScrollBack}
-\newcommand{\ActionKbdDown}{\ButtonScrollFwd}
-\newcommand{\ActionKbdMorseInput}{Long \ButtonMenu}
-\newcommand{\ActionKbdMorseSelect}{\ButtonSelect}
-
-%Button actions, Pitch Screen context
-\newcommand{\ActionPsToggleMode}{\ButtonPlay}
-\newcommand{\ActionPsIncSmall}{\ButtonScrollFwd}
-\newcommand{\ActionPsIncBig}{Long \ButtonScrollFwd}
-\newcommand{\ActionPsDecSmall}{\ButtonScrollBack}
-\newcommand{\ActionPsDecBig}{Long \ButtonScrollBack}
-\newcommand{\ActionPsNudgeLeft}{\ButtonLeft}
-\newcommand{\ActionPsNudgeRight}{\ButtonRight}
-\newcommand{\ActionPsReset}{\ButtonMenu}
-\newcommand{\ActionPsExit}{\ButtonSelect}
-
-%Button actions, Recording screen context
-\newcommand{\ActionRecPause}{\ButtonPlay}
-\newcommand{\ActionRecExit}{\ButtonMenu}
-\newcommand{\ActionRecMenu}{Long \ButtonSelect}
-\newcommand{\ActionRecNewfile}{Long \ButtonPlay}
-\newcommand{\ActionRecSettingsInc}{\ButtonRight}
-\newcommand{\ActionRecSettingsDec}{\ButtonLeft}
-\newcommand{\ActionRecPrev}{\ButtonScrollBack}
-\newcommand{\ActionRecNext}{\ButtonScrollFwd}
+% link external keymap file
+\input{platform/keymap-ipod4g.tex}