4.3.0r28
[enigma2.git] / usr / share / enigma2 / keymap.xml
1 <keymap>
2         <map context="ListboxActions">
3                 <device name="keyboard">
4                         <key id="a" mapto="up" flags="mr" />
5                         <key id="b" mapto="down" flags="mr" />
6                 </device>
7                 <key id="KEY_UP" mapto="moveUp" flags="mr" />
8                 <key id="KEY_DOWN" mapto="moveDown" flags="mr" />
9                 <key id="KEY_HOME" mapto="moveTop" flags="mr" />
10                 <key id="KEY_END" mapto="moveEnd" flags="mr" />
11                 <key id="KEY_PAGEUP" mapto="pageUp" flags="mr" />
12                 <key id="KEY_PAGEDOWN" mapto="pageDown" flags="mr" />
13                 <key id="KEY_LEFT" mapto="pageUp" flags="mr" />
14                 <key id="KEY_RIGHT" mapto="pageDown" flags="mr" />
15                 
16                 <key id="1" mapto="moveUp" flags="mr" />
17                 <key id="2" mapto="moveDown" flags="mr" />
18         </map>
19         
20         <map context="KeyboardInputActions">
21                 <key id="KEY_LEFT" mapto="left" flags="mr" />
22                 <key id="KEY_RIGHT" mapto="right" flags="mr" />
23                 <key id="KEY_HOME" mapto="home" flags="mr" />
24                 <key id="KEY_END" mapto="end" flags="mr" />
25                 <key id="KEY_BACK" mapto="home" flags="mr" />
26                 <key id="KEY_FORWARD" mapto="end" flags="mr" />
27                 <key id="KEY_DELETE" mapto="deleteForward" flags="mr" />
28                 <key id="KEY_BACKSPACE" mapto="deleteBackward" flags="mr" />
29                 <key id="KEY_TAB" mapto="tab" flags="mr" />
30                 <key id="KEY_INSERT" mapto="toggleOverwrite" flags="m" />
31         </map>
32
33         <map context="SetupActions">
34                 <device name="compatible: pcKeyboard">
35                         <key id="KEY_F1" mapto="cancel" flags="m" />
36                         <key id="KEY_F2" mapto="save" flags="m" />
37                         <key id="KEY_DELETE" mapto="deleteForward" flags="mr" />
38                         <key id="KEY_BACKSPACE" mapto="deleteBackward" flags="mr" />
39                 </device>
40                 <key id="KEY_ENTER" mapto="ok" flags="m" />
41                 <key id="KEY_KPENTER" mapto="ok" flags="m" />
42                 <key id="KEY_OK" mapto="ok" flags="m" />
43                 <key id="KEY_EXIT" mapto="cancel" flags="m" />
44                 <key id="KEY_ESC" mapto="cancel" flags="m" />
45                 <key id="KEY_LEFT" mapto="left" flags="mr" />
46                 <key id="KEY_RIGHT" mapto="right" flags="mr" />
47                 <key id="KEY_RED" mapto="cancel" flags="m" />
48                 <key id="KEY_GREEN" mapto="save" flags="m" />
49                 <key id="KEY_PAGEUP" mapto="previousSection" flags="mr" />
50                 <key id="KEY_PAGEDOWN" mapto="nextSection" flags="mr" />
51                 <key id="KEY_CHANNELUP" mapto="previousSection" flags="mr" />
52                 <key id="KEY_CHANNELDOWN" mapto="nextSection" flags="mr" />
53                 <device name="dreambox remote control (native)">
54                         <key id="KEY_MUTE" mapto="deleteForward" flags="mr" />
55                         <key id="KEY_NEXT" mapto="deleteForward" flags="mr" />
56                         <key id="KEY_PREVIOUS" mapto="deleteBackward" flags="mr" />
57                 </device>
58                 <device name="dreambox advanced remote control (native)">
59                         <key id="KEY_MUTE" mapto="deleteForward" flags="mr" />
60                         <key id="KEY_NEXT" mapto="deleteForward" flags="mr" />
61                         <key id="KEY_PREVIOUS" mapto="deleteBackward" flags="mr" />
62                 </device>
63                 <key id="KEY_1" mapto="1" flags="m" />
64                 <key id="KEY_2" mapto="2" flags="m" />
65                 <key id="KEY_3" mapto="3" flags="m" />
66                 <key id="KEY_4" mapto="4" flags="m" />
67                 <key id="KEY_5" mapto="5" flags="m" />
68                 <key id="KEY_6" mapto="6" flags="m" />
69                 <key id="KEY_7" mapto="7" flags="m" />
70                 <key id="KEY_8" mapto="8" flags="m" />
71                 <key id="KEY_9" mapto="9" flags="m" />
72                 <key id="KEY_0" mapto="0" flags="m" />
73         </map>
74         
75         <map context="InputActions">
76                 <key id="KEY_LEFT" mapto="left" flags="mr" />
77                 <key id="KEY_RIGHT" mapto="right" flags="mr" />
78                 <key id="KEY_1" mapto="1" flags="m" />
79                 <key id="KEY_2" mapto="2" flags="m" />
80                 <key id="KEY_3" mapto="3" flags="m" />
81                 <key id="KEY_4" mapto="4" flags="m" />
82                 <key id="KEY_5" mapto="5" flags="m" />
83                 <key id="KEY_6" mapto="6" flags="m" />
84                 <key id="KEY_7" mapto="7" flags="m" />
85                 <key id="KEY_8" mapto="8" flags="m" />
86                 <key id="KEY_9" mapto="9" flags="m" />
87                 <key id="KEY_0" mapto="0" flags="m" />
88         </map>
89
90         <map context="InfobarEPGActions">
91                 <key id="KEY_INFO" mapto="showEventInfo" flags="b" />
92                 <key id="KEY_INFO" mapto="showEventInfoPlugin" flags="l" />
93                 <device name="dreambox advanced remote control (native)">
94                         <key id="KEY_YELLOW" mapto="showEventList" flags="b" />
95                 </device>
96                 <device name="dreambox ir keyboard">
97                         <key id="KEY_YELLOW" mapto="showEventList" flags="b" />
98                 </device>
99         </map>
100         
101         <map context="InfobarInstantRecord">
102                 <device name="dreambox advanced remote control (native)">
103                         <key id="KEY_RECORD" mapto="instantRecord" flags="m" />
104                         <!-- this breaks timeshift end!!! key id="KEY_STOP" mapto="instantRecord" flags="m" /-->
105                 </device>
106                 <device name="dreambox ir keyboard">
107                         <key id="KEY_RECORD" mapto="instantRecord" flags="m" />
108                 </device>
109                 <device name="dreambox remote control (native)">
110                         <key id="KEY_RED" mapto="instantRecord" flags="b" />
111                 </device>
112                 <device name="compatible: pcKeyboard">
113                         <key id="KEY_F1" mapto="instantRecord" flags="b" />
114                 </device>
115         </map>
116
117         <map context="InfobarExtensions">
118                 <device name="compatible: pcKeyboard">
119                         <key id="KEY_F4" mapto="extensions" flags="b" />
120                 </device>
121                 <key id="KEY_BLUE" mapto="extensions" flags="b" />
122         </map>
123         
124         <map context="SatlistShortcutAction">
125                 <device name="compatible: pcKeyboard">
126                         <key id="KEY_F4" mapto="nothingconnected" flags="b" />
127                 </device>
128                 <key id="KEY_BLUE" mapto="nothingconnected" flags="b" />
129         </map>
130         
131         <map context="InfobarChannelSelection">
132                 <key id="KEY_LEFT" mapto="zapUp" flags="mr" />
133                 <key id="KEY_RIGHT" mapto="zapDown" flags="mr" />
134                 <key id="KEY_UP" mapto="switchChannelUp" flags="mr" />
135                 <key id="KEY_DOWN" mapto="switchChannelDown" flags="mr" />
136                 <key id="KEY_PREVIOUS" mapto="historyBack" flags="mr" />
137                 <key id="KEY_NEXT" mapto="historyNext" flags="mr" />
138                 <key id="KEY_BACK" mapto="historyBack" flags="mr" />
139                 <key id="KEY_FORWARD" mapto="historyNext" flags="mr" />
140                 <key id="KEY_CHANNELUP" mapto="openServiceList" flags="m" />
141                 <key id="KEY_CHANNELDOWN" mapto="openServiceList" flags="m" />
142                 <key id="BTN_0" mapto="zapUp" flags="mr" />
143                 <key id="BTN_1" mapto="zapDown" flags="mr" />
144         </map>
145         
146         <map context="MinuteInputActions">
147                 <key id="KEY_UP" mapto="up" flags="mr" />
148                 <key id="KEY_DOWN" mapto="down" flags="mr" />
149                 <key id="KEY_OK" mapto="ok" flags="m" />
150                 <key id="KEY_ENTER" mapto="ok" flags="m" />
151                 <key id="KEY_KPENTER" mapto="ok" flags="m" />
152                 <key id="KEY_EXIT" mapto="cancel" flags="m" />
153                 <key id="KEY_ESC" mapto="cancel" flags="m" />
154         </map>
155
156         <map context="InputAsciiActions">
157                 <device name="compatible: pcKeyboard">
158                         <key id="KEY_ASCII" mapto="gotAsciiCode" flags="mr" />
159                 </device>
160         </map>
161
162         <map context="InputBoxActions">
163                 <key id="KEY_LEFT" mapto="left" flags="mr" />
164                 <key id="KEY_RIGHT" mapto="right" flags="mr" />
165                 <key id="KEY_OK" mapto="ok" flags="m" />
166                 <key id="KEY_ENTER" mapto="ok" flags="m" />
167                 <key id="KEY_KPENTER" mapto="ok" flags="m" />
168                 <key id="KEY_EXIT" mapto="back" flags="m" />
169                 <key id="KEY_ESC" mapto="back" flags="m" />
170                 <device name="compatible: pcKeyboard">
171                         <key id="KEY_DELETE" mapto="deleteForward" flags="mr" />
172                         <key id="KEY_BACKSPACE" mapto="deleteBackward" flags="mr" />
173                 </device>
174                 <device name="dreambox remote control (native)">
175                         <key id="KEY_MUTE" mapto="deleteForward" flags="mr" />
176                         <key id="KEY_NEXT" mapto="deleteForward" flags="mr" />
177                         <key id="KEY_PREVIOUS" mapto="deleteBackward" flags="mr" />
178                 </device>
179                 <device name="dreambox advanced remote control (native)">
180                         <key id="KEY_MUTE" mapto="deleteForward" flags="mr" />
181                         <key id="KEY_NEXT" mapto="deleteForward" flags="mr" />
182                         <key id="KEY_PREVIOUS" mapto="deleteBackward" flags="mr" />
183                 </device>
184                 <key id="KEY_1" mapto="1" flags="m" />
185                 <key id="KEY_2" mapto="2" flags="m" />
186                 <key id="KEY_3" mapto="3" flags="m" />
187                 <key id="KEY_4" mapto="4" flags="m" />
188                 <key id="KEY_5" mapto="5" flags="m" />
189                 <key id="KEY_6" mapto="6" flags="m" />
190                 <key id="KEY_7" mapto="7" flags="m" />
191                 <key id="KEY_8" mapto="8" flags="m" />
192                 <key id="KEY_9" mapto="9" flags="m" />
193                 <key id="KEY_0" mapto="0" flags="m" />
194         </map>
195         
196         <map context="WizardActions">
197                 <key id="KEY_LEFT" mapto="left" flags="mr" />
198                 <key id="KEY_RIGHT" mapto="right" flags="mr" />
199                 <key id="KEY_UP" mapto="up" flags="mr" />
200                 <key id="KEY_DOWN" mapto="down" flags="mr" />
201                 <key id="KEY_OK" mapto="ok" flags="m" />
202                 <key id="KEY_ENTER" mapto="ok" flags="m" />
203                 <key id="KEY_KPENTER" mapto="ok" flags="m" />
204                 <key id="KEY_EXIT" mapto="back" flags="m" />
205                 <key id="KEY_ESC" mapto="back" flags="m" />
206                 <key id="KEY_TEXT" mapto="text" flags="m" />
207                 <key id="KEY_VIDEO" mapto="video" flags="m" />
208         </map>
209         
210         <map context="InfobarMenuActions">
211                 <key id="KEY_MENU" mapto="mainMenu" flags="mr" />
212                 <device name="compatible: pcKeyboard">
213                         <key id="KEY_SPACE" mapto="mainMenu" flags="mr" />
214                 </device>
215         </map>
216         
217         <map context="MenuActions">
218                 <key id="KEY_MENU" mapto="menu" flags="mr" />
219                 <device name="compatible: pcKeyboard">
220                         <key id="KEY_SPACE" mapto="menu" flags="mr" />
221                 </device>
222         </map>
223         
224         <map context="InfobarShowHideActions">
225                 <key id="KEY_OK" mapto="toggleShow" flags="m" />
226                 <key id="KEY_ENTER" mapto="toggleShow" flags="m" />
227                 <key id="KEY_KPENTER" mapto="toggleShow" flags="m" />
228                 <key id="KEY_EXIT" mapto="hide" flags="m" />
229                 <key id="KEY_ESC" mapto="hide" flags="m" />
230         </map>
231
232         <map context="InfobarActions">
233                 <device name="compatible: pcKeyboard; dreambox ir keyboard">
234                         <key id="KEY_F8" mapto="showMovies" flags="m" />
235                 </device>
236                 <key id="KEY_VIDEO" mapto="showMovies" flags="m" />
237                 <key id="KEY_RADIO" mapto="showRadio" flags="m" />
238                 <key id="KEY_TV" mapto="showTv" flags="m" />
239         </map>
240
241         <map context="InfobarAudioSelectionActions">
242                 <device name="compatible: pcKeyboard">
243                         <key id="KEY_F3" mapto="audioSelection" flags="b" />
244                 </device>
245                 <device name="dreambox remote control (native)">
246                         <key id="KEY_AUDIO" mapto="audioSelection" flags="m" />
247                 </device>
248                 <device name="dreambox ir keyboard">
249                         <key id="KEY_AUDIO" mapto="audioSelection" flags="m" />
250                 </device>
251                 <device name="dreambox advanced remote control (native)">
252                         <key id="KEY_AUDIO" mapto="audioSelection" flags="m" />
253                 </device>
254         </map>
255
256         <map context="InfobarSubserviceSelectionActions">
257                 <key id="KEY_GREEN" mapto="subserviceSelection" flags="b" />
258         </map>
259
260         <map context="InfobarSubserviceQuickzapActions">
261                 <key id="KEY_PREVIOUS" mapto="prevSubservice" flags="m" />
262                 <key id="KEY_NEXT" mapto="nextSubservice" flags="m" />
263                 <key id="KEY_BACK" mapto="prevSubservice" flags="m" />
264                 <key id="KEY_FORWARD" mapto="nextSubservice" flags="m" />
265                 <key id="KEY_EXIT" mapto="exit" flags="m" />
266                 <key id="KEY_ESC" mapto="exit" flags="m" />
267                 <device name="dreambox remote control (native)">
268                         <key id="KEY_TV" mapto="exit" flags="m" />
269                 </device>
270                 <device name="dreambox advanced remote control (native)">
271                         <key id="KEY_TV" mapto="exit" flags="m" />
272                 </device>
273         </map>
274
275         <map context="GlobalActions">
276                 <key id="KEY_VOLUMEUP" mapto="volumeUp" flags="mr" />
277                 <key id="KEY_VOLUMEDOWN" mapto="volumeDown" flags="mr" />
278                 <key id="KEY_MUTE" mapto="volumeMute" flags="mr" />
279                 <key id="KEY_POWER" mapto="power_long" flags="l" />
280                 <key id="KEY_POWER" mapto="power_down" flags="m" />
281                 <key id="KEY_POWER" mapto="power_up" flags="b" />
282                 <device name="dreambox front panel">
283                         <key id="KEY_POWER" mapto="deepstandby" flags="l" />
284                 </device>
285                 <!-- the followong entries are only used with non vendor ir rc 
286                      like harmony for discrete power on/off -->
287                 <device name="dreambox remote control (native)">
288                         <key id="KEY_KP0" mapto="power_down" flags="m" />
289                         <key id="KEY_KP0" mapto="power_up" flags="b" />
290                 </device>
291                 <device name="dreambox advanced remote control (native)">
292                         <key id="KEY_KP0" mapto="power_down" flags="m" />
293                         <key id="KEY_KP0" mapto="power_up" flags="b" />
294                 </device>
295         </map>
296         
297         <map context="PowerKeyActions">
298                 <key id="KEY_POWER" mapto="powerdown" flags="m" />
299                 <key id="KEY_POWER" mapto="powerup" flags="b" />
300         </map>
301         
302         <map context="NumberActions">
303                 <key id="KEY_1" mapto="1" flags="m" />
304                 <key id="KEY_2" mapto="2" flags="m" />
305                 <key id="KEY_3" mapto="3" flags="m" />
306                 <key id="KEY_4" mapto="4" flags="m" />
307                 <key id="KEY_5" mapto="5" flags="m" />
308                 <key id="KEY_6" mapto="6" flags="m" />
309                 <key id="KEY_7" mapto="7" flags="m" />
310                 <key id="KEY_8" mapto="8" flags="m" />
311                 <key id="KEY_9" mapto="9" flags="m" />
312                 <key id="KEY_0" mapto="0" flags="m" />
313         </map>
314
315         <map context="TextEntryActions">
316                 <device name="compatible: pcKeyboard">
317                         <key id="KEY_DELETE" mapto="deleteForward" flags="mr" />
318                         <key id="KEY_BACKSPACE" mapto="deleteBackward" flags="mr" />
319                 </device>
320                 <device name="dreambox remote control (native)">
321                         <key id="KEY_MUTE" mapto="deleteForward" flags="mr" />
322                         <key id="KEY_NEXT" mapto="deleteForward" flags="mr" />
323                         <key id="KEY_PREVIOUS" mapto="deleteBackward" flags="mr" />
324                 </device>
325                 <device name="dreambox advanced remote control (native)">
326                         <key id="KEY_MUTE" mapto="deleteForward" flags="mr" />
327                         <key id="KEY_NEXT" mapto="deleteForward" flags="mr" />
328                         <key id="KEY_PREVIOUS" mapto="deleteBackward" flags="mr" />
329                 </device>
330         </map>
331
332         <map context="InfobarSeekActions">
333                 <device name="compatible: pcKeyboard">
334                         <key id="KEY_F3" mapto="pauseService" flags="b" />
335                         <key id="KEY_F2" mapto="unPauseService" flags="b" />
336                         <key id="KEY_F1" mapto="seekBack" flags="b" />
337                         <key id="KEY_F4" mapto="seekFwd" flags="b" />
338                         <key id="KEY_F1" mapto="seekBackManual" flags="l" />
339                         <key id="KEY_F4" mapto="seekFwdManual" flags="l" />
340                 </device>
341                 <device name="dreambox remote control (native)">
342                         <key id="KEY_YELLOW" mapto="pauseService" flags="b" />
343                         <key id="KEY_GREEN" mapto="unPauseService" flags="b" />
344                         <key id="KEY_RED" mapto="seekBack" flags="b" />
345                         <key id="KEY_BLUE" mapto="seekFwd" flags="b" />
346                         <key id="KEY_RED" mapto="seekBackManual" flags="l" />
347                         <key id="KEY_BLUE" mapto="seekFwdManual" flags="l" />
348                 </device>
349                 <device name="dreambox advanced remote control (native)">
350                         <key id="KEY_PLAY" mapto="playpauseService" flags="m" />
351                         <key id="KEY_PREVIOUSSONG" mapto="seekBack" flags="b" />
352                         <key id="KEY_NEXTSONG" mapto="seekFwd" flags="b" />
353                         <key id="KEY_PREVIOUSSONG" mapto="seekBackManual" flags="l" />
354                         <key id="KEY_NEXTSONG" mapto="seekFwdManual" flags="l" />
355                 </device>
356                 <device name="dreambox ir keyboard">
357                         <key id="KEY_PAUSE" mapto="pauseService" flags="m" />
358                         <key id="KEY_PLAY" mapto="playpauseService" flags="m" />
359                         <key id="KEY_REWIND" mapto="seekBack" flags="b" />
360                         <key id="KEY_FASTFORWARD" mapto="seekFwd" flags="b" />
361                         <key id="KEY_REWIND" mapto="seekBackManual" flags="l" />
362                         <key id="KEY_FASTFORWARD" mapto="seekFwdManual" flags="l" />
363                 </device>
364                 
365                 <key id="KEY_LEFT" mapto="seekBack" flags="m" />
366                 <key id="KEY_RIGHT" mapto="seekFwd" flags="m" />
367
368                 <key id="KEY_OK" mapto="unPauseService" flags="m" />
369                 
370                 <key id="KEY_1" mapto="seekdef:1" flags="m" />
371                 <key id="KEY_3" mapto="seekdef:3" flags="m" />
372                 <key id="KEY_4" mapto="seekdef:4" flags="m" />
373                 <key id="KEY_6" mapto="seekdef:6" flags="m" />
374                 <key id="KEY_7" mapto="seekdef:7" flags="m" />
375                 <key id="KEY_9" mapto="seekdef:9" flags="m" />
376         </map>
377
378         <map context="MediaPlayerSeekActions">
379                 <device name="compatible: pcKeyboard">
380                         <key id="KEY_F1" mapto="seekBack" flags="b" />
381                         <key id="KEY_F4" mapto="seekFwd" flags="b" />
382                         <key id="KEY_F1" mapto="seekBackManual" flags="l" />
383                         <key id="KEY_F4" mapto="seekFwdManual" flags="l" />
384                 </device>
385                 <device name="dreambox remote control (native)">
386                         <key id="KEY_RED" mapto="seekBack" flags="b" />
387                         <key id="KEY_BLUE" mapto="seekFwd" flags="b" />
388                         <key id="KEY_RED" mapto="seekBackManual" flags="l" />
389                         <key id="KEY_BLUE" mapto="seekFwdManual" flags="l" />
390                 </device>
391                 <device name="dreambox advanced remote control (native)">
392                         <key id="KEY_PREVIOUSSONG" mapto="seekBack" flags="b" />
393                         <key id="KEY_NEXTSONG" mapto="seekFwd" flags="b" />
394                         <key id="KEY_PREVIOUSSONG" mapto="seekBackManual" flags="l" />
395                         <key id="KEY_NEXTSONG" mapto="seekFwdManual" flags="l" />
396                 </device>
397                 <device name="dreambox ir keyboard">
398                         <key id="KEY_REWIND" mapto="seekBack" flags="b" />
399                         <key id="KEY_FASTFORWARD" mapto="seekFwd" flags="b" />
400                         <key id="KEY_REWIND" mapto="seekBackManual" flags="l" />
401                         <key id="KEY_FASTFORWARD" mapto="seekFwdManual" flags="l" />
402                 </device>
403                 
404                 <key id="KEY_1" mapto="seekdef:1" flags="m" />
405                 <key id="KEY_3" mapto="seekdef:3" flags="m" />
406                 <key id="KEY_4" mapto="seekdef:4" flags="m" />
407                 <key id="KEY_6" mapto="seekdef:6" flags="m" />
408                 <key id="KEY_7" mapto="seekdef:7" flags="m" />
409                 <key id="KEY_9" mapto="seekdef:9" flags="m" />
410         </map>
411
412         <map context="InfobarTimeshiftActions">
413                 <device name="compatible: pcKeyboard">
414                         <key id="KEY_F3" mapto="timeshiftStart" flags="b" />
415                 </device>
416                 <device name="dreambox advanced remote control (native)">
417                         <key id="KEY_PLAY" mapto="timeshiftStart" flags="m" />
418                         <key id="KEY_TV" mapto="timeshiftStop" flags="m" />
419                         <key id="KEY_STOP" mapto="timeshiftStop" flags="m" />
420                 </device>
421                 <device name="dreambox remote control (native)">
422                         <key id="KEY_YELLOW" mapto="timeshiftStart" flags="b" />
423                         <key id="KEY_TV" mapto="timeshiftStop" flags="m" />
424                 </device>
425                 <device name="dreambox ir keyboard">
426                         <key id="KEY_YELLOW" mapto="timeshiftStart" flags="m" />
427                         <key id="KEY_PAUSE" mapto="timeshiftStart" flags="m" />
428                         <key id="KEY_TV" mapto="timeshiftStop" flags="m" />
429                         <key id="KEY_STOP" mapto="timeshiftStop" flags="m" />
430                 </device>
431         </map>
432
433         <map context="InfobarTimeshiftActivateActions">
434                 <device name="compatible: pcKeyboard">
435                         <key id="KEY_F1" mapto="timeshiftActivateEnd" flags="b" />
436                         <key id="KEY_F3" mapto="timeshiftActivateEndAndPause" flags="b" />
437                 </device>
438                 <device name="dreambox remote control (native)">
439                         <key id="KEY_RED" mapto="timeshiftActivateEnd" flags="b" />
440                         <key id="KEY_YELLOW" mapto="timeshiftActivateEndAndPause" flags="b" />
441                 </device>
442                 <device name="dreambox advanced remote control (native)">
443                         <key id="KEY_PREVIOUSSONG" mapto="timeshiftActivateEnd" flags="m" />
444                         <key id="KEY_PLAY" mapto="timeshiftActivateEndAndPause" flags="m" />
445                 </device>
446                 <device name="dreambox ir keyboard">
447                         <key id="KEY_REWIND" mapto="timeshiftActivateEnd" flags="m" />
448                         <key id="KEY_PAUSE" mapto="timeshiftActivateEndAndPause" flags="m" />
449                 </device>
450         </map>
451
452         <map context="MovieSelectionActions">
453                 <device name="compatible: pcKeyboard">
454                         <key id="KEY_SPACE" mapto="contextMenu" flags="m" />
455                 </device>
456                 <key id="KEY_MENU" mapto="contextMenu" flags="m" />
457                 <key id="KEY_INFO" mapto="showEventInfo" flags="m" />
458         </map>
459
460         <map context="InfobarMovieListActions">
461                 <key id="KEY_UP" mapto="up" flags="m" />
462                 <key id="KEY_DOWN" mapto="down" flags="m" />
463                 <key id="KEY_VIDEO" mapto="movieList" flags="m" />
464                 <device name="compatible: pcKeyboard; dreambox ir keyboard">
465                         <key id="KEY_F8" mapto="movieList" flags="m" />
466                 </device>
467         </map>
468
469         <map context="MoviePlayerActions">
470                 <device name="dreambox remote control (native)">
471                         <key id="KEY_TV" mapto="leavePlayer" flags="m" />
472                 </device>
473                 <device name="dreambox advanced remote control (native)">
474                         <key id="KEY_TV" mapto="leavePlayer" flags="m" />
475                         <key id="KEY_STOP" mapto="leavePlayer" flags="m" />
476                 </device>
477                 <device name="dreambox ir keyboard">
478                         <key id="KEY_TV" mapto="leavePlayer" flags="m" />
479                         <key id="KEY_STOP" mapto="leavePlayer" flags="m" />
480                 </device>
481         </map>
482         
483         <map context="InfobarCueSheetActions">
484                 <device name="compatible: pcKeyboard">
485                         <key id="KEY_TAB" mapto="toggleMark" flags="m" />
486                 </device>
487                 <device name="dreambox remote control (native)">
488                         <key id="KEY_PREVIOUS" mapto="jumpPreviousMark" flags="m" />
489                         <key id="KEY_NEXT" mapto="jumpNextMark" flags="m" />
490                         <key id="KEY_0" mapto="toggleMark" flags="m" />
491                 </device>
492                 <device name="dreambox advanced remote control (native)">
493                         <key id="KEY_PREVIOUS" mapto="jumpPreviousMark" flags="m" />
494                         <key id="KEY_0" mapto="toggleMark" flags="m" />
495                         <key id="KEY_NEXT" mapto="jumpNextMark" flags="m" />
496                 </device>
497                 <device name="dreambox ir keyboard">
498                         <key id="KEY_PREVIOUSSONG" mapto="jumpPreviousMark" flags="m" />
499                         <key id="KEY_TAB" mapto="toggleMark" flags="m" />
500                         <key id="KEY_NEXTSONG" mapto="jumpNextMark" flags="m" />
501                 </device>
502         </map>
503         
504         <map context="MediaPlayerCueSheetActions">
505                 <device name="compatible: pcKeyboard">
506                         <key id="KEY_TAB" mapto="toggleMark" flags="m" />
507                         <key id="KEY_F3" mapto="toggleMark" flags="b" />
508                 </device>
509                 <device name="dreambox remote control (native)">
510                         <key id="KEY_0" mapto="toggleMark" flags="m" />
511                 </device>
512                 <device name="dreambox advanced remote control (native)">
513                         <key id="KEY_0" mapto="toggleMark" flags="m" />
514                         <key id="KEY_YELLOW" mapto="toggleMark" flags="b" />
515                 </device>
516                 <device name="dreambox ir keyboard">
517                         <key id="KEY_TAB" mapto="toggleMark" flags="m" />
518                 </device>
519         </map>
520
521         <map context="VirtualKeyboardActions">
522                 <key id="KEY_TEXT" mapto="showVirtualKeyboard" flags="m" />
523         </map>
524         
525         <map context="InfobarTeletextActions">
526                 <key id="KEY_TEXT" mapto="startTeletext" flags="m" />
527         </map>
528
529         <map context="InfobarHbbtvActions">
530                 <key id="KEY_RED" mapto="hbbtvAutostart" flags="m" />
531         </map>
532
533         <map context="InfobarRdsActions">
534                 <key id="KEY_TEXT" mapto="startRassInteractive" flags="m" />
535         </map>
536
537         <map context="RassInteractiveActions">
538                 <key id="KEY_LEFT" mapto="prevSubPage" flags="mr" />
539                 <key id="KEY_RIGHT" mapto="nextSubPage" flags="mr" />
540                 <key id="KEY_UP" mapto="prevPage" flags="mr" />
541                 <key id="KEY_DOWN" mapto="nextPage" flags="mr" />
542                 <key id="KEY_EXIT" mapto="exit" flags="m" />
543                 <key id="KEY_ESC" mapto="exit" flags="m" />
544         </map>
545
546         <map context="ChannelSelectBaseActions">
547                 <device name="compatible: pcKeyboard">
548                         <key id="KEY_F1" mapto="showAllServices" flags="m" />
549                         <key id="KEY_F2" mapto="showSatellites" flags="m" />
550                         <key id="KEY_F3" mapto="showProviders" flags="m" />
551                         <key id="KEY_F4" mapto="showFavourites" flags="m" />
552                 </device>
553                 <key id="KEY_RED" mapto="showAllServices" flags="m" />
554                 <key id="KEY_GREEN" mapto="showSatellites" flags="m" />
555                 <key id="KEY_YELLOW" mapto="showProviders" flags="m" />
556                 <key id="KEY_BLUE" mapto="showFavourites" flags="m" />
557                 <key id="KEY_CHANNELUP" mapto="nextBouquet" flags="m" />
558                 <key id="KEY_CHANNELDOWN" mapto="prevBouquet" flags="m" />
559                 <key id="KEY_PREVIOUS" mapto="prevMarker" flags="m" />
560                 <key id="KEY_NEXT" mapto="nextMarker" flags="m" />
561                 <key id="KEY_BACK" mapto="prevMarker" flags="m" />
562                 <key id="KEY_FORWARD" mapto="nextMarker" flags="m" />
563                 <key id="KEY_DOWN" mapto="selectServiceDown" flags="mr" />
564                 <key id="KEY_UP" mapto="selectServiceUp" flags="mr" />
565                 <key id="KEY_RIGHT" mapto="selectServicePageDown" flags="mr" />
566                 <key id="KEY_LEFT" mapto="selectServicePageUp" flags="mr" />
567         </map>
568
569         <map context="ChannelSelectEPGActions">
570                 <key id="KEY_INFO" mapto="showEPGList" flags="m" />
571         </map>
572
573         <map context="ChannelSelectEditActions">
574                 <key id="KEY_MENU" mapto="contextMenu" flags="m" />
575                 <device name="compatible: pcKeyboard">
576                         <key id="KEY_SPACE" mapto="contextMenu" flags="m" />
577                 </device>
578         </map>
579
580         <map context="TvRadioActions">
581                 <key id="KEY_TV" mapto="keyTV" flags="m" />
582                 <key id="KEY_RADIO" mapto="keyRadio" flags="m" />
583         </map>
584
585         <map context="TimerEditActions">
586                 <key id="KEY_INFO" mapto="log" flags="m" />
587         </map>
588         
589         <map context="EPGSelectActions">
590                 <device name="compatible: pcKeyboard">
591                         <key id="KEY_F1" mapto="red" flags="m" />
592                         <key id="KEY_F2" mapto="timerAdd" flags="m" />
593                         <key id="KEY_F3" mapto="yellow" flags="mr" />
594                         <key id="KEY_F4" mapto="blue" flags="mr" />
595                         <key id="KEY_SPACE" mapto="input_date_time" flags="m" />
596                 </device>
597                 <key id="KEY_RED" mapto="red" flags="m" />
598                 <key id="KEY_GREEN" mapto="timerAdd" flags="m" />
599                 <key id="KEY_YELLOW" mapto="yellow" flags="mr" />
600                 <key id="KEY_BLUE" mapto="blue" flags="mr" />
601                 <key id="KEY_INFO" mapto="info" flags="m" />
602                 <key id="KEY_MENU" mapto="input_date_time" flags="m" />
603                 <key id="KEY_CHANNELUP" mapto="nextBouquet" flags="m" />
604                 <key id="KEY_CHANNELDOWN" mapto="prevBouquet" flags="m" />
605                 <key id="KEY_NEXT" mapto="nextService" flags="m" />
606                 <key id="KEY_PREVIOUS" mapto="prevService" flags="m" />
607         </map>
608
609         <map context="EventViewActions">
610                 <device name="compatible: pcKeyboard">
611                         <key id="KEY_F1" mapto="openSimilarList" flags="m" />
612                         <key id="KEY_F2" mapto="timerAdd" flags="m" />
613                 </device>
614                 <key id="KEY_UP" mapto="pageUp" flags="mr" />
615                 <key id="KEY_DOWN" mapto="pageDown" flags="mr" />
616                 <key id="KEY_LEFT" mapto="prevEvent" flags="mr" />
617                 <key id="KEY_RIGHT" mapto="nextEvent" flags="mr" />
618                 <key id="KEY_RED" mapto="openSimilarList" flags="m" />
619                 <key id="KEY_GREEN" mapto="timerAdd" flags="m" />
620                 <key id="KEY_INFO" mapto="cancel" flags="m" />
621         </map>
622         
623         <map context="EventViewEPGActions">
624                 <device name="compatible: pcKeyboard">
625                         <key id="KEY_F3" mapto="openSingleServiceEPG" flags="m" />
626                         <key id="KEY_F4" mapto="openMultiServiceEPG" flags="m" />
627                 </device>
628                 <key id="KEY_YELLOW" mapto="openSingleServiceEPG" flags="m" />
629                 <key id="KEY_BLUE" mapto="openMultiServiceEPG" flags="m" />
630         </map>
631
632         <map context="OkCancelActions">
633                 <key id="\x0a" mapto="ok" flags="m" />
634                 <key id="\x1b" mapto="cancel" flags="m" />
635
636                 <!-- use this on rcu, ok? -->
637                 <key id="KEY_OK" mapto="ok" flags="m" />
638                 <key id="KEY_EXIT" mapto="cancel" flags="m" />
639
640                 <key id="KEY_ENTER" mapto="ok" flags="m" />
641                 <key id="KEY_KPENTER" mapto="ok" flags="m" />
642                 <key id="KEY_ESC" mapto="cancel" flags="m" />
643         </map>
644         
645         <map context="DirectionActions">
646                 <key id="KEY_UP" mapto="up" flags="m" />
647                 <key id="KEY_DOWN" mapto="down" flags="m" />
648                 <key id="KEY_LEFT" mapto="left" flags="m" />
649                 <key id="KEY_RIGHT" mapto="right" flags="m" />
650
651                 <key id="KEY_UP" mapto="upRepeated" flags="r" />
652                 <key id="KEY_DOWN" mapto="downRepeated" flags="r" />
653                 <key id="KEY_LEFT" mapto="leftRepeated" flags="r" />
654                 <key id="KEY_RIGHT" mapto="rightRepeated" flags="r" />
655                 
656                 <key id="KEY_LEFT" mapto="leftUp" flags="b" />
657                 <key id="KEY_RIGHT" mapto="rightUp" flags="b" />
658                 <key id="KEY_UP" mapto="upUp" flags="b" />
659                 <key id="KEY_DOWN" mapto="downUp" flags="b" />
660         </map>
661         
662         <map context="ColorActions">
663                 <device name="compatible: pcKeyboard">
664                         <key id="KEY_F1" mapto="red" flags="m" />
665                         <key id="KEY_F2" mapto="green" flags="m" />
666                         <key id="KEY_F3" mapto="yellow" flags="m" />
667                         <key id="KEY_F4" mapto="blue" flags="m" />
668                 </device>
669                 <key id="KEY_RED" mapto="red" flags="m" />
670                 <key id="KEY_GREEN" mapto="green" flags="m" />
671                 <key id="KEY_YELLOW" mapto="yellow" flags="m" />
672                 <key id="KEY_BLUE" mapto="blue" flags="m" />
673         </map>
674
675         <map context="MsgBoxActions">
676                 <device name="compatible: pcKeyboard">
677                         <key id="KEY_F1" mapto="cancel" flags="m" />
678                         <key id="KEY_F2" mapto="alwaysOK" flags="m" />
679                 </device>
680                 <key id="KEY_GREEN" mapto="alwaysOK" flags="m" />
681                 <key id="KEY_OK" mapto="ok" flags="m" />
682                 <key id="KEY_ENTER" mapto="ok" flags="m" />
683                 <key id="KEY_KPENTER" mapto="ok" flags="m" />
684                 <key id="KEY_RED" mapto="cancel" flags="m" />
685                 <key id="KEY_EXIT" mapto="cancel" flags="m" />
686                 <key id="KEY_ESC" mapto="cancel" flags="m" />
687         </map>
688
689         <map context="WindowActions">
690                 
691         </map>
692         
693         <map context="HelpActions">
694                 <key id="KEY_HELP" mapto="displayHelp" flags="m" />
695         </map>
696
697         <map context="ShortcutActions">
698                 <device name="compatible: pcKeyboard">
699                         <key id="KEY_F1" mapto="red" flags="mr" />
700                         <key id="KEY_F2" mapto="green" flags="mr" />
701                         <key id="KEY_F3" mapto="yellow" flags="mr" />
702                         <key id="KEY_F4" mapto="blue" flags="mr" />
703                 </device>
704                 <key id="KEY_RED" mapto="red" flags="mr" />
705                 <key id="KEY_GREEN" mapto="green" flags="mr" />
706                 <key id="KEY_YELLOW" mapto="yellow" flags="mr" />
707                 <key id="KEY_BLUE" mapto="blue" flags="mr" />
708         </map>
709         <map context="StandbyActions">
710                 <key id="KEY_POWER" mapto="power" flags="m" />
711                 <!-- the followong entries are only used with non vendor ir rc 
712                      like harmony for discrete power on/off -->
713                 <device name="dreambox remote control (native)">
714                         <key id="KEY_KP1" mapto="power" flags="m" />
715                 </device>
716                 <device name="dreambox advanced remote control (native)">
717                         <key id="KEY_KP1" mapto="power" flags="m" />
718                 </device>
719         </map>
720         
721         <map context="SleepTimerEditorActions">
722                 <device name="compatible: pcKeyboard">
723                         <key id="KEY_F1" mapto="disableTimer" flags="mr" />
724                         <key id="KEY_F2" mapto="toggleAction" flags="mr" />
725                         <key id="KEY_F3" mapto="toggleAsk" flags="mr" />
726                         <key id="KEY_F4" mapto="useServiceTime" flags="mr" />
727                 </device>
728                 <key id="KEY_OK" mapto="select" flags="m" />
729                 <key id="KEY_ENTER" mapto="select" flags="m" />
730                 <key id="KEY_KPENTER" mapto="select" flags="m" />
731                 <key id="KEY_EXIT" mapto="exit" flags="m" />
732                 <key id="KEY_ESC" mapto="exit" flags="m" />
733                 <key id="KEY_1" mapto="1" flags="m" />
734                 <key id="KEY_2" mapto="2" flags="m" />
735                 <key id="KEY_3" mapto="3" flags="m" />
736                 <key id="KEY_4" mapto="4" flags="m" />
737                 <key id="KEY_5" mapto="5" flags="m" />
738                 <key id="KEY_6" mapto="6" flags="m" />
739                 <key id="KEY_7" mapto="7" flags="m" />
740                 <key id="KEY_8" mapto="8" flags="m" />
741                 <key id="KEY_9" mapto="9" flags="m" />
742                 <key id="KEY_0" mapto="0" flags="m" />
743                 <key id="KEY_LEFT" mapto="selectLeft" flags="mr" />
744                 <key id="KEY_RIGHT" mapto="selectRight" flags="mr" />
745                 <key id="KEY_RED" mapto="disableTimer" flags="mr" />
746                 <key id="KEY_GREEN" mapto="toggleAction" flags="mr" />
747                 <key id="KEY_YELLOW" mapto="toggleAsk" flags="mr" />
748                 <key id="KEY_BLUE" mapto="useServiceTime" flags="mr" />
749         </map>  
750         
751         <map context="CiSelectionActions">
752                 <key id="KEY_LEFT" mapto="left" flags="mr" />
753                 <key id="KEY_RIGHT" mapto="right" flags="mr" />
754         </map>
755
756         <map context="PiPSetupActions">
757                 <key id="KEY_UP" mapto="up" flags="mr" />
758                 <key id="KEY_DOWN" mapto="down" flags="mr" />
759                 <key id="KEY_LEFT" mapto="left" flags="mr" />
760                 <key id="KEY_RIGHT" mapto="right" flags="mr" />
761                 <key id="KEY_EXIT" mapto="cancel" flags="m" />
762                 <key id="KEY_ESC" mapto="cancel" flags="m" />
763                 <key id="KEY_ENTER" mapto="ok" flags="m" />
764                 <key id="KEY_KPENTER" mapto="ok" flags="m" />
765                 <key id="KEY_OK" mapto="ok" flags="m" />
766                 <key id="KEY_CHANNELUP" mapto="size+" flags="mr" />
767                 <key id="KEY_CHANNELDOWN" mapto="size-" flags="mr" />
768         </map>
769         
770         <map context="MediaPlayerActions">
771                 <device name="dreambox remote control (native)">
772                         <key id="KEY_YELLOW" mapto="pause" flags="m" />
773                         <key id="KEY_GREEN" mapto="play" flags="m" />
774                         <key id="KEY_TV" mapto="stop" flags="b" />
775                         <key id="KEY_TV" mapto="shift_stop" flags="l" />
776                         <key id="KEY_RADIO" mapto="shift_record" flags="l" />
777                         <key id="KEY_PREVIOUS" mapto="previous" flags="m" />
778                         <key id="KEY_NEXT" mapto="next" flags="m" />
779                 </device>
780                 <device name="dreambox advanced remote control (native)">
781                         <key id="KEY_PLAY" mapto="pause" flags="m" />
782                         <key id="KEY_STOP" mapto="stop" flags="b" />
783                         <key id="KEY_STOP" mapto="shift_stop" flags="l" />
784                         <key id="KEY_RECORD" mapto="shift_record" flags="l" />
785                         <key id="KEY_PREVIOUS" mapto="previous" flags="m" />
786                         <key id="KEY_NEXT" mapto="next" flags="m" />
787                         <key id="KEY_RED" mapto="previous" flags="m" />
788                         <key id="KEY_BLUE" mapto="next" flags="m" />
789                 </device>
790                 <device name="dreambox ir keyboard">
791                         <key id="KEY_PAUSE" mapto="pause" flags="m" />
792                         <key id="KEY_PLAY" mapto="play" flags="m" />
793                         <key id="KEY_STOP" mapto="stop" flags="b" />
794                         <key id="KEY_STOP" mapto="shift_stop" flags="l" />
795                         <key id="KEY_RECORD" mapto="shift_record" flags="l" />
796                         <key id="KEY_PREVIOUSSONG" mapto="previous" flags="m" />
797                         <key id="KEY_NEXTSONG" mapto="next" flags="m" />
798                 </device>
799                 <device name="compatible: pcKeyboard">
800                         <key id="KEY_SPACE" mapto="menu" flags="m" />
801                         <key id="KEY_F1" mapto="previous" flags="m" />
802                         <key id="KEY_F2" mapto="play" flags="m" />
803                         <key id="KEY_F3" mapto="pause" flags="m" />
804                         <key id="KEY_F4" mapto="next" flags="m" />
805                 </device>
806                 <key id="KEY_MENU" mapto="menu" flags="m" />
807                 <key id="KEY_2" mapto="skipListbegin" flags="m" />
808                 <key id="KEY_8" mapto="skipListend" flags="m" />
809                 <key id="KEY_CHANNELUP" mapto="nextBouquet" flags="m" />
810                 <key id="KEY_CHANNELDOWN" mapto="prevBouquet" flags="m" />
811                 <key id="KEY_VIDEO" mapto="delete" flags="m" />
812                 <key id="KEY_TEXT" mapto="subtitles" flags="m" />
813         </map>
814 </keymap>