summaryrefslogtreecommitdiff
path: root/manual/platform/keymap-ipod1g2g.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-ipod1g2g.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-ipod1g2g.tex')
-rw-r--r--manual/platform/keymap-ipod1g2g.tex79
1 files changed, 79 insertions, 0 deletions
diff --git a/manual/platform/keymap-ipod1g2g.tex b/manual/platform/keymap-ipod1g2g.tex
new file mode 100644
index 0000000000..4656391bde
--- /dev/null
+++ b/manual/platform/keymap-ipod1g2g.tex
@@ -0,0 +1,79 @@
1% $Id$
2
3\newcommand{\ButtonLeft}{\btnfnt{Prev}}
4\newcommand{\ButtonRight}{\btnfnt{Next}}
5\newcommand{\ButtonMenu}{\btnfnt{Menu}}
6\newcommand{\ButtonPlay}{\btnfnt{Play}}
7\newcommand{\ButtonSelect}{\btnfnt{Select}}
8\newcommand{\ButtonScrollFwd}{\btnfnt{Scroll Forward}}
9\newcommand{\ButtonScrollBack}{\btnfnt{Scroll Backward}}
10\newcommand{\ButtonHold}{\btnfnt{Hold}}
11
12%Button actions, standard context
13\newcommand{\ActionStdPrev}{\ButtonScrollBack}
14\newcommand{\ActionStdPrevRepeat}{Long \ButtonScrollBack}
15\newcommand{\ActionStdNext}{\ButtonScrollFwd}
16\newcommand{\ActionStdNextRepeat}{Long \ButtonScrollFwd}
17\newcommand{\ActionStdCancel}{\ButtonLeft{} or Long \ButtonPlay}
18\newcommand{\ActionStdContext}{Long \ButtonSelect}
19\newcommand{\ActionStdQuickScreen}{Long \ButtonMenu}
20\newcommand{\ActionQuickScreenExit}{\ButtonMenu}
21\newcommand{\ActionStdMenu}{\ButtonMenu}
22\newcommand{\ActionStdOk}{\ButtonSelect{} or \ButtonRight}
23
24%Button actions, wps context
25\newcommand{\ActionWpsPlay}{\ButtonPlay}
26\newcommand{\ActionWpsSkipNext}{\ButtonRight}
27\newcommand{\ActionWpsSkipPrev}{\ButtonLeft}
28\newcommand{\ActionWpsSeekBack}{Long \ButtonLeft}
29\newcommand{\ActionWpsSeekFwd}{Long \ButtonRight}
30
31\newcommand{\ActionWpsStop}{Long \ButtonPlay}
32\newcommand{\ActionWpsVolDown}{\ButtonScrollBack}
33\newcommand{\ActionWpsVolUp}{\ButtonScrollFwd}
34
35\newcommand{\ActionWpsQuickScreen}{Long \ButtonMenu}
36\newcommand{\ActionWpsMenu}{\ButtonMenu}
37\newcommand{\ActionWpsContext}{Long \ButtonSelect}
38\newcommand{\ActionWpsBrowse}{\ButtonSelect}
39
40%Button actions, tree context
41\newcommand{\ActionTreeWps}{\ButtonPlay}
42\newcommand{\ActionTreeStop}{Long \ButtonPlay}
43\newcommand{\ActionTreeEnter}{\ButtonSelect{} or \ButtonRight}
44\newcommand{\ActionTreeParentDirectory}{\ButtonLeft}
45
46%Button actions, YesNo context
47\newcommand{\ActionYesNoAccept}{\ButtonPlay}
48
49%Button actions, Setting context
50\newcommand{\ActionSettingInc}{\ButtonScrollFwd}
51\newcommand{\ActionSettingDec}{\ButtonScrollBack}
52
53%Button actions, Alarm screen
54\newcommand{\ActionAlarmSet}{\ButtonSelect}
55\newcommand{\ActionAlarmCancel}{\ButtonMenu}
56\newcommand{\ActionAlarmHoursInc}{\ButtonRight}
57\newcommand{\ActionAlarmHoursDec}{\ButtonLeft}
58
59%Button actions, Virtual Keyboard Context
60\newcommand{\ActionKbdLeft}{\ButtonLeft}
61\newcommand{\ActionKbdRight}{\ButtonRight}
62\newcommand{\ActionKbdSelect}{\ButtonSelect}
63\newcommand{\ActionKbdDone}{\ButtonPlay}
64\newcommand{\ActionKbdAbort}{\ButtonMenu}
65\newcommand{\ActionKbdUp}{\ButtonScrollBack}
66\newcommand{\ActionKbdDown}{\ButtonScrollFwd}
67\newcommand{\ActionKbdMorseInput}{Long \ButtonMenu}
68\newcommand{\ActionKbdMorseSelect}{\ButtonSelect}
69
70%Button actions, Pitch Screen context
71\newcommand{\ActionPsToggleMode}{\ButtonPlay}
72\newcommand{\ActionPsIncSmall}{\ButtonScrollFwd}
73\newcommand{\ActionPsIncBig}{Long \ButtonScrollFwd}
74\newcommand{\ActionPsDecSmall}{\ButtonScrollBack}
75\newcommand{\ActionPsDecBig}{Long \ButtonScrollBack}
76\newcommand{\ActionPsNudgeLeft}{\ButtonLeft}
77\newcommand{\ActionPsNudgeRight}{\ButtonRight}
78\newcommand{\ActionPsReset}{\ButtonMenu}
79\newcommand{\ActionPsExit}{\ButtonSelect}