summaryrefslogtreecommitdiff
path: root/manual/platform/keymap-c200.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/keymap-c200.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/keymap-c200.tex')
-rw-r--r--manual/platform/keymap-c200.tex110
1 files changed, 110 insertions, 0 deletions
diff --git a/manual/platform/keymap-c200.tex b/manual/platform/keymap-c200.tex
new file mode 100644
index 0000000000..579df945f7
--- /dev/null
+++ b/manual/platform/keymap-c200.tex
@@ -0,0 +1,110 @@
1% $Id$
2
3\newcommand{\ButtonLeft}{\btnfnt{Left}}
4\newcommand{\ButtonRight}{\btnfnt{Right}}
5\newcommand{\ButtonRec}{\btnfnt{Rec}}
6\newcommand{\ButtonUp}{\btnfnt{Play}}
7\newcommand{\ButtonDown}{\btnfnt{Submenu}}
8\newcommand{\ButtonSelect}{\btnfnt{Select}}
9\newcommand{\ButtonPower}{\btnfnt{Power}}
10\newcommand{\ButtonVolUp}{\btnfnt{Volume Up}}
11\newcommand{\ButtonVolDown}{\btnfnt{Volume Down}}
12\newcommand{\ButtonHold}{\btnfnt{Hold}}
13
14%Button actions, standard context
15\newcommand{\ActionStdPrev}{\ButtonDown}
16\newcommand{\ActionStdPrevRepeat}{Long \ButtonDown}
17\newcommand{\ActionStdNext}{\ButtonUp}
18\newcommand{\ActionStdNextRepeat}{Long \ButtonUp}
19\newcommand{\ActionStdCancel}{\ButtonLeft}
20\newcommand{\ActionStdContext}{Long \ButtonSelect}
21\newcommand{\ActionStdQuickScreen}{Long \ButtonDown}
22\newcommand{\ActionQuickScreenExit}{\ButtonPower}
23\newcommand{\ActionStdMenu}{\ButtonPower}
24\newcommand{\ActionStdOk}{\ButtonSelect{} or \ButtonRight}
25\newcommand{\ActionStdRec}{Long \ButtonRec}
26\newcommand{\ActionStdUsbCharge}{\ButtonSelect}
27
28%Button actions, wps context
29\newcommand{\ActionWpsPlay}{\ButtonUp}
30\newcommand{\ActionWpsSkipNext}{\ButtonRight}
31\newcommand{\ActionWpsSkipPrev}{\ButtonLeft}
32\newcommand{\ActionWpsSeekBack}{Long \ButtonLeft}
33\newcommand{\ActionWpsSeekFwd}{Long \ButtonRight}
34
35\newcommand{\ActionWpsStop}{Long \ButtonUp}
36\newcommand{\ActionWpsVolDown}{\ButtonVolDown}
37\newcommand{\ActionWpsVolUp}{\ButtonVolUp}
38
39\newcommand{\ActionWpsQuickScreen}{Long \ButtonDown}
40\newcommand{\ActionWpsMenu}{\ButtonPower}
41\newcommand{\ActionWpsContext}{\ButtonDown}
42\newcommand{\ActionWpsBrowse}{\ButtonSelect}
43\newcommand{\ActionWpsPitchScreen}{\ButtonSelect{} + \ButtonUp}
44\newcommand{\ActionWpsIdThreeScreen}{\ButtonSelect{} + \ButtonDown}
45
46\newcommand{\ActionWpsAbSetBNextDir}{\ButtonPower{} + \ButtonRight}
47\newcommand{\ActionWpsAbSetAPrevDir}{\ButtonPower{} + \ButtonLeft}
48\newcommand{\ActionWpsAbReset}{\ButtonPower{} + \ButtonUp}
49
50%Button actions, tree context
51\newcommand{\ActionTreeWps}{\ButtonRec{} + \ButtonUp}
52\newcommand{\ActionTreeStop}{Long \ButtonUp}
53\newcommand{\ActionTreeEnter}{\ButtonSelect{} or \ButtonRight}
54\newcommand{\ActionTreeParentDirectory}{\ButtonLeft}
55
56%Button actions, YesNo context
57\newcommand{\ActionYesNoAccept}{\ButtonSelect}
58
59%Button actions, Setting context
60\newcommand{\ActionSettingInc}{\ButtonUp}
61\newcommand{\ActionSettingDec}{\ButtonDown}
62
63%Button actions, Virtual Keyboard Context
64\newcommand{\ActionKbdLeft}{\ButtonLeft}
65\newcommand{\ActionKbdRight}{\ButtonRight}
66\newcommand{\ActionKbdSelect}{\ButtonSelect}
67\newcommand{\ActionKbdDone}{\ButtonVolUp{}/ \ButtonVolDown}
68\newcommand{\ActionKbdAbort}{\ButtonPower}
69\newcommand{\ActionKbdUp}{\ButtonUp}
70\newcommand{\ActionKbdDown}{\ButtonDown}
71\newcommand{\ActionKbdCursorLeft}{\ButtonRec{} + \ButtonLeft}
72\newcommand{\ActionKbdCursorRight}{\ButtonRec{} + \ButtonRight}
73\newcommand{\ActionKbdBackSpace}{\ButtonRec{} + \ButtonSelect}
74\newcommand{\ActionKbdPageFlip}{\ButtonRec{} + \ButtonVolUp}
75
76%Button actions, Pitch Screen context
77\newcommand{\ActionPsToggleMode}{\ButtonRec}
78\newcommand{\ActionPsIncSmall}{\ButtonUp}
79\newcommand{\ActionPsIncBig}{Long \ButtonUp}
80\newcommand{\ActionPsDecSmall}{\ButtonDown}
81\newcommand{\ActionPsDecBig}{Long \ButtonDown}
82\newcommand{\ActionPsNudgeLeft}{\ButtonLeft}
83\newcommand{\ActionPsNudgeRight}{\ButtonRight}
84\newcommand{\ActionPsReset}{\ButtonSelect}
85\newcommand{\ActionPsExit}{\ButtonPower}
86
87%Button actions, Recording screen context
88\newcommand{\ActionRecPause}{\ButtonUp}
89\newcommand{\ActionRecExit}{Long \ButtonPower}
90\newcommand{\ActionRecNewfile}{\ButtonRec}
91\newcommand{\ActionRecMenu}{Long \ButtonDown}
92\newcommand{\ActionRecSettingsInc}{\ButtonRight}
93\newcommand{\ActionRecSettingsDec}{\ButtonLeft}
94\newcommand{\ActionRecPrev}{\ButtonDown}
95\newcommand{\ActionRecNext}{\ButtonUp}
96
97\newcommand{\ActionQuickscreenExit}{\ButtonPower}
98
99%Button actions, FM radio context
100\newcommand{\ActionFMPreset}{\ButtonSelect}
101\newcommand{\ActionFMMenu}{\ButtonDown}
102\newcommand{\ActionFMMode}{\ButtonRec}
103\newcommand{\ActionFMStop}{Long \ButtonUp}
104\newcommand{\ActionFMExit}{\ButtonPower}
105\newcommand{\ActionFMPlay}{\ButtonUp}
106\newcommand{\ActionFMSettingsInc}{\ButtonVolUp}
107\newcommand{\ActionFMSettingsDec}{\ButtonVolDown}
108\newcommand{\ActionFMPrev}{\ButtonLeft}
109\newcommand{\ActionFMNext}{\ButtonRight}
110