diff options
author | Marianne Arnold <pixelma@rockbox.org> | 2008-11-29 11:04:02 +0000 |
---|---|---|
committer | Marianne Arnold <pixelma@rockbox.org> | 2008-11-29 11:04:02 +0000 |
commit | e090bea1fac8f9f0d243d3c5e974b3f30b8cfff3 (patch) | |
tree | 5ae43bdeaa8e0270a3ce04f78fe731fbefcaca68 /manual/platform/recorderv2fm.tex | |
parent | e8f22ac6fd33ff782fc44618613797b22479ea81 (diff) | |
download | rockbox-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/recorderv2fm.tex')
-rw-r--r-- | manual/platform/recorderv2fm.tex | 111 |
1 files changed, 2 insertions, 109 deletions
diff --git a/manual/platform/recorderv2fm.tex b/manual/platform/recorderv2fm.tex index 5a904105fa..936e06360e 100644 --- a/manual/platform/recorderv2fm.tex +++ b/manual/platform/recorderv2fm.tex | |||
@@ -20,112 +20,5 @@ | |||
20 | \newcommand{\screenshotsize}{4cm} | 20 | \newcommand{\screenshotsize}{4cm} |
21 | \newcommand{\disk}{hard disk} | 21 | \newcommand{\disk}{hard disk} |
22 | 22 | ||
23 | \newcommand{\ButtonOn}{\btnfnt{On}} | 23 | % link external keymap file |
24 | \newcommand{\ButtonOff}{\btnfnt{Off}} | 24 | \input{platform/keymap-recorder.tex} |
25 | \newcommand{\ButtonPlay}{\btnfnt{Play}} | ||
26 | \newcommand{\ButtonUp}{\btnfnt{Up}} | ||
27 | \newcommand{\ButtonDown}{\btnfnt{Down}} | ||
28 | \newcommand{\ButtonLeft}{\btnfnt{Left}} | ||
29 | \newcommand{\ButtonRight}{\btnfnt{Right}} | ||
30 | \newcommand{\ButtonFOne}{\btnfnt{F1}} | ||
31 | \newcommand{\ButtonFTwo}{\btnfnt{F2}} | ||
32 | \newcommand{\ButtonFThree}{\btnfnt{F3}} | ||
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 \ButtonOff} | ||
40 | \newcommand{\ActionStdContext}{Long \ButtonPlay} | ||
41 | \newcommand{\ActionStdQuickScreen}{\ButtonFTwo} | ||
42 | \newcommand{\ActionQuickScreenExit}{\ButtonPlay} | ||
43 | \newcommand{\ActionStdMenu}{\ButtonFOne} | ||
44 | \newcommand{\ActionStdOk}{\ButtonRight{} or \ButtonOn} | ||
45 | \newcommand{\ActionStdUsbCharge}{\ButtonFOne} | ||
46 | |||
47 | %Button actions, wps context | ||
48 | \newcommand{\ActionWpsPlay}{\ButtonPlay} | ||
49 | \newcommand{\ActionWpsSkipNext}{\ButtonRight} | ||
50 | \newcommand{\ActionWpsSkipPrev}{\ButtonLeft} | ||
51 | \newcommand{\ActionWpsSeekBack}{Long \ButtonLeft} | ||
52 | \newcommand{\ActionWpsSeekFwd}{Long \ButtonRight} | ||
53 | \newcommand{\ActionWpsStop}{\ButtonOff} | ||
54 | \newcommand{\ActionWpsVolDown}{\ButtonDown} | ||
55 | \newcommand{\ActionWpsVolUp}{\ButtonUp} | ||
56 | \newcommand{\ActionWpsPitchScreen}{\ButtonOn{} + \ButtonUp/\ButtonDown} | ||
57 | \newcommand{\ActionWpsQuickScreen}{\ButtonFTwo} | ||
58 | \newcommand{\ActionWpsMenu}{\ButtonFOne} | ||
59 | \newcommand{\ActionWpsContext}{Long \ButtonPlay} | ||
60 | \newcommand{\ActionWpsBrowse}{\ButtonOn} | ||
61 | \newcommand{\ActionWpsIdThreeScreen}{\ButtonFOne{} + \ButtonOn} | ||
62 | |||
63 | \newcommand{\ActionWpsAbSetBNextDir}{\ButtonOn{} + \ButtonLeft} | ||
64 | \newcommand{\ActionWpsAbSetAPrevDir}{\ButtonOn{} + \ButtonRight} | ||
65 | \newcommand{\ActionWpsAbReset}{\ButtonOn{} + \ButtonOff} | ||
66 | |||
67 | %Button actions, tree context | ||
68 | \newcommand{\ActionTreeWps}{\ButtonOn} | ||
69 | \newcommand{\ActionTreeStop}{\ButtonOff} | ||
70 | \newcommand{\ActionTreeEnter}{\ButtonRight} | ||
71 | \newcommand{\ActionTreeParentDirectory}{\ButtonLeft} | ||
72 | |||
73 | %Button actions, YesNo context | ||
74 | \newcommand{\ActionYesNoAccept}{\ButtonPlay} | ||
75 | |||
76 | %Button actions, Setting context | ||
77 | \newcommand{\ActionSettingInc}{\ButtonUp} | ||
78 | \newcommand{\ActionSettingDec}{\ButtonDown} | ||
79 | |||
80 | %Button actions, Alarm screen | ||
81 | \newcommand{\ActionAlarmSet}{\ButtonPlay} | ||
82 | \newcommand{\ActionAlarmCancel}{\ButtonOff} | ||
83 | \newcommand{\ActionAlarmHoursInc}{\ButtonRight} | ||
84 | \newcommand{\ActionAlarmHoursDec}{\ButtonLeft} | ||
85 | |||
86 | %Button actions, Virtual Keyboard Context | ||
87 | \newcommand{\ActionKbdLeft}{\ButtonLeft} | ||
88 | \newcommand{\ActionKbdRight}{\ButtonRight} | ||
89 | \newcommand{\ActionKbdSelect}{\ButtonPlay} | ||
90 | \newcommand{\ActionKbdCursorLeft}{\ButtonOn{} + \ButtonLeft} | ||
91 | \newcommand{\ActionKbdCursorRight}{\ButtonOn{} + \ButtonRight} | ||
92 | \newcommand{\ActionKbdPageFlip}{\ButtonFOne} | ||
93 | \newcommand{\ActionKbdDone}{\ButtonFTwo} | ||
94 | \newcommand{\ActionKbdAbort}{\ButtonOff} | ||
95 | \newcommand{\ActionKbdBackSpace}{\ButtonFThree} | ||
96 | \newcommand{\ActionKbdUp}{\ButtonUp} | ||
97 | \newcommand{\ActionKbdDown}{\ButtonDown} | ||
98 | |||
99 | %Button actions, Pitch Screen context | ||
100 | \newcommand{\ActionPsToggleMode}{\ButtonFOne} | ||
101 | \newcommand{\ActionPsIncSmall}{\ButtonUp} | ||
102 | \newcommand{\ActionPsIncBig}{Long \ButtonUp} | ||
103 | \newcommand{\ActionPsDecSmall}{\ButtonDown} | ||
104 | \newcommand{\ActionPsDecBig}{Long \ButtonDown} | ||
105 | \newcommand{\ActionPsNudgeLeft}{\ButtonLeft} | ||
106 | \newcommand{\ActionPsNudgeRight}{\ButtonRight} | ||
107 | \newcommand{\ActionPsReset}{\ButtonOn} | ||
108 | \newcommand{\ActionPsExit}{\ButtonOff} | ||
109 | |||
110 | %Button actions, Recording screen context | ||
111 | \newcommand{\ActionRecPause}{\ButtonPlay} | ||
112 | \newcommand{\ActionRecFTwo}{\ButtonFTwo} | ||
113 | \newcommand{\ActionRecFThree}{\ButtonFThree} | ||
114 | \newcommand{\ActionRecSettingsInc}{\ButtonRight} | ||
115 | \newcommand{\ActionRecSettingsDec}{\ButtonLeft} | ||
116 | \newcommand{\ActionRecPrev}{\ButtonUp} | ||
117 | \newcommand{\ActionRecNext}{\ButtonDown} | ||
118 | \newcommand{\ActionRecMenu}{\ButtonFOne} | ||
119 | \newcommand{\ActionRecExit}{\ButtonOff} | ||
120 | |||
121 | %Button actions, FM radio context | ||
122 | \newcommand{\ActionFMPreset}{\ButtonFTwo} | ||
123 | \newcommand{\ActionFMMenu}{\ButtonFOne} | ||
124 | \newcommand{\ActionFMMode}{Long \ButtonOn} | ||
125 | \newcommand{\ActionFMStop}{\ButtonOff} | ||
126 | \newcommand{\ActionFMExit}{\ButtonOn} | ||
127 | \newcommand{\ActionFMSettingsInc}{\ButtonUp} | ||
128 | \newcommand{\ActionFMSettingsDec}{\ButtonDown} | ||
129 | \newcommand{\ActionFMPrev}{\ButtonLeft} | ||
130 | \newcommand{\ActionFMNext}{\ButtonRight} | ||
131 | |||