Advertisement
Guest User

remote.xml

a guest
Oct 7th, 2012
670
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 15.24 KB | None | 0 0
  1. <!-- This file contains the mapping of keys (gamepad, remote, and keyboard) to actions within XBMC -->
  2. <!-- The <global> section is a fall through - they will only be used if the button is not          -->
  3. <!-- used in the current window's section.  Note that there is only handling                       -->
  4. <!-- for a single action per button at this stage.                                                 -->
  5. <!-- For joystick/gamepad configuration under linux/win32, see below as it differs from xbox       -->
  6. <!-- gamepads.                                                                                     -->
  7.  
  8. <!-- The format is:                      -->
  9. <!--    <device>                         -->
  10. <!--      <button>action</button>        -->
  11. <!--    </device>                        -->
  12.  
  13. <!-- To map keys from other remotes using the RCA protocol, you may add <universalremote> blocks -->
  14. <!-- In this case, the tags used are <obc#> where # is the original button code (OBC) of the key -->
  15. <!-- You set it up by adding a <universalremote> block to the window or <global> section:       -->
  16. <!--    <universalremote>             -->
  17. <!--       <obc45>Stop</obc45>         -->
  18. <!--    </universalremote>            -->
  19.  
  20. <!-- Note that the action can be a built-in function.                 -->
  21. <!--  eg <B>XBMC.ActivateWindow(MyMusic)</B>                         -->
  22. <!-- would automatically go to My Music on the press of the B button. -->
  23.  
  24. <!-- Joysticks / Gamepads:                                                                    -->
  25. <!--   See the sample PS3 controller configuration below for the format.                      -->
  26. <!--                                                                                          -->
  27. <!--  Joystick Name:                                                                          -->
  28. <!--   Do 'cat /proc/bus/input/devices' or see your xbmc log file  to find the names of       -->
  29. <!--   detected joysticks. The name used in the configuration should match the detected name. -->
  30. <!--                                                                                          -->
  31. <!--  Button Ids:                                                                             -->
  32. <!--   'id' is the button ID used by SDL. Joystick button ids of connected joysticks appear   -->
  33. <!--   in xbmc.log when they are pressed. Use your log to map custom buttons to actions.      -->
  34. <!--                                                                                          -->
  35. <!--  Axis Ids / Analog Controls                                                              -->
  36. <!--   Coming soon.                                                                           -->
  37. <keymap>
  38.   <global>
  39.     <remote>
  40.       <play>Play</play>
  41.       <pause>XBMC.ActivateWindow(Home)</pause>
  42.       <stop>Stop</stop>
  43.       <forward>FastForward</forward>
  44.       <reverse>Rewind</reverse>
  45.       <left>Left</left>
  46.       <right>Right</right>
  47.       <up>Up</up>
  48.       <down>Down</down>
  49.       <select>Select</select>
  50.       <enter>FullScreen</enter>
  51.       <pageplus>PageUp</pageplus>
  52.       <pageminus>PageDown</pageminus>
  53.       <back>Back</back>
  54.       <menu>PreviousMenu</menu>
  55.       <title>ContextMenu</title>
  56.       <info>Info</info>
  57.       <skipplus>ContextMenu</skipplus>
  58.       <skipminus>Back</skipminus>
  59.       <display>FullScreen</display>
  60.       <start>PreviousMenu</start>
  61.       <record>Screenshot</record>
  62.       <volumeplus>VolumeUp</volumeplus>
  63.       <volumeminus>VolumeDown</volumeminus>
  64.       <mute>Mute</mute>
  65.       <power>XBMC.ShutDown()</power>
  66.       <myvideo>XBMC.ActivateWindow(MyVideos)</myvideo>
  67.       <mymusic>XBMC.ActivateWindow(MyMusic)</mymusic>
  68.       <mypictures>XBMC.ActivateWindow(MyPictures)</mypictures>
  69.       <mytv>XBMC.ActivateWindow(MyPVR)</mytv>
  70.       <guide>XBMC.ActivateWindowAndFocus(MyPVR, 31,0, 10,0)</guide>
  71.       <livetv>XBMC.ActivateWindowAndFocus(MyPVR, 32,0, 11,0)</livetv>
  72.       <liveradio>XBMC.ActivateWindowAndFocus(MyPVR, 33,0, 12,0)</liveradio>
  73.       <recordedtv>XBMC.ActivateWindowAndFocus(MyPVR, 34,0, 13,0)</recordedtv>
  74.       <epgsearch>XBMC.ActivateWindowAndFocus(MyPVR, 35,0, 14,0)</epgsearch>
  75.       <red>XBMC.ActivateWindow(MyPVR)</red>
  76.       <green>XBMC.ActivateWindow(MyVideos)</green>
  77.       <yellow>XBMC.ActivateWindow(MyMusic)</yellow>
  78.       <blue>XBMC.ActivateWindow(MyPictures)</blue>
  79.       <zero>Number0</zero>
  80.       <one>Number1</one>
  81.       <two>JumpSMS2</two>
  82.       <three>JumpSMS3</three>
  83.       <four>JumpSMS4</four>
  84.       <five>JumpSMS5</five>
  85.       <six>JumpSMS6</six>
  86.       <seven>JumpSMS7</seven>
  87.       <eight>JumpSMS8</eight>
  88.       <nine>JumpSMS9</nine>
  89.     </remote>
  90.   </global>
  91.   <Home>
  92.     <remote>
  93.       <info>XBMC.ActivateWindow(SystemInfo)</info>
  94.       <clear>XBMC.ActivateWindow(Weather)</clear>
  95.       <hash>XBMC.ActivateWindow(Settings)</hash>
  96.       <skipplus>XBMC.ActivateWindow(Favourites)</skipplus>
  97.       <skipminus>XBMC.ActivateWindow(ShutdownMenu)</skipminus>
  98.     </remote>
  99.   </Home>
  100.   <MyTV>
  101.     <remote>
  102.       <clear>Delete</clear>
  103.     </remote>
  104.   </MyTV>
  105.   <MyFiles>
  106.     <remote>
  107.       <clear>Delete</clear>
  108.       <zero>Highlight</zero>
  109.       <star>Move</star>
  110.       <hash>Rename</hash>
  111.     </remote>
  112.   </MyFiles>
  113.   <MyMusicPlaylist>
  114.     <remote>
  115.       <clear>Delete</clear>
  116.       <zero>Delete</zero>
  117.     </remote>
  118.   </MyMusicPlaylist>
  119.   <MyMusicPlaylistEditor>
  120.     <remote>
  121.       <zero>Queue</zero>
  122.     </remote>
  123.   </MyMusicPlaylistEditor>
  124.   <MyMusicFiles>
  125.     <remote>
  126.       <zero>Queue</zero>
  127.       <star>Queue</star>
  128.     </remote>
  129.   </MyMusicFiles>
  130.   <MyMusicLibrary>
  131.     <remote>
  132.       <zero>Queue</zero>
  133.       <star>Queue</star>
  134.     </remote>
  135.   </MyMusicLibrary>
  136.   <FullscreenVideo>
  137.     <remote>
  138.       <zero>Number0</zero>
  139.       <one>Number1</one>
  140.       <two>Number2</two>
  141.       <three>Number3</three>
  142.       <four>Number4</four>
  143.       <five>Number5</five>
  144.       <six>Number6</six>
  145.       <seven>Number7</seven>
  146.       <eight>Number8</eight>
  147.       <nine>Number9</nine>
  148.       <left>StepBack</left>
  149.       <right>StepForward</right>
  150.       <up>BigStepForward</up>
  151.       <down>BigStepBack</down>
  152.       <back>SmallStepBack</back>
  153.       <menu>OSD</menu>
  154.       <start>OSD</start>
  155.       <select>AspectRatio</select>
  156.       <title>CodecInfo</title>
  157.       <info>Info</info>
  158.       <guide>XBMC.ActivateWindow(PVROSDGuide)</guide>
  159.       <teletext>XBMC.ActivateWindow(Teletext)</teletext>
  160.       <subtitle>NextSubtitle</subtitle>
  161.       <star>NextSubtitle</star>
  162.       <language>AudioNextLanguage</language>
  163.       <playlist>Playlist</playlist>
  164.       <hash>AudioNextLanguage</hash>
  165.       <pageplus>SkipNext</pageplus>
  166.       <pageminus>SkipPrevious</pageminus>
  167.       <skipplus>OSD</skipplus>
  168.       <skipminus>Back</skipminus>
  169.       <pause>Pause</pause>
  170.     </remote>
  171.   </FullscreenVideo>
  172.   <VideoTimeSeek>
  173.     <remote>
  174.       <select>Select</select>
  175.       <enter>Select</enter>
  176.     </remote>
  177.   </VideoTimeSeek>
  178.   <FullscreenInfo>
  179.     <remote>
  180.       <title>CodecInfo</title>
  181.       <info>Back</info>
  182.       <menu>OSD</menu>
  183.     </remote>
  184.   </FullscreenInfo>
  185.   <PlayerControls>
  186.     <remote>
  187.       <menu>Back</menu>
  188.     </remote>
  189.   </PlayerControls>
  190.   <Visualisation>
  191.     <remote>
  192.       <left>PreviousPreset</left>
  193.       <right>NextPreset</right>
  194.       <up>IncreaseRating</up>
  195.       <down>DecreaseRating</down>
  196.       <back>LockPreset</back>
  197.       <title>CodecInfo</title>
  198.       <select>XBMC.ActivateWindow(VisualisationPresetList)</select>
  199.       <menu>XBMC.ActivateWindow(MusicOSD)</menu>
  200.       <start>XBMC.ActivateWindow(MusicOSD)</start>
  201.       <info>Info</info>
  202.       <guide>XBMC.ActivateWindow(PVROSDGuide)</guide>
  203.       <playlist>XBMC.ActivateWindow(PVROSDChannels)</playlist>
  204.     </remote>
  205.   </Visualisation>
  206.   <MusicOSD>
  207.     <remote>
  208.       <menu>Back</menu>
  209.       <title>Info</title>
  210.       <info>CodecInfo</info>
  211.     </remote>
  212.   </MusicOSD>
  213.   <VisualisationSettings>
  214.     <remote>
  215.       <menu>Back</menu>
  216.     </remote>
  217.   </VisualisationSettings>
  218.   <VisualisationPresetList>
  219.     <remote>
  220.       <menu>Back</menu>
  221.     </remote>
  222.   </VisualisationPresetList>
  223.   <SlideShow>
  224.     <remote>
  225.       <zero>ZoomNormal</zero>
  226.       <one>ZoomLevel1</one>
  227.       <two>ZoomLevel2</two>
  228.       <three>ZoomLevel3</three>
  229.       <four>ZoomLevel4</four>
  230.       <five>ZoomLevel5</five>
  231.       <six>ZoomLevel6</six>
  232.       <seven>ZoomLevel7</seven>
  233.       <eight>ZoomLevel8</eight>
  234.       <nine>ZoomLevel9</nine>
  235.       <info>CodecInfo</info>
  236.       <skipplus>Menu</skipplus>
  237.       <skipminus>Back</skipminus>
  238.       <title>Info</title>
  239.       <select>Rotate</select>
  240.     </remote>
  241.   </SlideShow>
  242.   <ScreenCalibration>
  243.     <remote>
  244.       <select>NextCalibration</select>
  245.       <zero>ResetCalibration</zero>
  246.       <display>NextResolution</display>
  247.       <xbox>NextResolution</xbox>
  248.     </remote>
  249.   </ScreenCalibration>
  250.   <GUICalibration>
  251.     <remote>
  252.       <select>NextCalibration</select>
  253.       <zero>ResetCalibration</zero>
  254.     </remote>
  255.   </GUICalibration>
  256.   <VideoOSD>
  257.     <remote>
  258.       <menu>Back</menu>
  259.       <start>Back</start>
  260.     </remote>
  261.   </VideoOSD>
  262.   <VideoMenu>
  263.     <remote>
  264.       <menu>OSD</menu>
  265.       <info>Info</info>
  266.       <title>CodecInfo</title>
  267.       <zero>Number0</zero>
  268.       <one>Number1</one>
  269.       <two>Number2</two>
  270.       <three>Number3</three>
  271.       <four>Number4</four>
  272.       <five>Number5</five>
  273.       <six>Number6</six>
  274.       <seven>Number7</seven>
  275.       <eight>Number8</eight>
  276.       <nine>Number9</nine>
  277.       <play>Select</play>
  278.       <pageplus>SkipNext</pageplus>
  279.       <pageminus>SkipPrevious</pageminus>
  280.     </remote>
  281.   </VideoMenu>
  282.   <OSDVideoSettings>
  283.     <remote>
  284.       <menu>Back</menu>
  285.       <start>Back</start>
  286.     </remote>
  287.   </OSDVideoSettings>
  288.   <OSDAudioSettings>
  289.     <remote>
  290.       <menu>Back</menu>
  291.       <start>Back</start>
  292.     </remote>
  293.   </OSDAudioSettings>
  294.   <VideoBookmarks>
  295.     <remote>
  296.       <menu>Back</menu>
  297.       <start>Back</start>
  298.       <zero>Delete</zero>
  299.     </remote>
  300.   </VideoBookmarks>
  301.   <MyVideoLibrary>
  302.     <remote>
  303.       <zero>Queue</zero>
  304.       <clear>Delete</clear>
  305.     </remote>
  306.   </MyVideoLibrary>
  307.   <MyVideoFiles>
  308.     <remote>
  309.       <zero>Queue</zero>
  310.       <star>Queue</star>
  311.     </remote>
  312.   </MyVideoFiles>
  313.   <MyVideoPlaylist>
  314.     <remote>
  315.       <clear>Delete</clear>
  316.       <zero>Delete</zero>
  317.     </remote>
  318.   </MyVideoPlaylist>
  319.   <VirtualKeyboard>
  320.     <remote>
  321.       <back>BackSpace</back>
  322.       <star>Shift</star>
  323.       <hash>Symbols</hash>
  324.       <zero>Number0</zero>
  325.       <one>Number1</one>
  326.       <two>Number2</two>
  327.       <three>Number3</three>
  328.       <four>Number4</four>
  329.       <five>Number5</five>
  330.       <six>Number6</six>
  331.       <seven>Number7</seven>
  332.       <eight>Number8</eight>
  333.       <nine>Number9</nine>
  334.       <enter>Enter</enter>
  335.       <pageminus>CursorLeft</pageminus>
  336.       <pageplus>CursorRight</pageplus>
  337.     </remote>
  338.   </VirtualKeyboard>
  339.   <ContextMenu>
  340.     <remote>
  341.       <title>Back</title>
  342.     </remote>
  343.   </ContextMenu>
  344.   <Scripts>
  345.     <remote>
  346.       <info>info</info>
  347.     </remote>
  348.   </Scripts>
  349.   <NumericInput>
  350.     <remote>
  351.       <zero>Number0</zero>
  352.       <one>Number1</one>
  353.       <two>Number2</two>
  354.       <three>Number3</three>
  355.       <four>Number4</four>
  356.       <five>Number5</five>
  357.       <six>Number6</six>
  358.       <seven>Number7</seven>
  359.       <eight>Number8</eight>
  360.       <nine>Number9</nine>
  361.       <enter>Enter</enter>
  362.       <back>BackSpace</back>
  363.     </remote>
  364.   </NumericInput>
  365.   <Weather>
  366.     <remote>
  367.       <back>PreviousMenu</back>
  368.     </remote>
  369.   </Weather>
  370.   <TV>
  371.     <remote>
  372.       <red>Red</red>
  373.       <green>Green</green>
  374.       <yellow>Yellow</yellow>
  375.       <blue>Blue</blue>
  376.     </remote>
  377.   </TV>
  378.   <Settings>
  379.     <remote>
  380.       <back>PreviousMenu</back>
  381.     </remote>
  382.   </Settings>
  383.   <AddonBrowser>
  384.     <remote>
  385.     </remote>
  386.   </AddonBrowser>
  387.   <AddonInformation>
  388.     <remote>
  389.       <back>Close</back>
  390.     </remote>
  391.   </AddonInformation>
  392.   <AddonSettings>
  393.     <remote>
  394.       <back>Close</back>
  395.     </remote>
  396.   </AddonSettings>
  397.   <TextViewer>
  398.     <remote>
  399.       <back>Close</back>
  400.     </remote>
  401.   </TextViewer>
  402.   <MyPicturesSettings>
  403.     <remote>
  404.       <back>PreviousMenu</back>
  405.     </remote>
  406.   </MyPicturesSettings>
  407.   <MyProgramsSettings>
  408.     <remote>
  409.       <back>PreviousMenu</back>
  410.     </remote>
  411.   </MyProgramsSettings>
  412.   <MyWeatherSettings>
  413.     <remote>
  414.       <back>PreviousMenu</back>
  415.     </remote>
  416.   </MyWeatherSettings>
  417.   <MyMusicSettings>
  418.     <remote>
  419.       <back>PreviousMenu</back>
  420.     </remote>
  421.   </MyMusicSettings>
  422.   <SystemSettings>
  423.     <remote>
  424.       <back>PreviousMenu</back>
  425.     </remote>
  426.   </SystemSettings>
  427.   <MyVideosSettings>
  428.     <remote>
  429.       <back>PreviousMenu</back>
  430.     </remote>
  431.   </MyVideosSettings>
  432.   <NetworkSettings>
  433.     <remote>
  434.       <back>PreviousMenu</back>
  435.     </remote>
  436.   </NetworkSettings>
  437.   <AppearanceSettings>
  438.     <remote>
  439.       <back>PreviousMenu</back>
  440.     </remote>
  441.   </AppearanceSettings>
  442.   <Profiles>
  443.     <remote>
  444.       <back>PreviousMenu</back>
  445.     </remote>
  446.   </Profiles>
  447.   <systeminfo>
  448.     <remote>
  449.       <back>PreviousMenu</back>
  450.     </remote>
  451.   </systeminfo>
  452.   <shutdownmenu>
  453.     <remote>
  454.       <back>PreviousMenu</back>
  455.     </remote>
  456.   </shutdownmenu>
  457.   <submenu>
  458.     <remote>
  459.       <back>PreviousMenu</back>
  460.     </remote>
  461.   </submenu>
  462.   <MusicInformation>
  463.     <remote>
  464.       <info>Back</info>
  465.     </remote>
  466.   </MusicInformation>
  467.   <MovieInformation>
  468.     <remote>
  469.       <info>Back</info>
  470.     </remote>
  471.   </MovieInformation>
  472.   <LockSettings>
  473.     <remote>
  474.       <menu>Back</menu>
  475.     </remote>
  476.   </LockSettings>
  477.   <ProfileSettings>
  478.     <remote>
  479.       <menu>Back</menu>
  480.     </remote>
  481.   </ProfileSettings>
  482.   <PictureInfo>
  483.     <remote>
  484.       <skipplus>Menu</skipplus>
  485.       <skipminus>Back</skipminus>
  486.       <info>Back</info>
  487.     </remote>
  488.   </PictureInfo>
  489.   <Teletext>
  490.     <remote>
  491.       <zero>number0</zero>
  492.       <one>number1</one>
  493.       <two>number2</two>
  494.       <three>number3</three>
  495.       <four>number4</four>
  496.       <five>number5</five>
  497.       <six>number6</six>
  498.       <seven>number7</seven>
  499.       <eight>number8</eight>
  500.       <nine>number9</nine>
  501.       <red>Red</red>
  502.       <green>Green</green>
  503.       <yellow>Yellow</yellow>
  504.       <blue>Blue</blue>
  505.       <info>Info</info>
  506.       <menu>Back</menu>
  507.       <start>Back</start>
  508.       <teletext>Back</teletext>
  509.     </remote>
  510.   </Teletext>
  511.   <Favourites>
  512.     <remote>
  513.       <back>Close</back>
  514.     </remote>
  515.   </Favourites>
  516.   <PVROSDChannels>
  517.     <remote>
  518.       <back>Close</back>
  519.       <menu>Close</menu>
  520.       <start>Close</start>
  521.       <playlist>Close</playlist>
  522.     </remote>
  523.   </PVROSDChannels>
  524.   <PVROSDGuide>
  525.     <remote>
  526.       <back>Close</back>
  527.       <menu>Close</menu>
  528.       <start>Close</start>
  529.       <guide>Close</guide>
  530.     </remote>
  531.   </PVROSDGuide>
  532.   <PVROSDDirector>
  533.     <remote>
  534.       <back>Close</back>
  535.       <menu>Close</menu>
  536.     </remote>
  537.   </PVROSDDirector>
  538.   <PVROSDCutter>
  539.     <remote>
  540.       <back>Close</back>
  541.       <menu>Close</menu>
  542.     </remote>
  543.   </PVROSDCutter>
  544.   <MyTVSettings>
  545.     <remote>
  546.       <back>PreviousMenu</back>
  547.     </remote>
  548.   </MyTVSettings>
  549.   <AddonSettings>
  550.     <remote>
  551.       <clear>Delete</clear>
  552.     </remote>
  553.   </AddonSettings>
  554. </keymap>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement