summaryrefslogtreecommitdiff
path: root/manual/platform/keymap-mrobe100.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-mrobe100.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-mrobe100.tex')
-rw-r--r--manual/platform/keymap-mrobe100.tex85
1 files changed, 85 insertions, 0 deletions
diff --git a/manual/platform/keymap-mrobe100.tex b/manual/platform/keymap-mrobe100.tex
new file mode 100644
index 0000000000..adb871858c
--- /dev/null
+++ b/manual/platform/keymap-mrobe100.tex
@@ -0,0 +1,85 @@
1% $Id$
2
3\newcommand{\ButtonPower}{\btnfnt{Power}}
4\newcommand{\ButtonPlay}{\btnfnt{Play}}
5\newcommand{\ButtonMenu}{\btnfnt{Menu}}
6\newcommand{\ButtonLeft}{\btnfnt{Left}}
7\newcommand{\ButtonRight}{\btnfnt{Right}}
8\newcommand{\ButtonUp}{\btnfnt{Up}}
9\newcommand{\ButtonDown}{\btnfnt{Down}}
10\newcommand{\ButtonVolUp}{\btnfnt{Volume up}}
11\newcommand{\ButtonVolDown}{\btnfnt{Volume down}}
12\newcommand{\ButtonSelect}{\btnfnt{Select}}
13\newcommand{\ButtonDisplay}{\btnfnt{Display}}
14\newcommand{\ButtonHold}{\btnfnt{Hold}}
15
16%Button actions, standard context
17\newcommand{\ActionStdPrev}{\ButtonUp}
18\newcommand{\ActionStdPrevRepeat}{Long \ButtonUp}
19\newcommand{\ActionStdNext}{\ButtonDown}
20\newcommand{\ActionStdNextRepeat}{Long \ButtonDown}
21\newcommand{\ActionStdCancel}{\ButtonLeft{} or \ButtonDisplay{} or \ButtonPower}
22\newcommand{\ActionStdContext}{Long \ButtonSelect}
23\newcommand{\ActionStdQuickScreen}{Long \ButtonMenu}
24\newcommand{\ActionQuickScreenExit}{\ButtonMenu}
25\newcommand{\ActionStdMenu}{\ButtonMenu}
26\newcommand{\ActionStdOk}{\ButtonSelect{} or \ButtonRight}
27\newcommand{\ActionStdUsbCharge}{\ButtonRight}
28
29%Button actions, wps context
30\newcommand{\ActionWpsPlay}{\ButtonPlay}
31\newcommand{\ActionWpsSkipNext}{\ButtonRight}
32\newcommand{\ActionWpsSkipPrev}{\ButtonLeft}
33\newcommand{\ActionWpsSeekBack}{Long \ButtonLeft}
34\newcommand{\ActionWpsSeekFwd}{Long \ButtonRight}
35\newcommand{\ActionWpsAbSetBNextDir}{\ButtonDisplay{} + \ButtonRight}
36\newcommand{\ActionWpsAbSetAPrevDir}{\ButtonDisplay{} + \ButtonLeft}
37\newcommand{\ActionWpsStop}{\ButtonPower{} or Long \ButtonPlay}
38\newcommand{\ActionWpsVolDown}{\ButtonDown}
39\newcommand{\ActionWpsVolUp}{\ButtonUp}
40\newcommand{\ActionWpsPitchScreen}{\ButtonDisplay{} + \ButtonUp/\ButtonDown}
41\newcommand{\ActionWpsQuickScreen}{Long \ButtonMenu}
42\newcommand{\ActionWpsMenu}{\ButtonMenu}
43\newcommand{\ActionWpsContext}{Long \ButtonSelect}
44\newcommand{\ActionWpsBrowse}{\ButtonSelect}
45\newcommand{\ActionWpsAbReset}{\ButtonDisplay{} + \ButtonSelect}
46\newcommand{\ActionWpsIdThreeScreen}{\ButtonDisplay{} + \ButtonMenu}
47
48%Button actions, tree context
49\newcommand{\ActionTreeWps}{\ButtonDisplay}
50\newcommand{\ActionTreeStop}{\ButtonPower{} or Long \ButtonPlay}
51\newcommand{\ActionTreeEnter}{\ButtonSelect{} or \ButtonRight}
52\newcommand{\ActionTreeParentDirectory}{\ButtonLeft}
53
54%Button actions, YesNo context
55\newcommand{\ActionYesNoAccept}{\ButtonSelect}
56
57%Button actions, Setting context
58\newcommand{\ActionSettingInc}{\ButtonUp}
59\newcommand{\ActionSettingDec}{\ButtonDown}
60
61%Button actions, Virtual Keyboard Context
62\newcommand{\ActionKbdLeft}{\ButtonLeft}
63\newcommand{\ActionKbdRight}{\ButtonRight}
64\newcommand{\ActionKbdSelect}{\ButtonSelect}
65\newcommand{\ActionKbdCursorLeft}{\ButtonDisplay{} + \ButtonLeft}
66\newcommand{\ActionKbdCursorRight}{\ButtonDisplay{} + \ButtonRight}
67\newcommand{\ActionKbdPageFlip}{\ButtonDisplay{} + \ButtonMenu}
68\newcommand{\ActionKbdDone}{\ButtonDisplay}
69\newcommand{\ActionKbdAbort}{\ButtonPower}
70\newcommand{\ActionKbdBackSpace}{\ButtonMenu}
71\newcommand{\ActionKbdMorseInput}{\ButtonDisplay{} + \ButtonPower}
72\newcommand{\ActionKbdMorseSelect}{\ButtonSelect}
73\newcommand{\ActionKbdUp}{\ButtonUp}
74\newcommand{\ActionKbdDown}{\ButtonDown}
75
76%Button actions, Pitch Screen context
77\newcommand{\ActionPsToggleMode}{\ButtonMenu}
78\newcommand{\ActionPsIncSmall}{\ButtonUp}
79\newcommand{\ActionPsIncBig}{Long \ButtonUp}
80\newcommand{\ActionPsDecSmall}{\ButtonDown}
81\newcommand{\ActionPsDecBig}{Long \ButtonDown}
82\newcommand{\ActionPsNudgeLeft}{\ButtonLeft}
83\newcommand{\ActionPsNudgeRight}{\ButtonRight}
84\newcommand{\ActionPsReset}{\ButtonDisplay}
85\newcommand{\ActionPsExit}{\ButtonPlay}