summaryrefslogtreecommitdiff
path: root/manual/platform/ondiofm.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/ondiofm.tex
parente8f22ac6fd33ff782fc44618613797b22479ea81 (diff)
downloadrockbox-e090bea1fac8f9f0d243d3c5e974b3f30b8cfff3.tar.gz
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/ondiofm.tex')
-rw-r--r--manual/platform/ondiofm.tex83
1 files changed, 2 insertions, 81 deletions
diff --git a/manual/platform/ondiofm.tex b/manual/platform/ondiofm.tex
index 7980213bb3..d0affafa84 100644
--- a/manual/platform/ondiofm.tex
+++ b/manual/platform/ondiofm.tex
@@ -20,84 +20,5 @@
20\newcommand{\screenshotsize}{4cm} 20\newcommand{\screenshotsize}{4cm}
21\newcommand{\disk}{flash storage} 21\newcommand{\disk}{flash storage}
22 22
23\newcommand{\ButtonLeft}{\btnfnt{Left}} 23% link external keymap file
24\newcommand{\ButtonRight}{\btnfnt{Right}} 24\input{platform/keymap-ondio.tex}
25\newcommand{\ButtonOff}{\btnfnt{On/Off}}
26\newcommand{\ButtonUp}{\btnfnt{Up}}
27\newcommand{\ButtonDown}{\btnfnt{Down}}
28\newcommand{\ButtonMenu}{\btnfnt{Mode}}
29
30%Button actions, standard context
31\newcommand{\ActionStdPrev}{\ButtonUp}
32\newcommand{\ActionStdPrevRepeat}{Long \ButtonUp}
33\newcommand{\ActionStdNext}{\ButtonDown}
34\newcommand{\ActionStdNextRepeat}{Long \ButtonDown}
35\newcommand{\ActionStdCancel}{\ButtonLeft{} or \ButtonOff}
36\newcommand{\ActionStdContext}{Long \ButtonRight}
37\newcommand{\ActionStdMenu}{Long \ButtonMenu}
38\newcommand{\ActionStdOk}{\ButtonRight}
39\newcommand{\ActionStdUsbCharge}{\ButtonMenu}
40
41%Button actions, wps context
42\newcommand{\ActionWpsPlay}{\ButtonOff}
43\newcommand{\ActionWpsSkipNext}{\ButtonRight}
44\newcommand{\ActionWpsSkipPrev}{\ButtonLeft}
45\newcommand{\ActionWpsSeekBack}{Long \ButtonLeft}
46\newcommand{\ActionWpsSeekFwd}{Long \ButtonRight}
47\newcommand{\ActionWpsStop}{Long \ButtonOff}
48\newcommand{\ActionWpsVolDown}{\ButtonDown}
49\newcommand{\ActionWpsVolUp}{\ButtonUp}
50\newcommand{\ActionWpsContext}{Long \ButtonMenu}
51\newcommand{\ActionWpsBrowse}{\ButtonMenu}
52
53%Button actions, tree context
54\newcommand{\ActionTreeWps}{\ButtonMenu}
55\newcommand{\ActionTreeStop}{\ButtonOff}
56\newcommand{\ActionTreeEnter}{\ButtonRight}
57\newcommand{\ActionTreeParentDirectory}{\ButtonLeft}
58
59%Button actions, YesNo context
60\newcommand{\ActionYesNoAccept}{\ButtonRight}
61
62%Button actions, Setting context
63\newcommand{\ActionSettingInc}{\ButtonUp}
64\newcommand{\ActionSettingDec}{\ButtonDown}
65
66%Button actions, Virtual Keyboard Context
67\newcommand{\ActionKbdLeft}{\ButtonLeft}
68\newcommand{\ActionKbdRight}{\ButtonRight}
69\newcommand{\ActionKbdSelect}{\ButtonMenu}
70\newcommand{\ActionKbdDone}{Long \ButtonMenu}
71\newcommand{\ActionKbdAbort}{\ButtonOff}
72\newcommand{\ActionKbdUp}{\ButtonUp}
73\newcommand{\ActionKbdDown}{\ButtonDown}
74
75%Button actions, Pitch Screen context
76\newcommand{\ActionPsToggleMode}{Long \ButtonMenu}
77\newcommand{\ActionPsIncSmall}{\ButtonUp}
78\newcommand{\ActionPsIncBig}{Long \ButtonUp}
79\newcommand{\ActionPsDecSmall}{\ButtonDown}
80\newcommand{\ActionPsDecBig}{Long \ButtonDown}
81\newcommand{\ActionPsNudgeLeft}{\ButtonLeft}
82\newcommand{\ActionPsNudgeRight}{\ButtonRight}
83\newcommand{\ActionPsReset}{\ButtonMenu}
84\newcommand{\ActionPsExit}{\ButtonOff}
85
86%Button actions, Recording screen context
87\newcommand{\ActionRecPause}{\ButtonMenu}
88\newcommand{\ActionRecSettingsInc}{\ButtonRight}
89\newcommand{\ActionRecSettingsDec}{\ButtonLeft}
90\newcommand{\ActionRecPrev}{\ButtonUp}
91\newcommand{\ActionRecNext}{\ButtonDown}
92\newcommand{\ActionRecMenu}{Long \ButtonMenu}
93\newcommand{\ActionRecExit}{\ButtonOff}
94
95%Button actions, FM radio context
96\newcommand{\ActionFMMenu}{Long \ButtonMenu}
97\newcommand{\ActionFMStop}{Long \ButtonOff}
98\newcommand{\ActionFMExit}{\ButtonOff}
99\newcommand{\ActionFMSettingsInc}{\ButtonUp}
100\newcommand{\ActionFMSettingsDec}{\ButtonDown}
101\newcommand{\ActionFMPrev}{\ButtonLeft}
102\newcommand{\ActionFMNext}{\ButtonRight}
103