summaryrefslogtreecommitdiffstats
path: root/manual/platform/h1xx.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/h1xx.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/h1xx.tex')
-rw-r--r--manual/platform/h1xx.tex106
1 files changed, 2 insertions, 104 deletions
diff --git a/manual/platform/h1xx.tex b/manual/platform/h1xx.tex
index 96377c3c1d..2b87421f7e 100644
--- a/manual/platform/h1xx.tex
+++ b/manual/platform/h1xx.tex
@@ -21,107 +21,5 @@
\newcommand{\screenshotsize}{4cm}
\newcommand{\disk}{hard disk}
-\newcommand{\ButtonLeft}{\btnfnt{Left}}
-\newcommand{\ButtonRight}{\btnfnt{Right}}
-\newcommand{\ButtonUp}{\btnfnt{Up}}
-\newcommand{\ButtonDown}{\btnfnt{Down}}
-\newcommand{\ButtonSelect}{\btnfnt{Navi}}
-\newcommand{\ButtonMode}{\btnfnt{A-B}}
-\newcommand{\ButtonRec}{\btnfnt{Rec}}
-\newcommand{\ButtonOn}{\btnfnt{Play}}
-\newcommand{\ButtonOff}{\btnfnt{Stop}}
-\newcommand{\ButtonHold}{\btnfnt{Hold}}
-
-%Button actions, standard context
-\newcommand{\ActionStdPrev}{\ButtonUp}
-\newcommand{\ActionStdPrevRepeat}{Long \ButtonUp}
-\newcommand{\ActionStdNext}{\ButtonDown}
-\newcommand{\ActionStdNextRepeat}{Long \ButtonDown}
-\newcommand{\ActionStdCancel}{\ButtonLeft{} or \ButtonOff}
-\newcommand{\ActionStdContext}{Long \ButtonSelect}
-\newcommand{\ActionStdQuickScreen}{Long \ButtonMode}
-\newcommand{\ActionQuickScreenExit}{\ButtonMode}
-\newcommand{\ActionStdMenu}{\ButtonMode}
-\newcommand{\ActionStdOk}{\ButtonSelect{} or \ButtonRight}
-\newcommand{\ActionStdRec}{Long \ButtonRec}
-
-%Button actions, wps context
-\newcommand{\ActionWpsPlay}{\ButtonOn}
-\newcommand{\ActionWpsSkipNext}{\ButtonRight}
-\newcommand{\ActionWpsSkipPrev}{\ButtonLeft}
-\newcommand{\ActionWpsSeekBack}{Long \ButtonLeft}
-\newcommand{\ActionWpsSeekFwd}{Long \ButtonRight}
-\newcommand{\ActionWpsAbSetBNextDir}{\ButtonOn{} + \ButtonRight}
-\newcommand{\ActionWpsAbSetAPrevDir}{\ButtonOn{} + \ButtonLeft}
-\newcommand{\ActionWpsStop}{\ButtonOff}
-\newcommand{\ActionWpsVolDown}{\ButtonDown}
-\newcommand{\ActionWpsVolUp}{\ButtonUp}
-\newcommand{\ActionWpsPitchScreen}{\ButtonOn{} + \ButtonUp/\ButtonDown}
-\newcommand{\ActionWpsQuickScreen}{Long \ButtonMode}
-\newcommand{\ActionWpsMenu}{\ButtonMode}
-\newcommand{\ActionWpsContext}{Long \ButtonSelect}
-\newcommand{\ActionWpsBrowse}{\ButtonSelect}
-\newcommand{\ActionWpsAbReset}{\ButtonOn{} + \ButtonSelect}
-\newcommand{\ActionWpsIdThreeScreen}{\ButtonOn{} + \ButtonMode}
-
-%Button actions, tree context
-\newcommand{\ActionTreeWps}{\ButtonOn}
-\newcommand{\ActionTreeStop}{\ButtonOff}
-\newcommand{\ActionTreeEnter}{\ButtonSelect{} or \ButtonRight}
-\newcommand{\ActionTreeParentDirectory}{\ButtonLeft}
-
-%Button actions, YesNo context
-\newcommand{\ActionYesNoAccept}{\ButtonSelect}
-
-%Button actions, Setting context
-\newcommand{\ActionSettingInc}{\ButtonUp}
-\newcommand{\ActionSettingDec}{\ButtonDown}
-
-%Button actions, Virtual Keyboard Context
-\newcommand{\ActionKbdLeft}{\ButtonLeft}
-\newcommand{\ActionKbdRight}{\ButtonRight}
-\newcommand{\ActionKbdSelect}{\ButtonSelect}
-\newcommand{\ActionKbdCursorLeft}{\ButtonOn{} + \ButtonLeft}
-\newcommand{\ActionKbdCursorRight}{\ButtonOn{} + \ButtonRight}
-\newcommand{\ActionKbdPageFlip}{\ButtonMode}
-\newcommand{\ActionKbdDone}{\ButtonOn}
-\newcommand{\ActionKbdAbort}{\ButtonOff}
-\newcommand{\ActionKbdBackSpace}{\ButtonRec}
-\newcommand{\ActionKbdMorseInput}{\ButtonOn{} + \ButtonMode}
-\newcommand{\ActionKbdMorseSelect}{\ButtonSelect}
-\newcommand{\ActionKbdUp}{\ButtonUp}
-\newcommand{\ActionKbdDown}{\ButtonDown}
-
-%Button actions, Pitch Screen context
-\newcommand{\ActionPsToggleMode}{\ButtonMode}
-\newcommand{\ActionPsIncSmall}{\ButtonUp}
-\newcommand{\ActionPsIncBig}{Long \ButtonUp}
-\newcommand{\ActionPsDecSmall}{\ButtonDown}
-\newcommand{\ActionPsDecBig}{Long \ButtonDown}
-\newcommand{\ActionPsNudgeLeft}{\ButtonLeft}
-\newcommand{\ActionPsNudgeRight}{\ButtonRight}
-\newcommand{\ActionPsReset}{\ButtonSelect}
-\newcommand{\ActionPsExit}{\ButtonOn{} or \ButtonOff}
-
-%Button actions, Recording screen context
-\newcommand{\ActionRecPause}{\ButtonOn}
-\newcommand{\ActionRecNewfile}{\ButtonRec}
-\newcommand{\ActionRecSettingsInc}{\ButtonRight}
-\newcommand{\ActionRecSettingsDec}{\ButtonLeft}
-\newcommand{\ActionRecPrev}{\ButtonUp}
-\newcommand{\ActionRecNext}{\ButtonDown}
-\newcommand{\ActionRecMenu}{\ButtonMode}
-\newcommand{\ActionRecExit}{\ButtonOff}
-
-%Button actions, FM radio context
-\newcommand{\ActionFMPreset}{\ButtonSelect}
-\newcommand{\ActionFMMenu}{Long \ButtonSelect}
-\newcommand{\ActionFMMode}{Long \ButtonOn}
-\newcommand{\ActionFMStop}{\ButtonOff}
-\newcommand{\ActionFMExit}{\ButtonMode}
-\newcommand{\ActionFMPlay}{\ButtonOn}
-\newcommand{\ActionFMSettingsInc}{\ActionSettingInc}
-\newcommand{\ActionFMSettingsDec}{\ActionSettingDec}
-\newcommand{\ActionFMPrev}{\ButtonLeft}
-\newcommand{\ActionFMNext}{\ButtonRight}
-
+% link external keymap file
+\input{platform/keymap-h1xx.tex}