summaryrefslogtreecommitdiffstats
path: root/manual/platform/e200.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/e200.tex
parente8f22ac6fd33ff782fc44618613797b22479ea81 (diff)
downloadrockbox-e090bea1fac8f9f0d243d3c5e974b3f30b8cfff3.tar.gz
rockbox-e090bea1fac8f9f0d243d3c5e974b3f30b8cfff3.tar.bz2
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/e200.tex')
-rw-r--r--manual/platform/e200.tex108
1 files changed, 2 insertions, 106 deletions
diff --git a/manual/platform/e200.tex b/manual/platform/e200.tex
index 4320cdc631..21f9053bf3 100644
--- a/manual/platform/e200.tex
+++ b/manual/platform/e200.tex
@@ -20,109 +20,5 @@
\newcommand{\screenshotsize}{4cm}
\newcommand{\disk}{flash storage}
-\newcommand{\ButtonLeft}{\btnfnt{Left}}
-\newcommand{\ButtonRight}{\btnfnt{Right}}
-\newcommand{\ButtonRec}{\btnfnt{Rec}}
-\newcommand{\ButtonUp}{\btnfnt{Play}}
-\newcommand{\ButtonDown}{\btnfnt{Submenu}}
-\newcommand{\ButtonSelect}{\btnfnt{Select}}
-\newcommand{\ButtonPower}{\btnfnt{Power}}
-\newcommand{\ButtonScrollBack}{\btnfnt{Scroll Backward}}
-\newcommand{\ButtonScrollFwd}{\btnfnt{Scroll Forward}}
-\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}
-\newcommand{\ActionStdContext}{Long \ButtonSelect}
-\newcommand{\ActionStdQuickScreen}{Long \ButtonDown}
-\newcommand{\ActionQuickScreenExit}{\ButtonPower}
-\newcommand{\ActionStdMenu}{\ButtonDown}
-\newcommand{\ActionStdOk}{\ButtonSelect{} or \ButtonRight}
-\newcommand{\ActionStdRec}{Long \ButtonRec}
-\newcommand{\ActionStdUsbCharge}{\ButtonSelect}
-
-%Button actions, wps context
-\newcommand{\ActionWpsPlay}{\ButtonUp}
-\newcommand{\ActionWpsSkipNext}{\ButtonRight}
-\newcommand{\ActionWpsSkipPrev}{\ButtonLeft}
-\newcommand{\ActionWpsSeekBack}{Long \ButtonLeft}
-\newcommand{\ActionWpsSeekFwd}{Long \ButtonRight}
-
-\newcommand{\ActionWpsStop}{\ButtonPower}
-\newcommand{\ActionWpsVolDown}{\ButtonScrollFwd}
-\newcommand{\ActionWpsVolUp}{\ButtonScrollBack}
-
-\newcommand{\ActionWpsQuickScreen}{Long \ButtonDown}
-\newcommand{\ActionWpsMenu}{\ButtonDown}
-\newcommand{\ActionWpsContext}{Long \ButtonSelect}
-\newcommand{\ActionWpsBrowse}{\ButtonSelect}
-\newcommand{\ActionWpsPitchScreen}{\ButtonSelect{} + \ButtonUp}
-\newcommand{\ActionWpsIdThreeScreen}{\ButtonSelect{} + \ButtonDown}
-
-\newcommand{\ActionWpsAbSetBNextDir}{\ButtonPower{} + \ButtonRight}
-\newcommand{\ActionWpsAbSetAPrevDir}{\ButtonPower{} + \ButtonLeft}
-\newcommand{\ActionWpsAbReset}{\ButtonPower{} + \ButtonUp}
-
-%Button actions, tree context
-\newcommand{\ActionTreeWps}{\ButtonUp}
-\newcommand{\ActionTreeStop}{\ButtonPower}
-\newcommand{\ActionTreeEnter}{\ButtonSelect{} or \ButtonRight}
-\newcommand{\ActionTreeParentDirectory}{\ButtonLeft}
-
-%Button actions, YesNo context
-\newcommand{\ActionYesNoAccept}{\ButtonSelect}
-
-%Button actions, Setting context
-\newcommand{\ActionSettingInc}{\ButtonScrollBack}
-\newcommand{\ActionSettingDec}{\ButtonScrollFwd}
-
-%Button actions, Virtual Keyboard Context
-\newcommand{\ActionKbdLeft}{\ButtonLeft}
-\newcommand{\ActionKbdRight}{\ButtonRight}
-\newcommand{\ActionKbdSelect}{\ButtonSelect}
-\newcommand{\ActionKbdDone}{\ButtonUp}
-\newcommand{\ActionKbdAbort}{\ButtonPower}
-\newcommand{\ActionKbdUp}{\ButtonScrollBack}
-\newcommand{\ActionKbdDown}{\ButtonScrollFwd}
-\newcommand{\ActionKbdCursorLeft}{\ButtonRec{} + \ButtonLeft}
-\newcommand{\ActionKbdCursorRight}{\ButtonRec{} + \ButtonRight}
-\newcommand{\ActionKbdBackSpace}{\ButtonDown}
-\newcommand{\ActionKbdPageFlip}{\ButtonRec{} + \ButtonSelect}
-
-%Button actions, Pitch Screen context
-\newcommand{\ActionPsToggleMode}{\ButtonRec}
-\newcommand{\ActionPsIncSmall}{\ButtonScrollBack}
-\newcommand{\ActionPsIncBig}{Long \ButtonScrollBack}
-\newcommand{\ActionPsDecSmall}{\ButtonScrollFwd}
-\newcommand{\ActionPsDecBig}{Long \ButtonScrollFwd}
-\newcommand{\ActionPsNudgeLeft}{\ButtonLeft}
-\newcommand{\ActionPsNudgeRight}{\ButtonRight}
-\newcommand{\ActionPsReset}{\ButtonSelect}
-\newcommand{\ActionPsExit}{\ButtonPower{} or \ButtonUp}
-
-%Button actions, Recording screen context
-\newcommand{\ActionRecPause}{\ButtonUp}
-\newcommand{\ActionRecExit}{\ButtonPower}
-\newcommand{\ActionRecNewfile}{\ButtonRec}
-\newcommand{\ActionRecMenu}{Long \ButtonSelect}
-\newcommand{\ActionRecSettingsInc}{\ButtonRight}
-\newcommand{\ActionRecSettingsDec}{\ButtonLeft}
-\newcommand{\ActionRecPrev}{\ButtonScrollBack}
-\newcommand{\ActionRecNext}{\ButtonScrollFwd}
-
-%Button actions, FM radio context
-\newcommand{\ActionFMPreset}{\ButtonSelect}
-\newcommand{\ActionFMMenu}{Long \ButtonSelect}
-\newcommand{\ActionFMMode}{Long \ButtonUp}
-\newcommand{\ActionFMStop}{\ButtonPower}
-\newcommand{\ActionFMExit}{\ButtonDown}
-\newcommand{\ActionFMPlay}{\ButtonUp}
-\newcommand{\ActionFMSettingsInc}{\ButtonUp}
-\newcommand{\ActionFMSettingsDec}{\ButtonDown}
-\newcommand{\ActionFMPrev}{\ActionRecSettingsInc}
-\newcommand{\ActionFMNext}{\ActionRecSettingsDec}
-
+% link external keymap file
+\input{platform/keymap-e200.tex}