cleanup
[enigma2.git] / data / keymap.xml
index 884fae8426431762ec9e77c95a595837c4f2df4c..e83b851b4e8ef03ff34b41ed909b28c944d78ed6 100644 (file)
                <key id="2" mapto="moveDown" flags="mr" />
        </map>
        
-       <map context="InputActions">
-               <key id="KEY_LEFT" mapto="moveLeft" flags="mr" />
-               <key id="KEY_RIGHT" mapto="moveRight" flags="mr" />
-               <key id="KEY_HOME" mapto="moveHome" flags="mr" />
-               <key id="KEY_END" mapto="moveEnd" flags="mr" />
+       <map context="KeyboardInputActions">
+               <key id="KEY_LEFT" mapto="left" flags="mr" />
+               <key id="KEY_RIGHT" mapto="right" flags="mr" />
+               <key id="KEY_HOME" mapto="home" flags="mr" />
+               <key id="KEY_END" mapto="end" flags="mr" />
+               <key id="KEY_BACK" mapto="home" flags="mr" />
+               <key id="KEY_FORWARD" mapto="end" flags="mr" />
                <key id="KEY_DELETE" mapto="deleteForward" flags="mr" />
                <key id="KEY_BACKSPACE" mapto="deleteBackward" flags="mr" />
-               
+               <key id="KEY_TAB" mapto="tab" flags="mr" />
                <key id="KEY_INSERT" mapto="toggleOverwrite" flags="m" />
-               <key id="KEY_ENTER" mapto="accept" flags="m" />
        </map>
 
        <map context="SetupActions">
+               <key id="KEY_ENTER" mapto="ok" flags="m" />
                <key id="KEY_OK" mapto="ok" flags="m" />
                <key id="KEY_EXIT" mapto="cancel" flags="m" />
+               <key id="KEY_ESC" mapto="cancel" flags="m" />
                <key id="KEY_LEFT" mapto="left" flags="mr" />
                <key id="KEY_RIGHT" mapto="right" flags="mr" />
                <key id="KEY_RED" mapto="cancel" flags="m" />
                <key id="KEY_GREEN" mapto="save" flags="m" />
+               <device name="dreambox remote control (native)">
+                       <key id="KEY_MUTE" mapto="deleteForward" flags="mr" />
+                       <key id="KEY_NEXT" mapto="deleteForward" flags="mr" />
+                       <key id="KEY_PREVIOUS" mapto="deleteBackward" flags="mr" />
+               </device>
+               <device name="dreambox advanced remote control (native)">
+                       <key id="KEY_MUTE" mapto="deleteForward" flags="mr" />
+                       <key id="KEY_NEXT" mapto="deleteForward" flags="mr" />
+                       <key id="KEY_PREVIOUS" mapto="deleteBackward" flags="mr" />
+               </device>
+               <key id="KEY_1" mapto="1" flags="m" />
+               <key id="KEY_2" mapto="2" flags="m" />
+               <key id="KEY_3" mapto="3" flags="m" />
+               <key id="KEY_4" mapto="4" flags="m" />
+               <key id="KEY_5" mapto="5" flags="m" />
+               <key id="KEY_6" mapto="6" flags="m" />
+               <key id="KEY_7" mapto="7" flags="m" />
+               <key id="KEY_8" mapto="8" flags="m" />
+               <key id="KEY_9" mapto="9" flags="m" />
+               <key id="KEY_0" mapto="0" flags="m" />
+       </map>
+       
+       <map context="InputActions">
+               <key id="KEY_LEFT" mapto="left" flags="mr" />
+               <key id="KEY_RIGHT" mapto="right" flags="mr" />
                <key id="KEY_1" mapto="1" flags="m" />
                <key id="KEY_2" mapto="2" flags="m" />
                <key id="KEY_3" mapto="3" flags="m" />
                <key id="KEY_0" mapto="0" flags="m" />
        </map>
 
-       <map context="InfobarActions">
-               <key id="m" mapto="mainMenu" flags="mr" />
-               <key id="c" mapto="switchChannelDown" flags="mr" />
-<!--           <key id="r" mapto="instantRecord" flags="m" /> -->
-               <key id="r" mapto="showEPGList" flags="m" />
-               <key id="KEY_INFO" mapto="showEPGList" flags="m" />
-               <key id="KEY_RED" mapto="instantRecord" flags="m" />
-               <key id="1" mapto="zapUp" flags="mr" />
-               <key id="2" mapto="zapDown" flags="mr" />
-               <key id="KEY_M" mapto="mainMenu" flags="mr" />
-               <key id="KEY_C" mapto="switchChannelDown" flags="mr" />
-               <key id="KEY_R" mapto="instantRecord" flags="m" />
+       <map context="InfobarEPGActions">
+               <key id="KEY_INFO" mapto="showEventInfo" flags="b" />
+               <key id="KEY_INFO" mapto="showSingleServiceEPG" flags="l" />
+       </map>
+       
+       <map context="InfobarInstantRecord">
+               <device name="dreambox advanced remote control (native)">
+                       <key id="KEY_RECORD" mapto="instantRecord" flags="m" />
+                       <key id="KEY_STOP" mapto="instantRecord" flags="m" />
+               </device>
+               <device name="dreambox ir keyboard">
+                       <key id="KEY_RECORD" mapto="instantRecord" flags="m" />
+               </device>
+               <key id="KEY_RED" mapto="instantRecord" flags="b" />
+       </map>
+
+       <map context="InfobarExtensions">
+               <key id="KEY_BLUE" mapto="extensions" flags="b" />
+       </map>
+       
+       <map context="InfobarChannelSelection">
                <key id="KEY_LEFT" mapto="zapUp" flags="mr" />
                <key id="KEY_RIGHT" mapto="zapDown" flags="mr" />
                <key id="KEY_UP" mapto="switchChannelUp" flags="mr" />
                <key id="KEY_DOWN" mapto="switchChannelDown" flags="mr" />
+               <key id="KEY_PREVIOUS" mapto="historyBack" flags="mr" />
+               <key id="KEY_NEXT" mapto="historyNext" flags="mr" />
+               <key id="KEY_BACK" mapto="historyBack" flags="mr" />
+               <key id="KEY_FORWARD" mapto="historyNext" flags="mr" />
+               <key id="KEY_CHANNELUP" mapto="openServiceList" flags="m" />
+               <key id="KEY_CHANNELDOWN" mapto="openServiceList" flags="m" />
+               <key id="BTN_0" mapto="zapUp" flags="mr" />
+               <key id="BTN_1" mapto="zapDown" flags="mr" />
+       </map>
+       
+       <map context="MinuteInputActions">
+               <key id="KEY_UP" mapto="up" flags="mr" />
+               <key id="KEY_DOWN" mapto="down" flags="mr" />
+               <key id="KEY_OK" mapto="ok" flags="m" />
+               <key id="KEY_ENTER" mapto="ok" flags="m" />
+               <key id="KEY_EXIT" mapto="cancel" flags="m" />
+               <key id="KEY_ESC" mapto="cancel" flags="m" />
+       </map>
+
+       <map context="InputAsciiActions">
+               <device name="Console">
+                       <key id="KEY_ASCII" mapto="gotAsciiCode" flags="mr" />
+               </device>
+       </map>
+
+       <map context="InputBoxActions">
+               <key id="KEY_LEFT" mapto="left" flags="mr" />
+               <key id="KEY_RIGHT" mapto="right" flags="mr" />
+               <key id="KEY_OK" mapto="ok" flags="m" />
+               <key id="KEY_ENTER" mapto="ok" flags="m" />
+               <key id="KEY_EXIT" mapto="back" flags="m" />
+               <key id="KEY_ESC" mapto="back" flags="m" />
+               <device name="dreambox remote control (native)">
+                       <key id="KEY_MUTE" mapto="deleteForward" flags="mr" />
+                       <key id="KEY_NEXT" mapto="deleteForward" flags="mr" />
+                       <key id="KEY_PREVIOUS" mapto="deleteBackward" flags="mr" />
+               </device>
+               <device name="dreambox advanced remote control (native)">
+                       <key id="KEY_MUTE" mapto="deleteForward" flags="mr" />
+                       <key id="KEY_NEXT" mapto="deleteForward" flags="mr" />
+                       <key id="KEY_PREVIOUS" mapto="deleteBackward" flags="mr" />
+               </device>
+               <key id="KEY_1" mapto="1" flags="m" />
+               <key id="KEY_2" mapto="2" flags="m" />
+               <key id="KEY_3" mapto="3" flags="m" />
+               <key id="KEY_4" mapto="4" flags="m" />
+               <key id="KEY_5" mapto="5" flags="m" />
+               <key id="KEY_6" mapto="6" flags="m" />
+               <key id="KEY_7" mapto="7" flags="m" />
+               <key id="KEY_8" mapto="8" flags="m" />
+               <key id="KEY_9" mapto="9" flags="m" />
+               <key id="KEY_0" mapto="0" flags="m" />
+       </map>
+       
+       <map context="WizardActions">
+               <key id="KEY_LEFT" mapto="left" flags="mr" />
+               <key id="KEY_RIGHT" mapto="right" flags="mr" />
+               <key id="KEY_UP" mapto="up" flags="mr" />
+               <key id="KEY_DOWN" mapto="down" flags="mr" />
+               <key id="KEY_OK" mapto="ok" flags="m" />
+               <key id="KEY_ENTER" mapto="ok" flags="m" />
+               <key id="KEY_EXIT" mapto="back" flags="m" />
+               <key id="KEY_ESC" mapto="back" flags="m" />
+       </map>
+       
+       <map context="InfobarMenuActions">
                <key id="KEY_MENU" mapto="mainMenu" flags="mr" />
+       </map>
+       
+       <map context="MenuActions">
+               <key id="KEY_MENU" mapto="menu" flags="mr" />
+       </map>
+       
+       <map context="InfobarShowHideActions">
                <key id="KEY_OK" mapto="toggleShow" flags="m" />
+               <key id="KEY_ENTER" mapto="toggleShow" flags="m" />
                <key id="KEY_EXIT" mapto="hide" flags="m" />
+               <key id="KEY_ESC" mapto="hide" flags="m" />
+       </map>
+
+       <map context="InfobarActions">
                <key id="KEY_VIDEO" mapto="showMovies" flags="m" />
+               <key id="KEY_RADIO" mapto="showRadio" flags="m" />
+               <key id="KEY_TV" mapto="showTv" flags="m" />
+       </map>
+
+       <map context="InfobarAudioSelectionActions">
+               <device name="dreambox remote control (native)">
+                       <key id="KEY_AUDIO" mapto="audioSelection" flags="m" />
+               </device>
+               <device name="dreambox ir keyboard">
+                       <key id="KEY_AUDIO" mapto="audioSelection" flags="m" />
+               </device>
+               <device name="dreambox advanced remote control (native)">
+                       <key id="KEY_YELLOW" mapto="audioSelection" flags="m" />
+               </device>
+       </map>
+
+       <map context="InfobarSubserviceSelectionActions">
+               <key id="KEY_GREEN" mapto="subserviceSelection" flags="m" />
+       </map>
+
+       <map context="InfobarSubserviceQuickzapActions">
+               <key id="KEY_PREVIOUS" mapto="prevSubservice" flags="m" />
+               <key id="KEY_NEXT" mapto="nextSubservice" flags="m" />
+               <key id="KEY_BACK" mapto="prevSubservice" flags="m" />
+               <key id="KEY_FORWARD" mapto="nextSubservice" flags="m" />
+               <key id="KEY_EXIT" mapto="exit" flags="m" />
+               <key id="KEY_ESC" mapto="exit" flags="m" />
+               <device name="dreambox remote control (native)">
+                       <key id="KEY_TV" mapto="exit" flags="m" />
+               </device>
+               <device name="dreambox advanced remote control (native)">
+                       <key id="KEY_TV" mapto="exit" flags="m" />
+               </device>
+       </map>
+
+       <map context="GlobalActions">
                <key id="KEY_VOLUMEUP" mapto="volumeUp" flags="mr" />
                <key id="KEY_VOLUMEDOWN" mapto="volumeDown" flags="mr" />
                <key id="KEY_MUTE" mapto="volumeMute" flags="mr" />
-               <key id="KEY_POWER" mapto="quit" flags="m" />
+               <key id="KEY_POWER" mapto="power_long" flags="l" />
+               <key id="KEY_POWER" mapto="power_down" flags="m" />
+               <key id="KEY_POWER" mapto="power_up" flags="b" />
+               <device name="dreambox front panel">
+                       <key id="KEY_POWER" mapto="deepstandby" flags="l" />
+               </device>
+       </map>
+       
+       <map context="PowerKeyActions">
+               <key id="KEY_POWER" mapto="powerdown" flags="m" />
+               <key id="KEY_POWER" mapto="powerup" flags="b" />
+       </map>
+       
+       <map context="NumberActions">
                <key id="KEY_1" mapto="1" flags="m" />
                <key id="KEY_2" mapto="2" flags="m" />
                <key id="KEY_3" mapto="3" flags="m" />
                <key id="KEY_8" mapto="8" flags="m" />
                <key id="KEY_9" mapto="9" flags="m" />
                <key id="KEY_0" mapto="0" flags="m" />
+       </map>
+
+       <map context="TextEntryActions">
+               <device name="dreambox remote control (native)">
+                       <key id="KEY_MUTE" mapto="deleteForward" flags="mr" />
+                       <key id="KEY_NEXT" mapto="deleteForward" flags="mr" />
+                       <key id="KEY_PREVIOUS" mapto="deleteBackward" flags="mr" />
+               </device>
+               <device name="dreambox advanced remote control (native)">
+                       <key id="KEY_MUTE" mapto="deleteForward" flags="mr" />
+                       <key id="KEY_NEXT" mapto="deleteForward" flags="mr" />
+                       <key id="KEY_PREVIOUS" mapto="deleteBackward" flags="mr" />
+               </device>
+       </map>  
+
+       <map context="InfobarSeekActions">
+               <device name="dreambox remote control (native)">
+                       <key id="KEY_YELLOW" mapto="pauseService" flags="m" />
+                       <key id="KEY_GREEN" mapto="unPauseService" flags="m" />
+                       <key id="KEY_RED" mapto="seekBack" flags="b" />
+                       <key id="KEY_BLUE" mapto="seekFwd" flags="b" />
+                       <key id="KEY_RED" mapto="seekBackManual" flags="l" />
+                       <key id="KEY_BLUE" mapto="seekFwdManual" flags="l" />
+               </device>
+               <device name="dreambox advanced remote control (native)">
+                       <key id="KEY_PLAY" mapto="playpauseService" flags="m" />
+                       <key id="KEY_PLAYPAUSE" mapto="playpauseService" flags="m" />
+                       <key id="KEY_PREVIOUSSONG" mapto="seekBack" flags="b" />
+                       <key id="KEY_NEXTSONG" mapto="seekFwd" flags="b" />
+                       <key id="KEY_PREVIOUSSONG" mapto="seekBackManual" flags="l" />
+                       <key id="KEY_NEXTSONG" mapto="seekFwdManual" flags="l" />
+               </device>
+               <device name="dreambox ir keyboard">
+                       <key id="KEY_PAUSE" mapto="pauseService" flags="m" />
+                       <key id="KEY_PLAY" mapto="playpauseService" flags="m" />
+                       <key id="KEY_REWIND" mapto="seekBack" flags="b" />
+                       <key id="KEY_FASTFORWARD" mapto="seekFwd" flags="b" />
+                       <key id="KEY_REWIND" mapto="seekBackManual" flags="l" />
+                       <key id="KEY_FASTFORWARD" mapto="seekFwdManual" flags="l" />
+               </device>
+               
+               <key id="KEY_LEFT" mapto="seekBack" flags="m" />
+               <key id="KEY_RIGHT" mapto="seekFwd" flags="m" />
+
+               <key id="KEY_OK" mapto="unPauseService" flags="m" />
                
-               <key id="KEY_YELLOW" mapto="pauseService" flags="m" />
-               <key id="KEY_GREEN" mapto="unPauseService" flags="m" />
-       </map>
-       
-       <map context="ChannelSelectActions">
-               <key id="m" mapto="mark" flags="m" />
-               <!-- yes, this is flexible as hell. -->
-               <key id="p" mapto="bouquet:(provider == PREMIERE) &amp;&amp; (type == 1)" flags="m" />
-               <key id="d" mapto="bouquet:(provider == ARD) &amp;&amp; (type == 1)" flags="m" />
-               <key id="a" mapto="bouquet:" flags="m" />
-               <key id="KEY_M" mapto="mark" flags="m" />
-               <key id="KEY_D" mapto="bouquet:(provider == ARD)" flags="m" />
-               <key id="KEY_A" mapto="bouquet:" flags="m" />
-               <key id="KEY_RED" mapto="bouquet:(type == 1) || (type == 17)" flags="m" />
-               <key id="KEY_GREEN" mapto="bouquet:(provider == ARD) &amp;&amp; (type == 1)" flags="m" />
-               <key id="KEY_YELLOW" mapto="bouquet:(provider == ZDF) &amp;&amp; (type == 1)" flags="m" />
-               <key id="KEY_BLUE" mapto="bouquet:(type == 1) FROM BOUQUET &quot;bouquets.tv&quot; ORDER BY bouquet" flags="m" />
+               <key id="KEY_1" mapto="seekdef:1" flags="m" />
+               <key id="KEY_3" mapto="seekdef:3" flags="m" />
+               <key id="KEY_4" mapto="seekdef:4" flags="m" />
+               <key id="KEY_6" mapto="seekdef:6" flags="m" />
+               <key id="KEY_7" mapto="seekdef:7" flags="m" />
+               <key id="KEY_9" mapto="seekdef:9" flags="m" />
+       </map>
+
+       <map context="MediaPlayerSeekActions">
+               <device name="dreambox remote control (native)">
+                       <key id="KEY_RED" mapto="seekBack" flags="b" />
+                       <key id="KEY_BLUE" mapto="seekFwd" flags="b" />
+                       <key id="KEY_RED" mapto="seekBackManual" flags="l" />
+                       <key id="KEY_BLUE" mapto="seekFwdManual" flags="l" />
+               </device>
+               <device name="dreambox advanced remote control (native)">
+                       <key id="KEY_PREVIOUSSONG" mapto="seekBack" flags="b" />
+                       <key id="KEY_NEXTSONG" mapto="seekFwd" flags="b" />
+                       <key id="KEY_PREVIOUSSONG" mapto="seekBackManual" flags="l" />
+                       <key id="KEY_NEXTSONG" mapto="seekFwdManual" flags="l" />
+               </device>
+               <device name="dreambox ir keyboard">
+                       <key id="KEY_REWIND" mapto="seekBack" flags="b" />
+                       <key id="KEY_FASTFORWARD" mapto="seekFwd" flags="b" />
+                       <key id="KEY_REWIND" mapto="seekBackManual" flags="l" />
+                       <key id="KEY_FASTFORWARD" mapto="seekFwdManual" flags="l" />
+               </device>
+               
+               <key id="KEY_1" mapto="seekdef:1" flags="m" />
+               <key id="KEY_3" mapto="seekdef:3" flags="m" />
+               <key id="KEY_4" mapto="seekdef:4" flags="m" />
+               <key id="KEY_6" mapto="seekdef:6" flags="m" />
+               <key id="KEY_7" mapto="seekdef:7" flags="m" />
+               <key id="KEY_9" mapto="seekdef:9" flags="m" />
+       </map>
+
+       <map context="InfobarTimeshiftActions">
+               <device name="dreambox remote control (native)">
+                       <key id="KEY_TV" mapto="timeshiftStop" flags="m" />
+               </device>
+               <device name="dreambox advanced remote control (native)">
+                       <key id="KEY_PLAY" mapto="timeshiftStart" flags="m" />
+                       <key id="KEY_PLAYPAUSE" mapto="timeshiftStart" flags="m" />
+                       <key id="KEY_STOP" mapto="timeshiftStop" flags="m" />
+               </device>
+               <device name="dreambox ir keyboard">
+                       <key id="KEY_PAUSE" mapto="timeshiftStart" flags="m" />
+                       <key id="KEY_STOP" mapto="timeshiftStop" flags="m" />
+               </device>
+               <key id="KEY_YELLOW" mapto="timeshiftStart" flags="m" />
+       </map>
+
+       <map context="InfobarTimeshiftActivateActions">
+               <device name="dreambox remote control (native)">
+                       <key id="KEY_RED" mapto="timeshiftActivateEnd" flags="b" />
+                       <key id="KEY_YELLOW" mapto="timeshiftActivateEndAndPause" flags="m" />
+               </device>
+               <device name="dreambox advanced remote control (native)">
+                       <key id="KEY_PREVIOUSSONG" mapto="timeshiftActivateEnd" flags="m" />
+                       <key id="KEY_PLAY" mapto="timeshiftActivateEndAndPause" flags="m" />
+                       <key id="KEY_PLAYPAUSE" mapto="timeshiftActivateEndAndPause" flags="m" />
+               </device>
+               <device name="dreambox ir keyboard">
+                       <key id="KEY_REWIND" mapto="timeshiftActivateEnd" flags="m" />
+                       <key id="KEY_PAUSE" mapto="timeshiftActivateEndAndPause" flags="m" />
+               </device>
+       </map>
+
+       <map context="MovieSelectionActions">
+               <key id="KEY_MENU" mapto="contextMenu" flags="m" />
+               <key id="KEY_INFO" mapto="showEventInfo" flags="m" />
+       </map>
+
+       <map context="InfobarMovieListActions">
+               <key id="KEY_UP" mapto="up" flags="m" />
+               <key id="KEY_DOWN" mapto="down" flags="m" />
+               <key id="KEY_VIDEO" mapto="movieList" flags="m" />
+       </map>
+
+       <map context="MoviePlayerActions">
+               <device name="dreambox remote control (native)">
+                       <key id="KEY_TV" mapto="leavePlayer" flags="m" />
+               </device>
+               <device name="dreambox advanced remote control (native)">
+                       <key id="KEY_TV" mapto="leavePlayer" flags="m" />
+               </device>
+               <device name="dreambox ir keyboard">
+                       <key id="KEY_STOP" mapto="leavePlayer" flags="m" />
+               </device>
+       </map>
+       
+       <map context="InfobarCueSheetActions">
+               <device name="dreambox remote control (native)">
+                       <key id="KEY_PREVIOUS" mapto="jumpPreviousMark" flags="m" />
+                       <key id="KEY_NEXT" mapto="jumpNextMark" flags="m" />
+                       <key id="KEY_0" mapto="toggleMark" flags="m" />
+               </device>
+               <device name="dreambox advanced remote control (native)">
+                       <key id="KEY_PREVIOUS" mapto="jumpPreviousMark" flags="m" />
+                       <key id="KEY_0" mapto="toggleMark" flags="m" />
+                       <key id="KEY_NEXT" mapto="jumpNextMark" flags="m" />
+                       <key id="KEY_RED" mapto="jumpPreviousMark" flags="m" />
+                       <key id="KEY_YELLOW" mapto="toggleMark" flags="m" />
+                       <key id="KEY_BLUE" mapto="jumpNextMark" flags="m" />
+               </device>
+               <device name="dreambox ir keyboard">
+                       <key id="KEY_PREVIOUSSONG" mapto="jumpPreviousMark" flags="m" />
+                       <key id="KEY_TAB" mapto="toggleMark" flags="m" />
+                       <key id="KEY_NEXTSONG" mapto="jumpNextMark" flags="m" />
+               </device>
+       </map>
+       
+       <map context="MediaPlayerCueSheetActions">
+               <device name="dreambox remote control (native)">
+                       <key id="KEY_0" mapto="toggleMark" flags="m" />
+               </device>
+               <device name="dreambox advanced remote control (native)">
+                       <key id="KEY_0" mapto="toggleMark" flags="m" />
+                       <key id="KEY_YELLOW" mapto="toggleMark" flags="m" />
+               </device>
+               <device name="dreambox ir keyboard">
+                       <key id="KEY_TAB" mapto="toggleMark" flags="m" />
+               </device>
+       </map>
+       
+       <map context="InfobarTeletextActions">
+               <key id="KEY_TEXT" mapto="startTeletext" flags="m" />
+       </map>
+
+       <map context="InfobarRdsActions">
+               <key id="KEY_TEXT" mapto="startRassInteractive" flags="m" />
+       </map>
+
+       <map context="RassInteractiveActions">
+               <key id="KEY_LEFT" mapto="prevSubPage" flags="mr" />
+               <key id="KEY_RIGHT" mapto="nextSubPage" flags="mr" />
+               <key id="KEY_UP" mapto="prevPage" flags="mr" />
+               <key id="KEY_DOWN" mapto="nextPage" flags="mr" />
+               <key id="KEY_EXIT" mapto="exit" flags="m" />
+               <key id="KEY_ESC" mapto="exit" flags="m" />
+       </map>
+
+       <map context="ChannelSelectBaseActions">
+               <key id="KEY_RED" mapto="showAllServices" flags="m" />
+               <key id="KEY_GREEN" mapto="showSatellites" flags="m" />
+               <key id="KEY_YELLOW" mapto="showProviders" flags="m" />
+               <key id="KEY_BLUE" mapto="showFavourites" flags="m" />
+               <key id="KEY_CHANNELUP" mapto="nextBouquet" flags="m" />
+               <key id="KEY_CHANNELDOWN" mapto="prevBouquet" flags="m" />
+               <key id="KEY_PREVIOUS" mapto="prevMarker" flags="m" />
+               <key id="KEY_NEXT" mapto="nextMarker" flags="m" />
+               <key id="KEY_BACK" mapto="prevMarker" flags="m" />
+               <key id="KEY_FORWARD" mapto="nextMarker" flags="m" />
+       </map>
+
+       <map context="ChannelSelectEPGActions">
                <key id="KEY_INFO" mapto="showEPGList" flags="m" />
        </map>
+
+       <map context="ChannelSelectEditActions">
+               <key id="KEY_MENU" mapto="contextMenu" flags="m" />
+       </map>
+
+       <map context="TvRadioActions">
+               <key id="KEY_TV" mapto="keyTV" flags="m" />
+               <key id="KEY_RADIO" mapto="keyRadio" flags="m" />
+       </map>
+
+       <map context="TimerEditActions">
+               <key id="KEY_INFO" mapto="log" flags="m" />
+       </map>
+       
        <map context="EPGSelectActions">
                <key id="KEY_GREEN" mapto="timerAdd" flags="m" />
+               <key id="KEY_YELLOW" mapto="yellow" flags="mr" />
+               <key id="KEY_BLUE" mapto="blue" flags="mr" />
+               <key id="KEY_RED" mapto="red" flags="m" />
+               <key id="KEY_INFO" mapto="info" flags="m" />
+               <key id="KEY_MENU" mapto="input_date_time" flags="m" />
+               <key id="KEY_CHANNELUP" mapto="nextBouquet" flags="m" />
+               <key id="KEY_CHANNELDOWN" mapto="prevBouquet" flags="m" />
        </map>
+
        <map context="EventViewActions">
-               <key id="KEY_UP" mapto="pageUp" flags="m" />
-               <key id="KEY_DOWN" mapto="pageDown" flags="m" />
-               <key id="KEY_LEFT" mapto="prevEvent" flags="m" />
-               <key id="KEY_RIGHT" mapto="nextEvent" flags="m" />
+               <key id="KEY_UP" mapto="pageUp" flags="mr" />
+               <key id="KEY_DOWN" mapto="pageDown" flags="mr" />
+               <key id="KEY_LEFT" mapto="prevEvent" flags="mr" />
+               <key id="KEY_RIGHT" mapto="nextEvent" flags="mr" />
+               <key id="KEY_RED" mapto="openSimilarList" flags="m" />
+               <key id="KEY_GREEN" mapto="timerAdd" flags="m" />
+               <key id="KEY_INFO" mapto="cancel" flags="m" />
        </map>
+       
+       <map context="EventViewEPGActions">
+               <key id="KEY_YELLOW" mapto="openSingleServiceEPG" flags="m" />
+               <key id="KEY_BLUE" mapto="openMultiServiceEPG" flags="m" />
+       </map>
+
        <map context="OkCancelActions">
                <key id="\x0a" mapto="ok" flags="m" />
                <key id="\x1b" mapto="cancel" flags="m" />
                <key id="KEY_ENTER" mapto="ok" flags="m" />
                <key id="KEY_ESC" mapto="cancel" flags="m" />
        </map>
+       
+       <map context="DirectionActions">
+               <key id="KEY_UP" mapto="up" flags="m" />
+               <key id="KEY_DOWN" mapto="down" flags="m" />
+               <key id="KEY_LEFT" mapto="left" flags="m" />
+               <key id="KEY_RIGHT" mapto="right" flags="m" />
+
+               <key id="KEY_UP" mapto="upRepeated" flags="r" />
+               <key id="KEY_DOWN" mapto="downRepeated" flags="r" />
+               <key id="KEY_LEFT" mapto="leftRepeated" flags="r" />
+               <key id="KEY_RIGHT" mapto="rightRepeated" flags="r" />
+               
+               <key id="KEY_LEFT" mapto="leftUp" flags="b" />
+               <key id="KEY_RIGHT" mapto="rightUp" flags="b" />
+               <key id="KEY_UP" mapto="upUp" flags="b" />
+               <key id="KEY_DOWN" mapto="downUp" flags="b" />
+       </map>
+       
+       <map context="ColorActions">
+               <key id="KEY_RED" mapto="red" flags="m" />
+               <key id="KEY_GREEN" mapto="green" flags="m" />
+               <key id="KEY_YELLOW" mapto="yellow" flags="m" />
+               <key id="KEY_BLUE" mapto="blue" flags="m" />
+       </map>
+
+       <map context="MsgBoxActions">
+               <key id="KEY_GREEN" mapto="alwaysOK" flags="m" />
+               <key id="KEY_OK" mapto="ok" flags="m" />
+               <key id="KEY_ENTER" mapto="ok" flags="m" />
+               <key id="KEY_RED" mapto="cancel" flags="m" />
+               <key id="KEY_EXIT" mapto="cancel" flags="m" />
+               <key id="KEY_ESC" mapto="cancel" flags="m" />
+       </map>
+
        <map context="WindowActions">
                
        </map>
        
+       <map context="HelpActions">
+               <key id="KEY_HELP" mapto="displayHelp" flags="m" />
+       </map>
+
        <map context="ShortcutActions">
                <key id="KEY_F1" mapto="red" flags="mr" />
                <key id="KEY_F2" mapto="yellow" flags="mr" />
        <map context="StandbyActions">
                <key id="KEY_POWER" mapto="power" flags="m" />
        </map>
-       <map context="ContextMenuActions">
-               <key id="KEY_MENU" mapto="contextMenu" flags="m" />
+       
+       <map context="SleepTimerEditorActions">
+               <key id="KEY_OK" mapto="select" flags="m" />
+               <key id="KEY_ENTER" mapto="select" flags="m" />
+               <key id="KEY_EXIT" mapto="exit" flags="m" />
+               <key id="KEY_ESC" mapto="exit" flags="m" />
+               <key id="KEY_1" mapto="1" flags="m" />
+               <key id="KEY_2" mapto="2" flags="m" />
+               <key id="KEY_3" mapto="3" flags="m" />
+               <key id="KEY_4" mapto="4" flags="m" />
+               <key id="KEY_5" mapto="5" flags="m" />
+               <key id="KEY_6" mapto="6" flags="m" />
+               <key id="KEY_7" mapto="7" flags="m" />
+               <key id="KEY_8" mapto="8" flags="m" />
+               <key id="KEY_9" mapto="9" flags="m" />
+               <key id="KEY_0" mapto="0" flags="m" />
+               <key id="KEY_LEFT" mapto="selectLeft" flags="mr" />
+               <key id="KEY_RIGHT" mapto="selectRight" flags="mr" />
+               <key id="KEY_RED" mapto="disableTimer" flags="mr" />
+               <key id="KEY_YELLOW" mapto="toggleAsk" flags="mr" />
+               <key id="KEY_GREEN" mapto="toggleAction" flags="mr" />
+               <!--key id="KEY_BLUE" mapto="settings" flags="mr" /-->
+       </map>  
+       
+       <map context="CiSelectionActions">
+               <key id="KEY_LEFT" mapto="left" flags="mr" />
+               <key id="KEY_RIGHT" mapto="right" flags="mr" />
+       </map>
+
+       <map context="PiPSetupActions">
+               <key id="KEY_UP" mapto="up" flags="mr" />
+               <key id="KEY_DOWN" mapto="down" flags="mr" />
+               <key id="KEY_LEFT" mapto="left" flags="mr" />
+               <key id="KEY_RIGHT" mapto="right" flags="mr" />
+               <key id="KEY_EXIT" mapto="cancel" flags="m" />
+               <key id="KEY_ESC" mapto="cancel" flags="m" />
+               <key id="KEY_ENTER" mapto="ok" flags="m" />
+               <key id="KEY_OK" mapto="ok" flags="m" />
+               <key id="KEY_CHANNELUP" mapto="size+" flags="mr" />
+               <key id="KEY_CHANNELDOWN" mapto="size-" flags="mr" />
+       </map>
+       
+       <map context="MediaPlayerActions">
+               <device name="dreambox remote control (native)">
+                       <key id="KEY_YELLOW" mapto="pause" flags="m" />
+                       <key id="KEY_GREEN" mapto="play" flags="m" />
+                       <key id="KEY_TV" mapto="stop" flags="b" />
+                       <key id="KEY_TV" mapto="shift_stop" flags="l" />
+                       <key id="KEY_RADIO" mapto="shift_record" flags="l" />
+                       <key id="KEY_PREVIOUS" mapto="previous" flags="m" />
+                       <key id="KEY_NEXT" mapto="next" flags="m" />
+               </device>
+               <device name="dreambox advanced remote control (native)">
+                       <key id="KEY_PLAYPAUSE" mapto="pause" flags="m" />
+                       <key id="KEY_STOP" mapto="stop" flags="b" />
+                       <key id="KEY_STOP" mapto="shift_stop" flags="l" />
+                       <key id="KEY_RECORD" mapto="shift_record" flags="l" />
+                       <key id="KEY_PREVIOUS" mapto="previous" flags="m" />
+                       <key id="KEY_NEXT" mapto="next" flags="m" />
+                       <key id="KEY_RED" mapto="previous" flags="m" />
+                       <key id="KEY_BLUE" mapto="next" flags="m" />
+               </device>
+               <device name="dreambox ir keyboard">
+                       <key id="KEY_PAUSE" mapto="pause" flags="m" />
+                       <key id="KEY_PLAY" mapto="play" flags="m" />
+                       <key id="KEY_STOP" mapto="stop" flags="b" />
+                       <key id="KEY_STOP" mapto="shift_stop" flags="l" />
+                       <key id="KEY_RECORD" mapto="shift_record" flags="l" />
+                       <key id="KEY_PREVIOUSSONG" mapto="previous" flags="m" />
+                       <key id="KEY_NEXTSONG" mapto="next" flags="m" />
+               </device>
+               
+               <key id="KEY_MENU" mapto="menu" flags="m" />
+
+               <key id="KEY_2" mapto="skipListbegin" flags="m" />
+               <key id="KEY_8" mapto="skipListend" flags="m" />
+               <key id="KEY_CHANNELUP" mapto="nextBouquet" flags="m" />
+               <key id="KEY_CHANNELDOWN" mapto="prevBouquet" flags="m" />
+               <key id="KEY_VIDEO" mapto="delete" flags="m" />
        </map>
 </keymap>