summaryrefslogtreecommitdiff
path: root/manual/platform/e200.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/e200.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/e200.tex')
-rw-r--r--manual/platform/e200.tex108
1 files changed, 2 insertions, 106 deletions
diff --git a/manual/platform/e200.tex b/manual/platform/e200.tex
index 4320cdc631..21f9053bf3 100644
--- a/manual/platform/e200.tex
+++ b/manual/platform/e200.tex
@@ -20,109 +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-e200.tex}
25\newcommand{\ButtonRec}{\btnfnt{Rec}}
26\newcommand{\ButtonUp}{\btnfnt{Play}}
27\newcommand{\ButtonDown}{\btnfnt{Submenu}}
28\newcommand{\ButtonSelect}{\btnfnt{Select}}
29\newcommand{\ButtonPower}{\btnfnt{Power}}
30\newcommand{\ButtonScrollBack}{\btnfnt{Scroll Backward}}
31\newcommand{\ButtonScrollFwd}{\btnfnt{Scroll Forward}}
32\newcommand{\ButtonHold}{\btnfnt{Hold}}
33
34%Button actions, standard context
35\newcommand{\ActionStdPrev}{\ButtonScrollBack}
36\newcommand{\ActionStdPrevRepeat}{Long \ButtonScrollBack}
37\newcommand{\ActionStdNext}{\ButtonScrollFwd}
38\newcommand{\ActionStdNextRepeat}{Long \ButtonScrollFwd}
39\newcommand{\ActionStdCancel}{\ButtonLeft}
40\newcommand{\ActionStdContext}{Long \ButtonSelect}
41\newcommand{\ActionStdQuickScreen}{Long \ButtonDown}
42\newcommand{\ActionQuickScreenExit}{\ButtonPower}
43\newcommand{\ActionStdMenu}{\ButtonDown}
44\newcommand{\ActionStdOk}{\ButtonSelect{} or \ButtonRight}
45\newcommand{\ActionStdRec}{Long \ButtonRec}
46\newcommand{\ActionStdUsbCharge}{\ButtonSelect}
47
48%Button actions, wps context
49\newcommand{\ActionWpsPlay}{\ButtonUp}
50\newcommand{\ActionWpsSkipNext}{\ButtonRight}
51\newcommand{\ActionWpsSkipPrev}{\ButtonLeft}
52\newcommand{\ActionWpsSeekBack}{Long \ButtonLeft}
53\newcommand{\ActionWpsSeekFwd}{Long \ButtonRight}
54
55\newcommand{\ActionWpsStop}{\ButtonPower}
56\newcommand{\ActionWpsVolDown}{\ButtonScrollFwd}
57\newcommand{\ActionWpsVolUp}{\ButtonScrollBack}
58
59\newcommand{\ActionWpsQuickScreen}{Long \ButtonDown}
60\newcommand{\ActionWpsMenu}{\ButtonDown}
61\newcommand{\ActionWpsContext}{Long \ButtonSelect}
62\newcommand{\ActionWpsBrowse}{\ButtonSelect}
63\newcommand{\ActionWpsPitchScreen}{\ButtonSelect{} + \ButtonUp}
64\newcommand{\ActionWpsIdThreeScreen}{\ButtonSelect{} + \ButtonDown}
65
66\newcommand{\ActionWpsAbSetBNextDir}{\ButtonPower{} + \ButtonRight}
67\newcommand{\ActionWpsAbSetAPrevDir}{\ButtonPower{} + \ButtonLeft}
68\newcommand{\ActionWpsAbReset}{\ButtonPower{} + \ButtonUp}
69
70%Button actions, tree context
71\newcommand{\ActionTreeWps}{\ButtonUp}
72\newcommand{\ActionTreeStop}{\ButtonPower}
73\newcommand{\ActionTreeEnter}{\ButtonSelect{} or \ButtonRight}
74\newcommand{\ActionTreeParentDirectory}{\ButtonLeft}
75
76%Button actions, YesNo context
77\newcommand{\ActionYesNoAccept}{\ButtonSelect}
78
79%Button actions, Setting context
80\newcommand{\ActionSettingInc}{\ButtonScrollBack}
81\newcommand{\ActionSettingDec}{\ButtonScrollFwd}
82
83%Button actions, Virtual Keyboard Context
84\newcommand{\ActionKbdLeft}{\ButtonLeft}
85\newcommand{\ActionKbdRight}{\ButtonRight}
86\newcommand{\ActionKbdSelect}{\ButtonSelect}
87\newcommand{\ActionKbdDone}{\ButtonUp}
88\newcommand{\ActionKbdAbort}{\ButtonPower}
89\newcommand{\ActionKbdUp}{\ButtonScrollBack}
90\newcommand{\ActionKbdDown}{\ButtonScrollFwd}
91\newcommand{\ActionKbdCursorLeft}{\ButtonRec{} + \ButtonLeft}
92\newcommand{\ActionKbdCursorRight}{\ButtonRec{} + \ButtonRight}
93\newcommand{\ActionKbdBackSpace}{\ButtonDown}
94\newcommand{\ActionKbdPageFlip}{\ButtonRec{} + \ButtonSelect}
95
96%Button actions, Pitch Screen context
97\newcommand{\ActionPsToggleMode}{\ButtonRec}
98\newcommand{\ActionPsIncSmall}{\ButtonScrollBack}
99\newcommand{\ActionPsIncBig}{Long \ButtonScrollBack}
100\newcommand{\ActionPsDecSmall}{\ButtonScrollFwd}
101\newcommand{\ActionPsDecBig}{Long \ButtonScrollFwd}
102\newcommand{\ActionPsNudgeLeft}{\ButtonLeft}
103\newcommand{\ActionPsNudgeRight}{\ButtonRight}
104\newcommand{\ActionPsReset}{\ButtonSelect}
105\newcommand{\ActionPsExit}{\ButtonPower{} or \ButtonUp}
106
107%Button actions, Recording screen context
108\newcommand{\ActionRecPause}{\ButtonUp}
109\newcommand{\ActionRecExit}{\ButtonPower}
110\newcommand{\ActionRecNewfile}{\ButtonRec}
111\newcommand{\ActionRecMenu}{Long \ButtonSelect}
112\newcommand{\ActionRecSettingsInc}{\ButtonRight}
113\newcommand{\ActionRecSettingsDec}{\ButtonLeft}
114\newcommand{\ActionRecPrev}{\ButtonScrollBack}
115\newcommand{\ActionRecNext}{\ButtonScrollFwd}
116
117%Button actions, FM radio context
118\newcommand{\ActionFMPreset}{\ButtonSelect}
119\newcommand{\ActionFMMenu}{Long \ButtonSelect}
120\newcommand{\ActionFMMode}{Long \ButtonUp}
121\newcommand{\ActionFMStop}{\ButtonPower}
122\newcommand{\ActionFMExit}{\ButtonDown}
123\newcommand{\ActionFMPlay}{\ButtonUp}
124\newcommand{\ActionFMSettingsInc}{\ButtonUp}
125\newcommand{\ActionFMSettingsDec}{\ButtonDown}
126\newcommand{\ActionFMPrev}{\ActionRecSettingsInc}
127\newcommand{\ActionFMNext}{\ActionRecSettingsDec}
128