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