summaryrefslogtreecommitdiff
path: root/manual/platform/h10_5gb.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/h10_5gb.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/h10_5gb.tex')
-rw-r--r--manual/platform/h10_5gb.tex110
1 files changed, 2 insertions, 108 deletions
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 @@
20\newcommand{\screenshotsize}{4cm} 20\newcommand{\screenshotsize}{4cm}
21\newcommand{\disk}{hard disk} 21\newcommand{\disk}{hard disk}
22 22
23\newcommand{\ButtonLeft}{\btnfnt{Cancel}} 23% link external keymap file
24\newcommand{\ButtonRight}{\btnfnt{Select}} 24\input{platform/keymap-h10.tex}
25\newcommand{\ButtonRew}{\btnfnt{Prev}}
26\newcommand{\ButtonPlay}{\btnfnt{Play}}
27\newcommand{\ButtonFF}{\btnfnt{Next}}
28\newcommand{\ButtonScrollUp}{\btnfnt{Scroll Up}}
29\newcommand{\ButtonScrollDown}{\btnfnt{Scroll Down}}
30\newcommand{\ButtonPower}{\btnfnt{Power}}
31\newcommand{\ButtonHold}{\btnfnt{Hold}}
32
33%Button actions, standard context
34\newcommand{\ActionStdPrev}{\ButtonScrollUp}
35\newcommand{\ActionStdPrevRepeat}{Long \ButtonScrollUp}
36\newcommand{\ActionStdNext}{\ButtonScrollDown}
37\newcommand{\ActionStdNextRepeat}{Long \ButtonScrollDown}
38\newcommand{\ActionStdCancel}{\ButtonLeft}
39\newcommand{\ActionStdContext}{Long \ButtonRight}
40\newcommand{\ActionStdQuickScreen}{Long \ButtonLeft}
41\newcommand{\ActionQuickScreenExit}{\ButtonLeft}
42\newcommand{\ActionStdMenu}{\ButtonPower}
43\newcommand{\ActionStdOk}{\ButtonRight}
44\newcommand{\ActionStdUsbCharge}{\ButtonRight}
45
46%Button actions, wps context
47\newcommand{\ActionWpsPlay}{\ButtonPlay}
48\newcommand{\ActionWpsSkipNext}{\ButtonFF}
49\newcommand{\ActionWpsSkipPrev}{\ButtonRew}
50\newcommand{\ActionWpsSeekBack}{Long \ButtonRew}
51\newcommand{\ActionWpsSeekFwd}{Long \ButtonFF}
52
53\newcommand{\ActionWpsStop}{Long \ButtonPlay}
54\newcommand{\ActionWpsVolDown}{\ButtonScrollDown}
55\newcommand{\ActionWpsVolUp}{\ButtonScrollUp}
56
57\newcommand{\ActionWpsQuickScreen}{Long \ButtonLeft}
58\newcommand{\ActionWpsMenu}{\ButtonPower}
59\newcommand{\ActionWpsContext}{Long \ButtonRight}
60\newcommand{\ActionWpsBrowse}{\ButtonLeft}
61\newcommand{\ActionWpsPitchScreen}{\ButtonPlay+\ButtonLeft}
62\newcommand{\ActionWpsIdThreeScreen}{\ButtonPlay+\ButtonRight}
63
64\newcommand{\ActionWpsAbSetBNextDir}{\ButtonPower{} + \ButtonFF}
65\newcommand{\ActionWpsAbSetAPrevDir}{\ButtonPower{} + \ButtonRew}
66\newcommand{\ActionWpsAbReset}{\ButtonPower{} + \ButtonPlay}
67
68%Button actions, tree context
69\newcommand{\ActionTreeWps}{\ButtonPlay}
70\newcommand{\ActionTreeStop}{Long \ButtonPlay}
71\newcommand{\ActionTreeEnter}{\ButtonRight}
72\newcommand{\ActionTreeParentDirectory}{\ButtonLeft}
73
74%Button actions, YesNo context
75\newcommand{\ActionYesNoAccept}{\ButtonRight}
76
77%Button actions, Setting context
78\newcommand{\ActionSettingInc}{\ButtonScrollUp}
79\newcommand{\ActionSettingDec}{\ButtonScrollDown}
80
81%Button actions, Alarm screen
82\newcommand{\ActionAlarmSet}{\ActionStdOk}
83\newcommand{\ActionAlarmCancel}{\ActionStdCancel}
84\newcommand{\ActionAlarmHoursInc}{\ButtonRew}
85\newcommand{\ActionAlarmHoursDec}{\ButtonFF}
86
87%Button actions, Virtual Keyboard Context
88\newcommand{\ActionKbdLeft}{\ButtonLeft}
89\newcommand{\ActionKbdRight}{\ButtonRight}
90\newcommand{\ActionKbdSelect}{\ButtonRew}
91\newcommand{\ActionKbdDone}{\ButtonPlay}
92\newcommand{\ActionKbdAbort}{\ButtonFF}
93\newcommand{\ActionKbdUp}{\ButtonScrollUp}
94\newcommand{\ActionKbdDown}{\ButtonScrollDown}
95\newcommand{\ActionKbdMorseInput}{\ButtonPlay+\ButtonRew}
96\newcommand{\ActionKbdMorseSelect}{\ButtonRew}
97
98%Button actions, Pitch Screen context
99\newcommand{\ActionPsToggleMode}{\ButtonPower}
100\newcommand{\ActionPsIncSmall}{\ButtonScrollUp}
101\newcommand{\ActionPsIncBig}{Long \ButtonScrollUp}
102\newcommand{\ActionPsDecSmall}{\ButtonScrollDown}
103\newcommand{\ActionPsDecBig}{Long \ButtonScrollDown}
104\newcommand{\ActionPsNudgeLeft}{\ButtonRew}
105\newcommand{\ActionPsNudgeRight}{\ButtonFF}
106\newcommand{\ActionPsReset}{\ButtonPlay}
107\newcommand{\ActionPsExit}{\ButtonLeft}
108
109%Button actions, FM radio context
110\newcommand{\ActionFMPreset}{\ButtonRight}
111\newcommand{\ActionFMMenu}{Long \ButtonRight}
112\newcommand{\ActionFMMode}{\ButtonLeft}
113\newcommand{\ActionFMStop}{Long \ButtonPlay}
114\newcommand{\ActionFMExit}{\ButtonPower}
115\newcommand{\ActionFMPlay}{\ButtonPlay}
116\newcommand{\ActionFMSettingsInc}{\ButtonScrollUp}
117\newcommand{\ActionFMSettingsDec}{\ButtonScrollDown}
118\newcommand{\ActionFMPrev}{\ButtonRew}
119\newcommand{\ActionFMNext}{\ButtonFF}
120
121%Button actions, Recording screen context
122\newcommand{\ActionRecPause}{\ButtonPlay}
123\newcommand{\ActionRecNewfile}{\ButtonRight}
124\newcommand{\ActionRecExit}{\ButtonLeft}
125\newcommand{\ActionRecMenu}{\ButtonPower}
126\newcommand{\ActionRecSettingsInc}{\ActionSettingInc}
127\newcommand{\ActionRecSettingsDec}{\ActionSettingDec}
128\newcommand{\ActionRecPrev}{\ButtonRew}
129\newcommand{\ActionRecNext}{\ButtonFF}
130