summaryrefslogtreecommitdiff
path: root/manual/platform/mrobe100.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/mrobe100.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/mrobe100.tex')
-rw-r--r--manual/platform/mrobe100.tex85
1 files changed, 2 insertions, 83 deletions
diff --git a/manual/platform/mrobe100.tex b/manual/platform/mrobe100.tex
index 825d2cbfd4..d31d505e13 100644
--- a/manual/platform/mrobe100.tex
+++ b/manual/platform/mrobe100.tex
@@ -20,86 +20,5 @@
20\newcommand{\screenshotsize}{4cm} 20\newcommand{\screenshotsize}{4cm}
21\newcommand{\disk}{hard disk} 21\newcommand{\disk}{hard disk}
22 22
23\newcommand{\ButtonPower}{\btnfnt{Power}} 23% link external keymap file
24\newcommand{\ButtonPlay}{\btnfnt{Play}} 24\input{platform/keymap-mrobe100.tex}
25\newcommand{\ButtonMenu}{\btnfnt{Menu}}
26\newcommand{\ButtonLeft}{\btnfnt{Left}}
27\newcommand{\ButtonRight}{\btnfnt{Right}}
28\newcommand{\ButtonUp}{\btnfnt{Up}}
29\newcommand{\ButtonDown}{\btnfnt{Down}}
30\newcommand{\ButtonVolUp}{\btnfnt{Volume up}}
31\newcommand{\ButtonVolDown}{\btnfnt{Volume down}}
32\newcommand{\ButtonSelect}{\btnfnt{Select}}
33\newcommand{\ButtonDisplay}{\btnfnt{Display}}
34\newcommand{\ButtonHold}{\btnfnt{Hold}}
35
36%Button actions, standard context
37\newcommand{\ActionStdPrev}{\ButtonUp}
38\newcommand{\ActionStdPrevRepeat}{Long \ButtonUp}
39\newcommand{\ActionStdNext}{\ButtonDown}
40\newcommand{\ActionStdNextRepeat}{Long \ButtonDown}
41\newcommand{\ActionStdCancel}{\ButtonLeft{} or \ButtonDisplay{} or \ButtonPower}
42\newcommand{\ActionStdContext}{Long \ButtonSelect}
43\newcommand{\ActionStdQuickScreen}{Long \ButtonMenu}
44\newcommand{\ActionQuickScreenExit}{\ButtonMenu}
45\newcommand{\ActionStdMenu}{\ButtonMenu}
46\newcommand{\ActionStdOk}{\ButtonSelect{} or \ButtonRight}
47\newcommand{\ActionStdUsbCharge}{\ButtonRight}
48
49%Button actions, wps context
50\newcommand{\ActionWpsPlay}{\ButtonPlay}
51\newcommand{\ActionWpsSkipNext}{\ButtonRight}
52\newcommand{\ActionWpsSkipPrev}{\ButtonLeft}
53\newcommand{\ActionWpsSeekBack}{Long \ButtonLeft}
54\newcommand{\ActionWpsSeekFwd}{Long \ButtonRight}
55\newcommand{\ActionWpsAbSetBNextDir}{\ButtonDisplay{} + \ButtonRight}
56\newcommand{\ActionWpsAbSetAPrevDir}{\ButtonDisplay{} + \ButtonLeft}
57\newcommand{\ActionWpsStop}{\ButtonPower{} or Long \ButtonPlay}
58\newcommand{\ActionWpsVolDown}{\ButtonDown}
59\newcommand{\ActionWpsVolUp}{\ButtonUp}
60\newcommand{\ActionWpsPitchScreen}{\ButtonDisplay{} + \ButtonUp/\ButtonDown}
61\newcommand{\ActionWpsQuickScreen}{Long \ButtonMenu}
62\newcommand{\ActionWpsMenu}{\ButtonMenu}
63\newcommand{\ActionWpsContext}{Long \ButtonSelect}
64\newcommand{\ActionWpsBrowse}{\ButtonSelect}
65\newcommand{\ActionWpsAbReset}{\ButtonDisplay{} + \ButtonSelect}
66\newcommand{\ActionWpsIdThreeScreen}{\ButtonDisplay{} + \ButtonMenu}
67
68%Button actions, tree context
69\newcommand{\ActionTreeWps}{\ButtonDisplay}
70\newcommand{\ActionTreeStop}{\ButtonPower{} or Long \ButtonPlay}
71\newcommand{\ActionTreeEnter}{\ButtonSelect{} or \ButtonRight}
72\newcommand{\ActionTreeParentDirectory}{\ButtonLeft}
73
74%Button actions, YesNo context
75\newcommand{\ActionYesNoAccept}{\ButtonSelect}
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}{\ButtonSelect}
85\newcommand{\ActionKbdCursorLeft}{\ButtonDisplay{} + \ButtonLeft}
86\newcommand{\ActionKbdCursorRight}{\ButtonDisplay{} + \ButtonRight}
87\newcommand{\ActionKbdPageFlip}{\ButtonDisplay{} + \ButtonMenu}
88\newcommand{\ActionKbdDone}{\ButtonDisplay}
89\newcommand{\ActionKbdAbort}{\ButtonPower}
90\newcommand{\ActionKbdBackSpace}{\ButtonMenu}
91\newcommand{\ActionKbdMorseInput}{\ButtonDisplay{} + \ButtonPower}
92\newcommand{\ActionKbdMorseSelect}{\ButtonSelect}
93\newcommand{\ActionKbdUp}{\ButtonUp}
94\newcommand{\ActionKbdDown}{\ButtonDown}
95
96%Button actions, Pitch Screen context
97\newcommand{\ActionPsToggleMode}{\ButtonMenu}
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}{\ButtonDisplay}
105\newcommand{\ActionPsExit}{\ButtonPlay}