(ralfk) media player actions
[enigma2.git] / data / keymap.xml
index 56664164a526cf4cc061fbf2e1f7c0c1af481ff6..808ed41771ccd35ed0fc9c6abfb117b7ce109bc8 100644 (file)
 
                <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="seek:-15" flags="b" />
+               <key id="KEY_3" mapto="seek:15" flags="b" />
+               <key id="KEY_1" mapto="seekBackDef" flags="l" />
+               <key id="KEY_3" mapto="seekFwdDef" flags="l" />
+               <key id="KEY_4" mapto="seek:-60" flags="m" />
+               <key id="KEY_6" mapto="seek:60" flags="m" />
+               <key id="KEY_7" mapto="seek:-300" flags="m" />
+               <key id="KEY_9" mapto="seek:300" 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>
+               
+               <key id="KEY_1" mapto="seek:-15" flags="m" />
+               <key id="KEY_3" mapto="seek:15" flags="m" />
+               <key id="KEY_1" mapto="seekBackDef" flags="l" />
+               <key id="KEY_3" mapto="seekFwdDef" flags="l" />
+               <key id="KEY_4" mapto="seek:-60" flags="m" />
+               <key id="KEY_6" mapto="seek:60" flags="m" />
+               <key id="KEY_7" mapto="seek:-300" flags="m" />
+               <key id="KEY_9" mapto="seek:300" flags="m" />
        </map>
 
        <map context="InfobarTimeshiftActions">
        </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_PREVIOUSSONG" mapto="jumpPreviousMark" flags="m" />
+                       <key id="KEY_PLAYPAUSE" mapto="toggleMark" flags="m" />
+                       <key id="KEY_NEXTSONG" mapto="jumpNextMark" flags="m" />
+               </device>
+               <device name="dreambox advanced remote control (native)">
+                       <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>
+       </map>
+       
+       <map context="MediaPlayerCueSheetActions">
                <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_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_NEXT" mapto="next" flags="mr" />
                
                <key id="KEY_MENU" mapto="menu" flags="m" />
+
+               <key id="KEY_0" 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" />
+               <key id="KEY_STOP" mapto="shift_stop" flags="m" />
+               <key id="KEY_RECORD" mapto="shift_record" flags="m" />
        </map>
 </keymap>