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/ondiosp.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/ondiosp.tex')
-rw-r--r-- | manual/platform/ondiosp.tex | 64 |
1 files changed, 2 insertions, 62 deletions
diff --git a/manual/platform/ondiosp.tex b/manual/platform/ondiosp.tex index b12a1ca0c5..17fe187b80 100644 --- a/manual/platform/ondiosp.tex +++ b/manual/platform/ondiosp.tex | |||
@@ -20,65 +20,5 @@ | |||
20 | \newcommand{\screenshotsize}{4cm} | 20 | \newcommand{\screenshotsize}{4cm} |
21 | \newcommand{\disk}{flash storage} | 21 | \newcommand{\disk}{flash storage} |
22 | 22 | ||
23 | \newcommand{\ButtonLeft}{\btnfnt{Left}} | 23 | % link external keymap file |
24 | \newcommand{\ButtonRight}{\btnfnt{Right}} | 24 | \input{platform/keymap-ondio.tex} |
25 | \newcommand{\ButtonOff}{\btnfnt{On/Off}} | ||
26 | \newcommand{\ButtonUp}{\btnfnt{Up}} | ||
27 | \newcommand{\ButtonDown}{\btnfnt{Down}} | ||
28 | \newcommand{\ButtonMenu}{\btnfnt{Mode}} | ||
29 | |||
30 | %Button actions, standard context | ||
31 | \newcommand{\ActionStdPrev}{\ButtonUp} | ||
32 | \newcommand{\ActionStdPrevRepeat}{Long \ButtonUp} | ||
33 | \newcommand{\ActionStdNext}{\ButtonDown} | ||
34 | \newcommand{\ActionStdNextRepeat}{Long \ButtonDown} | ||
35 | \newcommand{\ActionStdCancel}{\ButtonLeft{} or \ButtonOff} | ||
36 | \newcommand{\ActionStdContext}{Long \ButtonRight} | ||
37 | \newcommand{\ActionStdMenu}{Long \ButtonMenu} | ||
38 | \newcommand{\ActionStdOk}{\ButtonRight} | ||
39 | \newcommand{\ActionStdUsbCharge}{\ButtonMenu} | ||
40 | |||
41 | %Button actions, wps context | ||
42 | \newcommand{\ActionWpsPlay}{\ButtonOff} | ||
43 | \newcommand{\ActionWpsSkipNext}{\ButtonRight} | ||
44 | \newcommand{\ActionWpsSkipPrev}{\ButtonLeft} | ||
45 | \newcommand{\ActionWpsSeekBack}{Long \ButtonLeft} | ||
46 | \newcommand{\ActionWpsSeekFwd}{Long \ButtonRight} | ||
47 | \newcommand{\ActionWpsStop}{Long \ButtonOff} | ||
48 | \newcommand{\ActionWpsVolDown}{\ButtonDown} | ||
49 | \newcommand{\ActionWpsVolUp}{\ButtonUp} | ||
50 | \newcommand{\ActionWpsContext}{Long \ButtonMenu} | ||
51 | \newcommand{\ActionWpsBrowse}{\ButtonMenu} | ||
52 | |||
53 | %Button actions, tree context | ||
54 | \newcommand{\ActionTreeWps}{\ButtonMenu} | ||
55 | \newcommand{\ActionTreeStop}{\ButtonOff} | ||
56 | \newcommand{\ActionTreeEnter}{\ButtonRight} | ||
57 | \newcommand{\ActionTreeParentDirectory}{\ButtonLeft} | ||
58 | |||
59 | %Button actions, YesNo context | ||
60 | \newcommand{\ActionYesNoAccept}{\ButtonRight} | ||
61 | |||
62 | %Button actions, Virtual Keyboard Context | ||
63 | \newcommand{\ActionKbdLeft}{\ButtonLeft} | ||
64 | \newcommand{\ActionKbdRight}{\ButtonRight} | ||
65 | \newcommand{\ActionKbdSelect}{\ButtonMenu} | ||
66 | \newcommand{\ActionKbdDone}{Long \ButtonMenu} | ||
67 | \newcommand{\ActionKbdAbort}{\ButtonOff} | ||
68 | \newcommand{\ActionKbdUp}{\ButtonUp} | ||
69 | \newcommand{\ActionKbdDown}{\ButtonDown} | ||
70 | |||
71 | %Button actions, Setting context | ||
72 | \newcommand{\ActionSettingInc}{\ButtonUp} | ||
73 | \newcommand{\ActionSettingDec}{\ButtonDown} | ||
74 | |||
75 | %Button actions, Pitch Screen context | ||
76 | \newcommand{\ActionPsToggleMode}{Long \ButtonMenu} | ||
77 | \newcommand{\ActionPsIncSmall}{\ButtonUp} | ||
78 | \newcommand{\ActionPsIncBig}{Long \ButtonUp} | ||
79 | \newcommand{\ActionPsDecSmall}{\ButtonDown} | ||
80 | \newcommand{\ActionPsDecBig}{Long \ButtonDown} | ||
81 | \newcommand{\ActionPsNudgeLeft}{\ButtonLeft} | ||
82 | \newcommand{\ActionPsNudgeRight}{\ButtonRight} | ||
83 | \newcommand{\ActionPsReset}{\ButtonMenu} | ||
84 | \newcommand{\ActionPsExit}{\ButtonOff} | ||