cleanup
[enigma2.git] / data / keymap.xml
index 56664164a526cf4cc061fbf2e1f7c0c1af481ff6..e83b851b4e8ef03ff34b41ed909b28c944d78ed6 100644 (file)
        </map>
        
        <map context="KeyboardInputActions">
-               <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" />
+               <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_RIGHT" mapto="right" flags="mr" />
                <key id="KEY_RED" mapto="cancel" flags="m" />
                <key id="KEY_GREEN" mapto="save" flags="m" />
-               <key id="KEY_MUTE" mapto="delete" flags="mr" />
+               <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" />
        </map>
 
        <map context="InfobarEPGActions">
-               <key id="KEY_INFO" mapto="showEventInfo" flags="m" />
+               <key id="KEY_INFO" mapto="showEventInfo" flags="b" />
+               <key id="KEY_INFO" mapto="showSingleServiceEPG" flags="l" />
        </map>
        
        <map context="InfobarInstantRecord">
-               <device name="dreambox remote control (native)">
-                       <key id="KEY_RED" mapto="instantRecord" flags="b" />
-               </device>
                <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_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" />
        </map>
 
        <map context="InputAsciiActions">
-               <key id="KEY_ASCII" mapto="gotAsciiCode" flags="mr" />
+               <device name="Console">
+                       <key id="KEY_ASCII" mapto="gotAsciiCode" flags="mr" />
+               </device>
        </map>
 
        <map context="InputBoxActions">
                <key id="KEY_ENTER" mapto="ok" flags="m" />
                <key id="KEY_EXIT" mapto="back" flags="m" />
                <key id="KEY_ESC" mapto="back" flags="m" />
-               <key id="KEY_MUTE" mapto="delete" flags="mr" />
+               <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" />
                <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 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_TV" 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="powerdown" flags="m" />
-               <key id="KEY_POWER" mapto="powerup" flags="b" />
+               <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">
        </map>
 
        <map context="TextEntryActions">
-               <key id="KEY_MUTE" mapto="delete" flags="mr" />
+               <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>
                <device name="dreambox advanced remote control (native)">
                        <key id="KEY_PLAY" mapto="playpauseService" flags="m" />
-                       <!--key id="KEY_GREEN" mapto="unPauseService" 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_1" mapto="seek:-30" flags="m" />
-               <key id="KEY_3" mapto="seek:30" flags="m" />
-               <key id="KEY_4" mapto="seek:-90" flags="m" />
-               <key id="KEY_6" mapto="seek:90" flags="m" />
-               <key id="KEY_7" mapto="seek:-270" flags="m" />
-               <key id="KEY_9" mapto="seek:270" 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_YELLOW" mapto="timeshiftStart" flags="m" />
                        <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="m" />
+                       <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>
 
        <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>
-               <key id="KEY_TV" mapto="leavePlayer" flags="m" />
        </map>
        
        <map context="InfobarCueSheetActions">
                <device name="dreambox remote control (native)">
-                       <key id="KEY_PREVIOUSSONG" mapto="jumpPreviousMark" flags="m" />
-                       <key id="KEY_PLAYPAUSE" mapto="toggleMark" flags="m" />
-                       <key id="KEY_NEXTSONG" mapto="jumpNextMark" flags="m" />
+                       <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_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_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">
        
        <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_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_CHANNELDOWN" mapto="size-" flags="mr" />
        </map>
        
-       <map context="MediaPlayerSeekActions">
+       <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="m" />
-                       <!--key id="KEY_GREEN" 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_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_TV" mapto="stop" flags="m" />
-
-               <key id="KEY_PREVIOUS" mapto="previous" flags="mr" />
-               <key id="KEY_NEXT" mapto="next" flags="mr" />
                
                <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>