summaryrefslogtreecommitdiff
path: root/manual/platform/player.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/player.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/player.tex')
-rw-r--r--manual/platform/player.tex46
1 files changed, 2 insertions, 44 deletions
diff --git a/manual/platform/player.tex b/manual/platform/player.tex
index fcae03e8fc..8222c4442a 100644
--- a/manual/platform/player.tex
+++ b/manual/platform/player.tex
@@ -21,47 +21,5 @@
21\newcommand{\screenshotsize}{4cm} 21\newcommand{\screenshotsize}{4cm}
22\newcommand{\disk}{hard disk} 22\newcommand{\disk}{hard disk}
23 23
24\newcommand{\ButtonLeft}{\btnfnt{Minus}} 24% link external keymap file
25\newcommand{\ButtonRight}{\btnfnt{Plus}} 25\input{platform/keymap-player.tex}
26\newcommand{\ButtonOn}{\btnfnt{On}}
27\newcommand{\ButtonMenu}{\btnfnt{Menu}}
28\newcommand{\ButtonPlay}{\btnfnt{Play}}
29\newcommand{\ButtonStop}{\btnfnt{Stop}}
30
31%Button actions, standard context
32\newcommand{\ActionStdPrev}{\ButtonLeft}
33\newcommand{\ActionStdPrevRepeat}{Long \ButtonLeft}
34\newcommand{\ActionStdNext}{\ButtonRight}
35\newcommand{\ActionStdNextRepeat}{Long \ButtonRight}
36\newcommand{\ActionStdCancel}{\ButtonStop}
37\newcommand{\ActionStdContext}{Long \ButtonPlay}
38\newcommand{\ActionStdMenu}{\ButtonMenu}
39\newcommand{\ActionStdOk}{\ButtonPlay}
40
41%Button actions, wps context
42\newcommand{\ActionWpsPlay}{\ButtonPlay}
43\newcommand{\ActionWpsSkipNext}{\ButtonRight}
44\newcommand{\ActionWpsSkipPrev}{\ButtonLeft}
45\newcommand{\ActionWpsSeekBack}{Long \ButtonLeft}
46\newcommand{\ActionWpsSeekFwd}{Long \ButtonRight}
47
48\newcommand{\ActionWpsStop}{\ButtonStop}
49\newcommand{\ActionWpsVolDown}{\ButtonMenu{} + \ButtonLeft}
50\newcommand{\ActionWpsVolUp}{\ButtonMenu{} + \ButtonRight}
51
52\newcommand{\ActionWpsMenu}{\ButtonMenu}
53\newcommand{\ActionWpsContext}{Long \ButtonPlay}
54\newcommand{\ActionWpsBrowse}{\ButtonOn}
55\newcommand{\ActionWpsIdThreeScreen}{\ButtonMenu{} + \ButtonOn}
56
57%Button actions, tree context
58\newcommand{\ActionTreeWps}{\ButtonOn}
59\newcommand{\ActionTreeEnter}{\ButtonPlay}
60\newcommand{\ActionTreeParentDirectory}{\ButtonStop}
61
62%Button actions, YesNo context
63\newcommand{\ActionYesNoAccept}{\ButtonPlay}
64
65%Button actions, Setting context
66\newcommand{\ActionSettingInc}{\ButtonRight}
67\newcommand{\ActionSettingDec}{\ButtonLeft}