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/recorder.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/recorder.tex')
-rw-r--r-- | manual/platform/recorder.tex | 93 |
1 files changed, 2 insertions, 91 deletions
diff --git a/manual/platform/recorder.tex b/manual/platform/recorder.tex index 443f4d43a6..3d3abcfa62 100644 --- a/manual/platform/recorder.tex +++ b/manual/platform/recorder.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{\ButtonOn}{\btnfnt{On}} | 24 | % link external keymap file |
25 | \newcommand{\ButtonOff}{\btnfnt{Off}} | 25 | \input{platform/keymap-recorder.tex} |
26 | \newcommand{\ButtonPlay}{\btnfnt{Play}} | ||
27 | \newcommand{\ButtonUp}{\btnfnt{Up}} | ||
28 | \newcommand{\ButtonDown}{\btnfnt{Down}} | ||
29 | \newcommand{\ButtonLeft}{\btnfnt{Left}} | ||
30 | \newcommand{\ButtonRight}{\btnfnt{Right}} | ||
31 | \newcommand{\ButtonFOne}{\btnfnt{F1}} | ||
32 | \newcommand{\ButtonFTwo}{\btnfnt{F2}} | ||
33 | \newcommand{\ButtonFThree}{\btnfnt{F3}} | ||
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 \ButtonPlay} | ||
42 | \newcommand{\ActionStdQuickScreen}{\ButtonFTwo} | ||
43 | \newcommand{\ActionQuickScreenExit}{\ButtonPlay} | ||
44 | \newcommand{\ActionStdMenu}{\ButtonFOne} | ||
45 | \newcommand{\ActionStdOk}{\ButtonRight{} or \ButtonOn} | ||
46 | \newcommand{\ActionStdUsbCharge}{\ButtonFOne} | ||
47 | |||
48 | %Button actions, wps context | ||
49 | \newcommand{\ActionWpsPlay}{\ButtonPlay} | ||
50 | \newcommand{\ActionWpsSkipNext}{\ButtonRight} | ||
51 | \newcommand{\ActionWpsSkipPrev}{\ButtonLeft} | ||
52 | \newcommand{\ActionWpsSeekBack}{Long \ButtonLeft} | ||
53 | \newcommand{\ActionWpsSeekFwd}{Long \ButtonRight} | ||
54 | \newcommand{\ActionWpsStop}{\ButtonOff} | ||
55 | \newcommand{\ActionWpsVolDown}{\ButtonDown} | ||
56 | \newcommand{\ActionWpsVolUp}{\ButtonUp} | ||
57 | \newcommand{\ActionWpsPitchScreen}{\ButtonOn{} + \ButtonUp/\ButtonDown} | ||
58 | \newcommand{\ActionWpsQuickScreen}{\ButtonFTwo} | ||
59 | \newcommand{\ActionWpsMenu}{\ButtonFOne} | ||
60 | \newcommand{\ActionWpsContext}{Long \ButtonPlay} | ||
61 | \newcommand{\ActionWpsBrowse}{\ButtonOn} | ||
62 | \newcommand{\ActionWpsIdThreeScreen}{\ButtonFOne{} + \ButtonOn} | ||
63 | |||
64 | \newcommand{\ActionWpsAbSetBNextDir}{\ButtonOn{} + \ButtonLeft} | ||
65 | \newcommand{\ActionWpsAbSetAPrevDir}{\ButtonOn{} + \ButtonRight} | ||
66 | \newcommand{\ActionWpsAbReset}{\ButtonOn{} + \ButtonOff} | ||
67 | |||
68 | %Button actions, tree context | ||
69 | \newcommand{\ActionTreeWps}{\ButtonOn} | ||
70 | \newcommand{\ActionTreeStop}{\ButtonOff} | ||
71 | \newcommand{\ActionTreeEnter}{\ButtonRight} | ||
72 | \newcommand{\ActionTreeParentDirectory}{\ButtonLeft} | ||
73 | |||
74 | %Button actions, YesNo context | ||
75 | \newcommand{\ActionYesNoAccept}{\ButtonPlay} | ||
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}{\ButtonPlay} | ||
85 | \newcommand{\ActionKbdCursorLeft}{\ButtonOn{} + \ButtonLeft} | ||
86 | \newcommand{\ActionKbdCursorRight}{\ButtonOn{} + \ButtonRight} | ||
87 | \newcommand{\ActionKbdPageFlip}{\ButtonFOne} | ||
88 | \newcommand{\ActionKbdDone}{\ButtonFTwo} | ||
89 | \newcommand{\ActionKbdAbort}{\ButtonOff} | ||
90 | \newcommand{\ActionKbdBackSpace}{\ButtonFThree} | ||
91 | \newcommand{\ActionKbdUp}{\ButtonUp} | ||
92 | \newcommand{\ActionKbdDown}{\ButtonDown} | ||
93 | |||
94 | %Button actions, Pitch Screen context | ||
95 | \newcommand{\ActionPsToggleMode}{\ButtonFOne} | ||
96 | \newcommand{\ActionPsIncSmall}{\ButtonUp} | ||
97 | \newcommand{\ActionPsIncBig}{Long \ButtonUp} | ||
98 | \newcommand{\ActionPsDecSmall}{\ButtonDown} | ||
99 | \newcommand{\ActionPsDecBig}{Long \ButtonDown} | ||
100 | \newcommand{\ActionPsNudgeLeft}{\ButtonLeft} | ||
101 | \newcommand{\ActionPsNudgeRight}{\ButtonRight} | ||
102 | \newcommand{\ActionPsReset}{\ButtonOn} | ||
103 | \newcommand{\ActionPsExit}{\ButtonOff} | ||
104 | |||
105 | %Button actions, Recording screen context | ||
106 | \newcommand{\ActionRecPause}{\ButtonPlay} | ||
107 | \newcommand{\ActionRecFTwo}{\ButtonFTwo} | ||
108 | \newcommand{\ActionRecFThree}{\ButtonFThree} | ||
109 | \newcommand{\ActionRecSettingsInc}{\ButtonRight} | ||
110 | \newcommand{\ActionRecSettingsDec}{\ButtonLeft} | ||
111 | \newcommand{\ActionRecPrev}{\ButtonUp} | ||
112 | \newcommand{\ActionRecNext}{\ButtonDown} | ||
113 | \newcommand{\ActionRecMenu}{\ButtonFOne} | ||
114 | \newcommand{\ActionRecExit}{\ButtonOff} | ||