summaryrefslogtreecommitdiff
path: root/manual/platform/keymap-h10.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-h10.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-h10.tex')
-rw-r--r--manual/platform/keymap-h10.tex110
1 files changed, 110 insertions, 0 deletions
diff --git a/manual/platform/keymap-h10.tex b/manual/platform/keymap-h10.tex
new file mode 100644
index 0000000000..20b93a7da1
--- /dev/null
+++ b/manual/platform/keymap-h10.tex
@@ -0,0 +1,110 @@
1% $Id$
2
3\newcommand{\ButtonLeft}{\btnfnt{Cancel}}
4\newcommand{\ButtonRight}{\btnfnt{Select}}
5\newcommand{\ButtonRew}{\btnfnt{Prev}}
6\newcommand{\ButtonPlay}{\btnfnt{Play}}
7\newcommand{\ButtonFF}{\btnfnt{Next}}
8\newcommand{\ButtonScrollUp}{\btnfnt{Scroll Up}}
9\newcommand{\ButtonScrollDown}{\btnfnt{Scroll Down}}
10\newcommand{\ButtonPower}{\btnfnt{Power}}
11\newcommand{\ButtonHold}{\btnfnt{Hold}}
12
13%Button actions, standard context
14\newcommand{\ActionStdPrev}{\ButtonScrollUp}
15\newcommand{\ActionStdPrevRepeat}{Long \ButtonScrollUp}
16\newcommand{\ActionStdNext}{\ButtonScrollDown}
17\newcommand{\ActionStdNextRepeat}{Long \ButtonScrollDown}
18\newcommand{\ActionStdCancel}{\ButtonLeft}
19\newcommand{\ActionStdContext}{Long \ButtonRight}
20\newcommand{\ActionStdQuickScreen}{Long \ButtonLeft}
21\newcommand{\ActionQuickScreenExit}{\ButtonLeft}
22\newcommand{\ActionStdMenu}{\ButtonPower}
23\newcommand{\ActionStdOk}{\ButtonRight}
24\newcommand{\ActionStdUsbCharge}{\ButtonRight}
25
26%Button actions, wps context
27\newcommand{\ActionWpsPlay}{\ButtonPlay}
28\newcommand{\ActionWpsSkipNext}{\ButtonFF}
29\newcommand{\ActionWpsSkipPrev}{\ButtonRew}
30\newcommand{\ActionWpsSeekBack}{Long \ButtonRew}
31\newcommand{\ActionWpsSeekFwd}{Long \ButtonFF}
32
33\newcommand{\ActionWpsStop}{Long \ButtonPlay}
34\newcommand{\ActionWpsVolDown}{\ButtonScrollDown}
35\newcommand{\ActionWpsVolUp}{\ButtonScrollUp}
36
37\newcommand{\ActionWpsQuickScreen}{Long \ButtonLeft}
38\newcommand{\ActionWpsMenu}{\ButtonPower}
39\newcommand{\ActionWpsContext}{Long \ButtonRight}
40\newcommand{\ActionWpsBrowse}{\ButtonLeft}
41\newcommand{\ActionWpsPitchScreen}{\ButtonPlay+\ButtonLeft}
42\newcommand{\ActionWpsIdThreeScreen}{\ButtonPlay+\ButtonRight}
43
44\newcommand{\ActionWpsAbSetBNextDir}{\ButtonPower{} + \ButtonFF}
45\newcommand{\ActionWpsAbSetAPrevDir}{\ButtonPower{} + \ButtonRew}
46\newcommand{\ActionWpsAbReset}{\ButtonPower{} + \ButtonPlay}
47
48%Button actions, tree context
49\newcommand{\ActionTreeWps}{\ButtonPlay}
50\newcommand{\ActionTreeStop}{Long \ButtonPlay}
51\newcommand{\ActionTreeEnter}{\ButtonRight}
52\newcommand{\ActionTreeParentDirectory}{\ButtonLeft}
53
54%Button actions, YesNo context
55\newcommand{\ActionYesNoAccept}{\ButtonRight}
56
57%Button actions, Setting context
58\newcommand{\ActionSettingInc}{\ButtonScrollUp}
59\newcommand{\ActionSettingDec}{\ButtonScrollDown}
60
61%Button actions, Alarm screen
62\newcommand{\ActionAlarmSet}{\ActionStdOk}
63\newcommand{\ActionAlarmCancel}{\ActionStdCancel}
64\newcommand{\ActionAlarmHoursInc}{\ButtonRew}
65\newcommand{\ActionAlarmHoursDec}{\ButtonFF}
66
67%Button actions, Virtual Keyboard Context
68\newcommand{\ActionKbdLeft}{\ButtonLeft}
69\newcommand{\ActionKbdRight}{\ButtonRight}
70\newcommand{\ActionKbdSelect}{\ButtonRew}
71\newcommand{\ActionKbdDone}{\ButtonPlay}
72\newcommand{\ActionKbdAbort}{\ButtonFF}
73\newcommand{\ActionKbdUp}{\ButtonScrollUp}
74\newcommand{\ActionKbdDown}{\ButtonScrollDown}
75\newcommand{\ActionKbdMorseInput}{\ButtonPlay+\ButtonRew}
76\newcommand{\ActionKbdMorseSelect}{\ButtonRew}
77
78%Button actions, Pitch Screen context
79\newcommand{\ActionPsToggleMode}{\ButtonPower}
80\newcommand{\ActionPsIncSmall}{\ButtonScrollUp}
81\newcommand{\ActionPsIncBig}{Long \ButtonScrollUp}
82\newcommand{\ActionPsDecSmall}{\ButtonScrollDown}
83\newcommand{\ActionPsDecBig}{Long \ButtonScrollDown}
84\newcommand{\ActionPsNudgeLeft}{\ButtonRew}
85\newcommand{\ActionPsNudgeRight}{\ButtonFF}
86\newcommand{\ActionPsReset}{\ButtonPlay}
87\newcommand{\ActionPsExit}{\ButtonLeft}
88
89%Button actions, FM radio context
90\newcommand{\ActionFMPreset}{\ButtonRight}
91\newcommand{\ActionFMMenu}{Long \ButtonRight}
92\newcommand{\ActionFMMode}{\ButtonLeft}
93\newcommand{\ActionFMStop}{Long \ButtonPlay}
94\newcommand{\ActionFMExit}{\ButtonPower}
95\newcommand{\ActionFMPlay}{\ButtonPlay}
96\newcommand{\ActionFMSettingsInc}{\ButtonScrollUp}
97\newcommand{\ActionFMSettingsDec}{\ButtonScrollDown}
98\newcommand{\ActionFMPrev}{\ButtonRew}
99\newcommand{\ActionFMNext}{\ButtonFF}
100
101%Button actions, Recording screen context
102\newcommand{\ActionRecPause}{\ButtonPlay}
103\newcommand{\ActionRecNewfile}{\ButtonRight}
104\newcommand{\ActionRecExit}{\ButtonLeft}
105\newcommand{\ActionRecMenu}{\ButtonPower}
106\newcommand{\ActionRecSettingsInc}{\ActionSettingInc}
107\newcommand{\ActionRecSettingsDec}{\ActionSettingDec}
108\newcommand{\ActionRecPrev}{\ButtonRew}
109\newcommand{\ActionRecNext}{\ButtonFF}
110