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/c200.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/c200.tex')
-rw-r--r-- | manual/platform/c200.tex | 110 |
1 files changed, 2 insertions, 108 deletions
diff --git a/manual/platform/c200.tex b/manual/platform/c200.tex index e6d8cd1498..4028a18e99 100644 --- a/manual/platform/c200.tex +++ b/manual/platform/c200.tex | |||
@@ -20,111 +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-c200.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{\ButtonVolUp}{\btnfnt{Volume Up}} | ||
31 | \newcommand{\ButtonVolDown}{\btnfnt{Volume Down}} | ||
32 | \newcommand{\ButtonHold}{\btnfnt{Hold}} | ||
33 | |||
34 | %Button actions, standard context | ||
35 | \newcommand{\ActionStdPrev}{\ButtonDown} | ||
36 | \newcommand{\ActionStdPrevRepeat}{Long \ButtonDown} | ||
37 | \newcommand{\ActionStdNext}{\ButtonUp} | ||
38 | \newcommand{\ActionStdNextRepeat}{Long \ButtonUp} | ||
39 | \newcommand{\ActionStdCancel}{\ButtonLeft} | ||
40 | \newcommand{\ActionStdContext}{Long \ButtonSelect} | ||
41 | \newcommand{\ActionStdQuickScreen}{Long \ButtonDown} | ||
42 | \newcommand{\ActionQuickScreenExit}{\ButtonPower} | ||
43 | \newcommand{\ActionStdMenu}{\ButtonPower} | ||
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}{Long \ButtonUp} | ||
56 | \newcommand{\ActionWpsVolDown}{\ButtonVolDown} | ||
57 | \newcommand{\ActionWpsVolUp}{\ButtonVolUp} | ||
58 | |||
59 | \newcommand{\ActionWpsQuickScreen}{Long \ButtonDown} | ||
60 | \newcommand{\ActionWpsMenu}{\ButtonPower} | ||
61 | \newcommand{\ActionWpsContext}{\ButtonDown} | ||
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}{\ButtonRec{} + \ButtonUp} | ||
72 | \newcommand{\ActionTreeStop}{Long \ButtonUp} | ||
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}{\ButtonUp} | ||
81 | \newcommand{\ActionSettingDec}{\ButtonDown} | ||
82 | |||
83 | %Button actions, Virtual Keyboard Context | ||
84 | \newcommand{\ActionKbdLeft}{\ButtonLeft} | ||
85 | \newcommand{\ActionKbdRight}{\ButtonRight} | ||
86 | \newcommand{\ActionKbdSelect}{\ButtonSelect} | ||
87 | \newcommand{\ActionKbdDone}{\ButtonVolUp{}/ \ButtonVolDown} | ||
88 | \newcommand{\ActionKbdAbort}{\ButtonPower} | ||
89 | \newcommand{\ActionKbdUp}{\ButtonUp} | ||
90 | \newcommand{\ActionKbdDown}{\ButtonDown} | ||
91 | \newcommand{\ActionKbdCursorLeft}{\ButtonRec{} + \ButtonLeft} | ||
92 | \newcommand{\ActionKbdCursorRight}{\ButtonRec{} + \ButtonRight} | ||
93 | \newcommand{\ActionKbdBackSpace}{\ButtonRec{} + \ButtonSelect} | ||
94 | \newcommand{\ActionKbdPageFlip}{\ButtonRec{} + \ButtonVolUp} | ||
95 | |||
96 | %Button actions, Pitch Screen context | ||
97 | \newcommand{\ActionPsToggleMode}{\ButtonRec} | ||
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}{\ButtonPower} | ||
106 | |||
107 | %Button actions, Recording screen context | ||
108 | \newcommand{\ActionRecPause}{\ButtonUp} | ||
109 | \newcommand{\ActionRecExit}{Long \ButtonPower} | ||
110 | \newcommand{\ActionRecNewfile}{\ButtonRec} | ||
111 | \newcommand{\ActionRecMenu}{Long \ButtonDown} | ||
112 | \newcommand{\ActionRecSettingsInc}{\ButtonRight} | ||
113 | \newcommand{\ActionRecSettingsDec}{\ButtonLeft} | ||
114 | \newcommand{\ActionRecPrev}{\ButtonDown} | ||
115 | \newcommand{\ActionRecNext}{\ButtonUp} | ||
116 | |||
117 | \newcommand{\ActionQuickscreenExit}{\ButtonPower} | ||
118 | |||
119 | %Button actions, FM radio context | ||
120 | \newcommand{\ActionFMPreset}{\ButtonSelect} | ||
121 | \newcommand{\ActionFMMenu}{\ButtonDown} | ||
122 | \newcommand{\ActionFMMode}{\ButtonRec} | ||
123 | \newcommand{\ActionFMStop}{Long \ButtonUp} | ||
124 | \newcommand{\ActionFMExit}{\ButtonPower} | ||
125 | \newcommand{\ActionFMPlay}{\ButtonUp} | ||
126 | \newcommand{\ActionFMSettingsInc}{\ButtonVolUp} | ||
127 | \newcommand{\ActionFMSettingsDec}{\ButtonVolDown} | ||
128 | \newcommand{\ActionFMPrev}{\ButtonLeft} | ||
129 | \newcommand{\ActionFMNext}{\ButtonRight} | ||
130 | |||