summaryrefslogtreecommitdiffstats
path: root/manual/platform/c200.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/c200.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/c200.tex')
-rw-r--r--manual/platform/c200.tex110
1 files changed, 2 insertions, 108 deletions
diff --git a/manual/platform/c200.tex b/manual/platform/c200.tex
index e6d8cd1498..4028a18e99 100644
--- a/manual/platform/c200.tex
+++ b/manual/platform/c200.tex
@@ -20,111 +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{\ButtonVolUp}{\btnfnt{Volume Up}}
-\newcommand{\ButtonVolDown}{\btnfnt{Volume Down}}
-\newcommand{\ButtonHold}{\btnfnt{Hold}}
-
-%Button actions, standard context
-\newcommand{\ActionStdPrev}{\ButtonDown}
-\newcommand{\ActionStdPrevRepeat}{Long \ButtonDown}
-\newcommand{\ActionStdNext}{\ButtonUp}
-\newcommand{\ActionStdNextRepeat}{Long \ButtonUp}
-\newcommand{\ActionStdCancel}{\ButtonLeft}
-\newcommand{\ActionStdContext}{Long \ButtonSelect}
-\newcommand{\ActionStdQuickScreen}{Long \ButtonDown}
-\newcommand{\ActionQuickScreenExit}{\ButtonPower}
-\newcommand{\ActionStdMenu}{\ButtonPower}
-\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}{Long \ButtonUp}
-\newcommand{\ActionWpsVolDown}{\ButtonVolDown}
-\newcommand{\ActionWpsVolUp}{\ButtonVolUp}
-
-\newcommand{\ActionWpsQuickScreen}{Long \ButtonDown}
-\newcommand{\ActionWpsMenu}{\ButtonPower}
-\newcommand{\ActionWpsContext}{\ButtonDown}
-\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}{\ButtonRec{} + \ButtonUp}
-\newcommand{\ActionTreeStop}{Long \ButtonUp}
-\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{\ActionKbdDone}{\ButtonVolUp{}/ \ButtonVolDown}
-\newcommand{\ActionKbdAbort}{\ButtonPower}
-\newcommand{\ActionKbdUp}{\ButtonUp}
-\newcommand{\ActionKbdDown}{\ButtonDown}
-\newcommand{\ActionKbdCursorLeft}{\ButtonRec{} + \ButtonLeft}
-\newcommand{\ActionKbdCursorRight}{\ButtonRec{} + \ButtonRight}
-\newcommand{\ActionKbdBackSpace}{\ButtonRec{} + \ButtonSelect}
-\newcommand{\ActionKbdPageFlip}{\ButtonRec{} + \ButtonVolUp}
-
-%Button actions, Pitch Screen context
-\newcommand{\ActionPsToggleMode}{\ButtonRec}
-\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}{\ButtonPower}
-
-%Button actions, Recording screen context
-\newcommand{\ActionRecPause}{\ButtonUp}
-\newcommand{\ActionRecExit}{Long \ButtonPower}
-\newcommand{\ActionRecNewfile}{\ButtonRec}
-\newcommand{\ActionRecMenu}{Long \ButtonDown}
-\newcommand{\ActionRecSettingsInc}{\ButtonRight}
-\newcommand{\ActionRecSettingsDec}{\ButtonLeft}
-\newcommand{\ActionRecPrev}{\ButtonDown}
-\newcommand{\ActionRecNext}{\ButtonUp}
-
-\newcommand{\ActionQuickscreenExit}{\ButtonPower}
-
-%Button actions, FM radio context
-\newcommand{\ActionFMPreset}{\ButtonSelect}
-\newcommand{\ActionFMMenu}{\ButtonDown}
-\newcommand{\ActionFMMode}{\ButtonRec}
-\newcommand{\ActionFMStop}{Long \ButtonUp}
-\newcommand{\ActionFMExit}{\ButtonPower}
-\newcommand{\ActionFMPlay}{\ButtonUp}
-\newcommand{\ActionFMSettingsInc}{\ButtonVolUp}
-\newcommand{\ActionFMSettingsDec}{\ButtonVolDown}
-\newcommand{\ActionFMPrev}{\ButtonLeft}
-\newcommand{\ActionFMNext}{\ButtonRight}
-
+% link external keymap file
+\input{platform/keymap-c200.tex}