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