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/h10_5gb.tex | 110 +------------------------------------------- 1 file changed, 2 insertions(+), 108 deletions(-) (limited to 'manual/platform/h10_5gb.tex') diff --git a/manual/platform/h10_5gb.tex b/manual/platform/h10_5gb.tex index c071721c0c..ffe63d85ea 100644 --- a/manual/platform/h10_5gb.tex +++ b/manual/platform/h10_5gb.tex @@ -20,111 +20,5 @@ \newcommand{\screenshotsize}{4cm} \newcommand{\disk}{hard disk} -\newcommand{\ButtonLeft}{\btnfnt{Cancel}} -\newcommand{\ButtonRight}{\btnfnt{Select}} -\newcommand{\ButtonRew}{\btnfnt{Prev}} -\newcommand{\ButtonPlay}{\btnfnt{Play}} -\newcommand{\ButtonFF}{\btnfnt{Next}} -\newcommand{\ButtonScrollUp}{\btnfnt{Scroll Up}} -\newcommand{\ButtonScrollDown}{\btnfnt{Scroll Down}} -\newcommand{\ButtonPower}{\btnfnt{Power}} -\newcommand{\ButtonHold}{\btnfnt{Hold}} - -%Button actions, standard context -\newcommand{\ActionStdPrev}{\ButtonScrollUp} -\newcommand{\ActionStdPrevRepeat}{Long \ButtonScrollUp} -\newcommand{\ActionStdNext}{\ButtonScrollDown} -\newcommand{\ActionStdNextRepeat}{Long \ButtonScrollDown} -\newcommand{\ActionStdCancel}{\ButtonLeft} -\newcommand{\ActionStdContext}{Long \ButtonRight} -\newcommand{\ActionStdQuickScreen}{Long \ButtonLeft} -\newcommand{\ActionQuickScreenExit}{\ButtonLeft} -\newcommand{\ActionStdMenu}{\ButtonPower} -\newcommand{\ActionStdOk}{\ButtonRight} -\newcommand{\ActionStdUsbCharge}{\ButtonRight} - -%Button actions, wps context -\newcommand{\ActionWpsPlay}{\ButtonPlay} -\newcommand{\ActionWpsSkipNext}{\ButtonFF} -\newcommand{\ActionWpsSkipPrev}{\ButtonRew} -\newcommand{\ActionWpsSeekBack}{Long \ButtonRew} -\newcommand{\ActionWpsSeekFwd}{Long \ButtonFF} - -\newcommand{\ActionWpsStop}{Long \ButtonPlay} -\newcommand{\ActionWpsVolDown}{\ButtonScrollDown} -\newcommand{\ActionWpsVolUp}{\ButtonScrollUp} - -\newcommand{\ActionWpsQuickScreen}{Long \ButtonLeft} -\newcommand{\ActionWpsMenu}{\ButtonPower} -\newcommand{\ActionWpsContext}{Long \ButtonRight} -\newcommand{\ActionWpsBrowse}{\ButtonLeft} -\newcommand{\ActionWpsPitchScreen}{\ButtonPlay+\ButtonLeft} -\newcommand{\ActionWpsIdThreeScreen}{\ButtonPlay+\ButtonRight} - -\newcommand{\ActionWpsAbSetBNextDir}{\ButtonPower{} + \ButtonFF} -\newcommand{\ActionWpsAbSetAPrevDir}{\ButtonPower{} + \ButtonRew} -\newcommand{\ActionWpsAbReset}{\ButtonPower{} + \ButtonPlay} - -%Button actions, tree context -\newcommand{\ActionTreeWps}{\ButtonPlay} -\newcommand{\ActionTreeStop}{Long \ButtonPlay} -\newcommand{\ActionTreeEnter}{\ButtonRight} -\newcommand{\ActionTreeParentDirectory}{\ButtonLeft} - -%Button actions, YesNo context -\newcommand{\ActionYesNoAccept}{\ButtonRight} - -%Button actions, Setting context -\newcommand{\ActionSettingInc}{\ButtonScrollUp} -\newcommand{\ActionSettingDec}{\ButtonScrollDown} - -%Button actions, Alarm screen -\newcommand{\ActionAlarmSet}{\ActionStdOk} -\newcommand{\ActionAlarmCancel}{\ActionStdCancel} -\newcommand{\ActionAlarmHoursInc}{\ButtonRew} -\newcommand{\ActionAlarmHoursDec}{\ButtonFF} - -%Button actions, Virtual Keyboard Context -\newcommand{\ActionKbdLeft}{\ButtonLeft} -\newcommand{\ActionKbdRight}{\ButtonRight} -\newcommand{\ActionKbdSelect}{\ButtonRew} -\newcommand{\ActionKbdDone}{\ButtonPlay} -\newcommand{\ActionKbdAbort}{\ButtonFF} -\newcommand{\ActionKbdUp}{\ButtonScrollUp} -\newcommand{\ActionKbdDown}{\ButtonScrollDown} -\newcommand{\ActionKbdMorseInput}{\ButtonPlay+\ButtonRew} -\newcommand{\ActionKbdMorseSelect}{\ButtonRew} - -%Button actions, Pitch Screen context -\newcommand{\ActionPsToggleMode}{\ButtonPower} -\newcommand{\ActionPsIncSmall}{\ButtonScrollUp} -\newcommand{\ActionPsIncBig}{Long \ButtonScrollUp} -\newcommand{\ActionPsDecSmall}{\ButtonScrollDown} -\newcommand{\ActionPsDecBig}{Long \ButtonScrollDown} -\newcommand{\ActionPsNudgeLeft}{\ButtonRew} -\newcommand{\ActionPsNudgeRight}{\ButtonFF} -\newcommand{\ActionPsReset}{\ButtonPlay} -\newcommand{\ActionPsExit}{\ButtonLeft} - -%Button actions, FM radio context -\newcommand{\ActionFMPreset}{\ButtonRight} -\newcommand{\ActionFMMenu}{Long \ButtonRight} -\newcommand{\ActionFMMode}{\ButtonLeft} -\newcommand{\ActionFMStop}{Long \ButtonPlay} -\newcommand{\ActionFMExit}{\ButtonPower} -\newcommand{\ActionFMPlay}{\ButtonPlay} -\newcommand{\ActionFMSettingsInc}{\ButtonScrollUp} -\newcommand{\ActionFMSettingsDec}{\ButtonScrollDown} -\newcommand{\ActionFMPrev}{\ButtonRew} -\newcommand{\ActionFMNext}{\ButtonFF} - -%Button actions, Recording screen context -\newcommand{\ActionRecPause}{\ButtonPlay} -\newcommand{\ActionRecNewfile}{\ButtonRight} -\newcommand{\ActionRecExit}{\ButtonLeft} -\newcommand{\ActionRecMenu}{\ButtonPower} -\newcommand{\ActionRecSettingsInc}{\ActionSettingInc} -\newcommand{\ActionRecSettingsDec}{\ActionSettingDec} -\newcommand{\ActionRecPrev}{\ButtonRew} -\newcommand{\ActionRecNext}{\ButtonFF} - +% link external keymap file +\input{platform/keymap-h10.tex} -- cgit v1.2.3