diff options
author | Marianne Arnold <pixelma@rockbox.org> | 2008-11-29 11:04:02 +0000 |
---|---|---|
committer | Marianne Arnold <pixelma@rockbox.org> | 2008-11-29 11:04:02 +0000 |
commit | e090bea1fac8f9f0d243d3c5e974b3f30b8cfff3 (patch) | |
tree | 5ae43bdeaa8e0270a3ce04f78fe731fbefcaca68 /manual/platform/keymap-player.tex | |
parent | e8f22ac6fd33ff782fc44618613797b22479ea81 (diff) | |
download | rockbox-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-player.tex')
-rw-r--r-- | manual/platform/keymap-player.tex | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/manual/platform/keymap-player.tex b/manual/platform/keymap-player.tex new file mode 100644 index 0000000000..efd9da4002 --- /dev/null +++ b/manual/platform/keymap-player.tex | |||
@@ -0,0 +1,46 @@ | |||
1 | % $Id$ | ||
2 | |||
3 | \newcommand{\ButtonLeft}{\btnfnt{Minus}} | ||
4 | \newcommand{\ButtonRight}{\btnfnt{Plus}} | ||
5 | \newcommand{\ButtonOn}{\btnfnt{On}} | ||
6 | \newcommand{\ButtonMenu}{\btnfnt{Menu}} | ||
7 | \newcommand{\ButtonPlay}{\btnfnt{Play}} | ||
8 | \newcommand{\ButtonStop}{\btnfnt{Stop}} | ||
9 | |||
10 | %Button actions, standard context | ||
11 | \newcommand{\ActionStdPrev}{\ButtonLeft} | ||
12 | \newcommand{\ActionStdPrevRepeat}{Long \ButtonLeft} | ||
13 | \newcommand{\ActionStdNext}{\ButtonRight} | ||
14 | \newcommand{\ActionStdNextRepeat}{Long \ButtonRight} | ||
15 | \newcommand{\ActionStdCancel}{\ButtonStop} | ||
16 | \newcommand{\ActionStdContext}{Long \ButtonPlay} | ||
17 | \newcommand{\ActionStdMenu}{\ButtonMenu} | ||
18 | \newcommand{\ActionStdOk}{\ButtonPlay} | ||
19 | |||
20 | %Button actions, wps context | ||
21 | \newcommand{\ActionWpsPlay}{\ButtonPlay} | ||
22 | \newcommand{\ActionWpsSkipNext}{\ButtonRight} | ||
23 | \newcommand{\ActionWpsSkipPrev}{\ButtonLeft} | ||
24 | \newcommand{\ActionWpsSeekBack}{Long \ButtonLeft} | ||
25 | \newcommand{\ActionWpsSeekFwd}{Long \ButtonRight} | ||
26 | |||
27 | \newcommand{\ActionWpsStop}{\ButtonStop} | ||
28 | \newcommand{\ActionWpsVolDown}{\ButtonMenu{} + \ButtonLeft} | ||
29 | \newcommand{\ActionWpsVolUp}{\ButtonMenu{} + \ButtonRight} | ||
30 | |||
31 | \newcommand{\ActionWpsMenu}{\ButtonMenu} | ||
32 | \newcommand{\ActionWpsContext}{Long \ButtonPlay} | ||
33 | \newcommand{\ActionWpsBrowse}{\ButtonOn} | ||
34 | \newcommand{\ActionWpsIdThreeScreen}{\ButtonMenu{} + \ButtonOn} | ||
35 | |||
36 | %Button actions, tree context | ||
37 | \newcommand{\ActionTreeWps}{\ButtonOn} | ||
38 | \newcommand{\ActionTreeEnter}{\ButtonPlay} | ||
39 | \newcommand{\ActionTreeParentDirectory}{\ButtonStop} | ||
40 | |||
41 | %Button actions, YesNo context | ||
42 | \newcommand{\ActionYesNoAccept}{\ButtonPlay} | ||
43 | |||
44 | %Button actions, Setting context | ||
45 | \newcommand{\ActionSettingInc}{\ButtonRight} | ||
46 | \newcommand{\ActionSettingDec}{\ButtonLeft} | ||