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/keymap-ondio.tex | 83 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 manual/platform/keymap-ondio.tex (limited to 'manual/platform/keymap-ondio.tex') diff --git a/manual/platform/keymap-ondio.tex b/manual/platform/keymap-ondio.tex new file mode 100644 index 0000000000..d2114ec6d4 --- /dev/null +++ b/manual/platform/keymap-ondio.tex @@ -0,0 +1,83 @@ +% $Id$ + +\newcommand{\ButtonLeft}{\btnfnt{Left}} +\newcommand{\ButtonRight}{\btnfnt{Right}} +\newcommand{\ButtonOff}{\btnfnt{On/Off}} +\newcommand{\ButtonUp}{\btnfnt{Up}} +\newcommand{\ButtonDown}{\btnfnt{Down}} +\newcommand{\ButtonMenu}{\btnfnt{Mode}} + +%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 \ButtonRight} +\newcommand{\ActionStdMenu}{Long \ButtonMenu} +\newcommand{\ActionStdOk}{\ButtonRight} +\newcommand{\ActionStdUsbCharge}{\ButtonMenu} + +%Button actions, wps context +\newcommand{\ActionWpsPlay}{\ButtonOff} +\newcommand{\ActionWpsSkipNext}{\ButtonRight} +\newcommand{\ActionWpsSkipPrev}{\ButtonLeft} +\newcommand{\ActionWpsSeekBack}{Long \ButtonLeft} +\newcommand{\ActionWpsSeekFwd}{Long \ButtonRight} +\newcommand{\ActionWpsStop}{Long \ButtonOff} +\newcommand{\ActionWpsVolDown}{\ButtonDown} +\newcommand{\ActionWpsVolUp}{\ButtonUp} +\newcommand{\ActionWpsContext}{Long \ButtonMenu} +\newcommand{\ActionWpsBrowse}{\ButtonMenu} + +%Button actions, tree context +\newcommand{\ActionTreeWps}{\ButtonMenu} +\newcommand{\ActionTreeStop}{\ButtonOff} +\newcommand{\ActionTreeEnter}{\ButtonRight} +\newcommand{\ActionTreeParentDirectory}{\ButtonLeft} + +%Button actions, YesNo context +\newcommand{\ActionYesNoAccept}{\ButtonRight} + +%Button actions, Setting context +\newcommand{\ActionSettingInc}{\ButtonUp} +\newcommand{\ActionSettingDec}{\ButtonDown} + +%Button actions, Virtual Keyboard Context +\newcommand{\ActionKbdLeft}{\ButtonLeft} +\newcommand{\ActionKbdRight}{\ButtonRight} +\newcommand{\ActionKbdSelect}{\ButtonMenu} +\newcommand{\ActionKbdDone}{Long \ButtonMenu} +\newcommand{\ActionKbdAbort}{\ButtonOff} +\newcommand{\ActionKbdUp}{\ButtonUp} +\newcommand{\ActionKbdDown}{\ButtonDown} + +%Button actions, Pitch Screen context +\newcommand{\ActionPsToggleMode}{Long \ButtonMenu} +\newcommand{\ActionPsIncSmall}{\ButtonUp} +\newcommand{\ActionPsIncBig}{Long \ButtonUp} +\newcommand{\ActionPsDecSmall}{\ButtonDown} +\newcommand{\ActionPsDecBig}{Long \ButtonDown} +\newcommand{\ActionPsNudgeLeft}{\ButtonLeft} +\newcommand{\ActionPsNudgeRight}{\ButtonRight} +\newcommand{\ActionPsReset}{\ButtonMenu} +\newcommand{\ActionPsExit}{\ButtonOff} + +%Button actions, Recording screen context +\newcommand{\ActionRecPause}{\ButtonMenu} +\newcommand{\ActionRecSettingsInc}{\ButtonRight} +\newcommand{\ActionRecSettingsDec}{\ButtonLeft} +\newcommand{\ActionRecPrev}{\ButtonUp} +\newcommand{\ActionRecNext}{\ButtonDown} +\newcommand{\ActionRecMenu}{Long \ButtonMenu} +\newcommand{\ActionRecExit}{\ButtonOff} + +%Button actions, FM radio context +\newcommand{\ActionFMMenu}{Long \ButtonMenu} +\newcommand{\ActionFMStop}{Long \ButtonOff} +\newcommand{\ActionFMExit}{\ButtonOff} +\newcommand{\ActionFMSettingsInc}{\ButtonUp} +\newcommand{\ActionFMSettingsDec}{\ButtonDown} +\newcommand{\ActionFMPrev}{\ButtonLeft} +\newcommand{\ActionFMNext}{\ButtonRight} + -- cgit v1.2.3