summaryrefslogtreecommitdiff
path: root/manual/platform/ipodmini.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/ipodmini.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/ipodmini.tex')
-rw-r--r--manual/platform/ipodmini.tex80
1 files changed, 2 insertions, 78 deletions
diff --git a/manual/platform/ipodmini.tex b/manual/platform/ipodmini.tex
index 9cfdf9e69e..71df355470 100644
--- a/manual/platform/ipodmini.tex
+++ b/manual/platform/ipodmini.tex
@@ -19,81 +19,5 @@
19\newcommand{\screenshotsize}{4cm} 19\newcommand{\screenshotsize}{4cm}
20\newcommand{\disk}{hard disk} 20\newcommand{\disk}{hard disk}
21 21
22\newcommand{\ButtonLeft}{\btnfnt{Prev}} 22% link external keymap file
23\newcommand{\ButtonRight}{\btnfnt{Next}} 23\input{platform/keymap-ipod4g.tex}
24\newcommand{\ButtonMenu}{\btnfnt{Menu}}
25\newcommand{\ButtonPlay}{\btnfnt{Play}}
26\newcommand{\ButtonSelect}{\btnfnt{Select}}
27\newcommand{\ButtonScrollFwd}{\btnfnt{Scroll Forward}}
28\newcommand{\ButtonScrollBack}{\btnfnt{Scroll Backward}}
29\newcommand{\ButtonHold}{\btnfnt{Hold}}
30
31%Button actions, standard context
32\newcommand{\ActionStdPrev}{\ButtonScrollBack}
33\newcommand{\ActionStdPrevRepeat}{Long \ButtonScrollBack}
34\newcommand{\ActionStdNext}{\ButtonScrollFwd}
35\newcommand{\ActionStdNextRepeat}{Long \ButtonScrollFwd}
36\newcommand{\ActionStdCancel}{\ButtonLeft{} or Long \ButtonPlay}
37\newcommand{\ActionStdContext}{Long \ButtonSelect}
38\newcommand{\ActionStdQuickScreen}{Long \ButtonMenu}
39\newcommand{\ActionQuickScreenExit}{\ButtonMenu}
40\newcommand{\ActionStdMenu}{\ButtonMenu}
41\newcommand{\ActionStdOk}{\ButtonSelect{} or \ButtonRight}
42\newcommand{\ActionStdUsbCharge}{\ButtonMenu}
43
44%Button actions, wps context
45\newcommand{\ActionWpsPlay}{\ButtonPlay}
46\newcommand{\ActionWpsSkipNext}{\ButtonRight}
47\newcommand{\ActionWpsSkipPrev}{\ButtonLeft}
48\newcommand{\ActionWpsSeekBack}{Long \ButtonLeft}
49\newcommand{\ActionWpsSeekFwd}{Long \ButtonRight}
50
51\newcommand{\ActionWpsStop}{Long \ButtonPlay}
52\newcommand{\ActionWpsVolDown}{\ButtonScrollBack}
53\newcommand{\ActionWpsVolUp}{\ButtonScrollFwd}
54
55\newcommand{\ActionWpsQuickScreen}{Long \ButtonMenu}
56\newcommand{\ActionWpsMenu}{\ButtonMenu}
57\newcommand{\ActionWpsContext}{Long \ButtonSelect}
58\newcommand{\ActionWpsBrowse}{\ButtonSelect}
59
60%Button actions, tree context
61\newcommand{\ActionTreeWps}{\ButtonPlay}
62\newcommand{\ActionTreeStop}{Long \ButtonPlay}
63\newcommand{\ActionTreeEnter}{\ButtonSelect{} or \ButtonRight}
64\newcommand{\ActionTreeParentDirectory}{\ButtonLeft}
65
66%Button actions, YesNo context
67\newcommand{\ActionYesNoAccept}{\ButtonPlay}
68
69%Button actions, Setting context
70\newcommand{\ActionSettingInc}{\ButtonScrollFwd}
71\newcommand{\ActionSettingDec}{\ButtonScrollBack}
72
73%Button actions, Alarm screen
74\newcommand{\ActionAlarmSet}{\ButtonSelect}
75\newcommand{\ActionAlarmCancel}{\ButtonMenu}
76\newcommand{\ActionAlarmHoursInc}{\ButtonRight}
77\newcommand{\ActionAlarmHoursDec}{\ButtonLeft}
78
79%Button actions, Virtual Keyboard Context
80\newcommand{\ActionKbdLeft}{\ButtonLeft}
81\newcommand{\ActionKbdRight}{\ButtonRight}
82\newcommand{\ActionKbdSelect}{\ButtonSelect}
83\newcommand{\ActionKbdDone}{\ButtonPlay}
84\newcommand{\ActionKbdAbort}{\ButtonMenu}
85\newcommand{\ActionKbdUp}{\ButtonScrollBack}
86\newcommand{\ActionKbdDown}{\ButtonScrollFwd}
87\newcommand{\ActionKbdMorseInput}{Long \ButtonMenu}
88\newcommand{\ActionKbdMorseSelect}{\ButtonSelect}
89
90%Button actions, Pitch Screen context
91\newcommand{\ActionPsToggleMode}{\ButtonPlay}
92\newcommand{\ActionPsIncSmall}{\ButtonScrollFwd}
93\newcommand{\ActionPsIncBig}{Long \ButtonScrollFwd}
94\newcommand{\ActionPsDecSmall}{\ButtonScrollBack}
95\newcommand{\ActionPsDecBig}{Long \ButtonScrollBack}
96\newcommand{\ActionPsNudgeLeft}{\ButtonLeft}
97\newcommand{\ActionPsNudgeRight}{\ButtonRight}
98\newcommand{\ActionPsReset}{\ButtonMenu}
99\newcommand{\ActionPsExit}{\ButtonSelect}