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