Guest User

remote.xml

a guest
Aug 24th, 2012
1,647
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 11.94 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>Pause</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>Menu</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.       <eject>XBMC.EjectTray()</eject>
  67.       <myvideo>XBMC.ActivateWindow(MyVideos)</myvideo>
  68.       <mymusic>XBMC.ActivateWindow(MyMusic)</mymusic>
  69.       <mypictures>XBMC.ActivateWindow(MyPictures)</mypictures>
  70.       <mytv>XBMC.ActivateWindow(VideoLibrary,TvShows)</mytv>
  71.       <red>XBMC.ActivateWindow(Home)</red>
  72.       <green>XBMC.ActivateWindow(MyVideos)</green>
  73.       <yellow>XBMC.ActivateWindow(MyMusic)</yellow>
  74.       <blue>XBMC.ActivateWindow(MyPictures)</blue>
  75.       <zero>Number0</zero>
  76.       <one>Number1</one>
  77.       <two>JumpSMS2</two>
  78.       <three>JumpSMS3</three>
  79.       <four>JumpSMS4</four>
  80.       <five>JumpSMS5</five>
  81.       <six>JumpSMS6</six>
  82.       <seven>JumpSMS7</seven>
  83.       <eight>JumpSMS8</eight>
  84.       <nine>JumpSMS9</nine>
  85.     </remote>
  86.   </global>
  87.   <Home>
  88.     <remote>
  89.       <info>XBMC.ActivateWindow(SystemInfo)</info>
  90.       <clear>XBMC.ActivateWindow(Weather)</clear>
  91.       <hash>XBMC.ActivateWindow(Settings)</hash>
  92.     </remote>
  93.   </Home>
  94.   <MyFiles>
  95.     <remote>
  96.       <clear>Delete</clear>
  97.       <zero>Highlight</zero>
  98.       <star>Move</star>
  99.       <hash>Rename</hash>
  100.     </remote>
  101.   </MyFiles>
  102.   <MyMusicPlaylist>
  103.     <remote>
  104.       <clear>Delete</clear>
  105.       <zero>Delete</zero>
  106.     </remote>
  107.   </MyMusicPlaylist>
  108.   <MyMusicPlaylistEditor>
  109.     <remote>
  110.       <zero>Queue</zero>
  111.     </remote>
  112.   </MyMusicPlaylistEditor>
  113.   <MyMusicFiles>
  114.     <remote>
  115.       <zero>Queue</zero>
  116.       <star>Queue</star>
  117.     </remote>
  118.   </MyMusicFiles>
  119.   <MyMusicLibrary>
  120.     <remote>
  121.       <zero>Queue</zero>
  122.       <star>Queue</star>
  123.     </remote>
  124.   </MyMusicLibrary>
  125.   <FullscreenVideo>
  126.     <remote>
  127.       <zero>Number0</zero>
  128.       <one>Number1</one>
  129.       <two>Number2</two>
  130.       <three>Number3</three>
  131.       <four>Number4</four>
  132.       <five>Number5</five>
  133.       <six>Number6</six>
  134.       <seven>Number7</seven>
  135.       <eight>Number8</eight>
  136.       <nine>Number9</nine>
  137.       <left>StepBack</left>
  138.       <right>StepForward</right>
  139.       <up>BigStepForward</up>
  140.       <down>BigStepBack</down>
  141.       <back>SmallStepBack</back>
  142.       <menu>OSD</menu>
  143.       <start>OSD</start>
  144.       <select>AspectRatio</select>
  145.       <title>CodecInfo</title>
  146.       <info>Info</info>
  147.       <teletext>XBMC.ActivateWindow(Teletext)</teletext>
  148.       <subtitle>NextSubtitle</subtitle>
  149.       <star>NextSubtitle</star>
  150.       <language>AudioNextLanguage</language>
  151.       <hash>AudioNextLanguage</hash>
  152.       <pageplus>SkipNext</pageplus>
  153.       <pageminus>SkipPrevious</pageminus>
  154.       <skipplus>OSD</skipplus>
  155.       <skipminus>Back</skipminus>
  156.     </remote>
  157.   </FullscreenVideo>
  158.   <VideoTimeSeek>
  159.     <remote>
  160.       <select>Select</select>
  161.       <enter>Select</enter>
  162.     </remote>
  163.   </VideoTimeSeek>
  164.   <FullscreenInfo>
  165.     <remote>
  166.       <title>CodecInfo</title>
  167.       <info>Back</info>
  168.       <menu>OSD</menu>
  169.     </remote>
  170.   </FullscreenInfo>
  171.   <PlayerControls>
  172.     <remote>
  173.       <menu>Back</menu>
  174.       <skipplus>Back</skipplus>
  175.       <skipminus>Back</skipminus>
  176.     </remote>
  177.   </PlayerControls>
  178.   <Visualisation>
  179.     <remote>
  180.       <left>PreviousPreset</left>
  181.       <right>NextPreset</right>
  182.       <up>IncreaseRating</up>
  183.       <down>DecreaseRating</down>
  184.       <back>LockPreset</back>
  185.       <title>CodecInfo</title>
  186.       <select>XBMC.ActivateWindow(VisualisationPresetList)</select>
  187.       <menu>XBMC.ActivateWindow(MusicOSD)</menu>
  188.       <start>XBMC.ActivateWindow(MusicOSD)</start>
  189.       <info>Info</info>
  190.     </remote>
  191.   </Visualisation>
  192.   <MusicOSD>
  193.     <remote>
  194.       <menu>Back</menu>
  195.       <title>Info</title>
  196.       <info>CodecInfo</info>
  197.     </remote>
  198.   </MusicOSD>
  199.   <VisualisationSettings>
  200.     <remote>
  201.       <menu>Back</menu>
  202.     </remote>
  203.   </VisualisationSettings>
  204.   <VisualisationPresetList>
  205.     <remote>
  206.       <menu>Back</menu>
  207.     </remote>
  208.   </VisualisationPresetList>
  209.   <SlideShow>
  210.     <remote>
  211.       <zero>ZoomNormal</zero>
  212.       <one>ZoomLevel1</one>
  213.       <two>ZoomLevel2</two>
  214.       <three>ZoomLevel3</three>
  215.       <four>ZoomLevel4</four>
  216.       <five>ZoomLevel5</five>
  217.       <six>ZoomLevel6</six>
  218.       <seven>ZoomLevel7</seven>
  219.       <eight>ZoomLevel8</eight>
  220.       <nine>ZoomLevel9</nine>
  221.       <info>CodecInfo</info>
  222.       <skipplus>NextPicture</skipplus>
  223.       <skipminus>PreviousPicture</skipminus>
  224.       <title>Info</title>
  225.       <select>Rotate</select>
  226.     </remote>
  227.   </SlideShow>
  228.   <ScreenCalibration>
  229.     <remote>
  230.       <select>NextCalibration</select>
  231.       <zero>ResetCalibration</zero>
  232.       <display>NextResolution</display>
  233.       <xbox>NextResolution</xbox>
  234.     </remote>
  235.   </ScreenCalibration>
  236.   <GUICalibration>
  237.     <remote>
  238.       <select>NextCalibration</select>
  239.       <zero>ResetCalibration</zero>
  240.     </remote>
  241.   </GUICalibration>
  242.   <VideoOSD>
  243.     <remote>
  244.       <menu>Back</menu>
  245.       <start>Back</start>
  246.     </remote>
  247.   </VideoOSD>
  248.   <VideoMenu>
  249.     <remote>
  250.       <menu>OSD</menu>
  251.       <info>Info</info>
  252.       <title>CodecInfo</title>
  253.       <zero>Number0</zero>
  254.       <one>Number1</one>
  255.       <two>Number2</two>
  256.       <three>Number3</three>
  257.       <four>Number4</four>
  258.       <five>Number5</five>
  259.       <six>Number6</six>
  260.       <seven>Number7</seven>
  261.       <eight>Number8</eight>
  262.       <nine>Number9</nine>
  263.       <play>Select</play>
  264.       <pageplus>SkipNext</pageplus>
  265.       <pageminus>SkipPrevious</pageminus>
  266.     </remote>
  267.   </VideoMenu>
  268.   <OSDVideoSettings>
  269.     <remote>
  270.       <menu>Back</menu>
  271.       <start>Back</start>
  272.     </remote>
  273.   </OSDVideoSettings>
  274.   <OSDAudioSettings>
  275.     <remote>
  276.       <menu>Back</menu>
  277.       <start>Back</start>
  278.     </remote>
  279.   </OSDAudioSettings>
  280.   <VideoBookmarks>
  281.     <remote>
  282.       <menu>Back</menu>
  283.       <start>Back</start>
  284.       <zero>Delete</zero>
  285.     </remote>
  286.   </VideoBookmarks>
  287.   <MyVideoLibrary>
  288.     <remote>
  289.       <zero>Queue</zero>
  290.       <clear>Delete</clear>
  291.     </remote>
  292.   </MyVideoLibrary>
  293.   <MyVideoFiles>
  294.     <remote>
  295.       <zero>Queue</zero>
  296.       <star>Queue</star>
  297.     </remote>
  298.   </MyVideoFiles>
  299.   <MyVideoPlaylist>
  300.     <remote>
  301.       <clear>Delete</clear>
  302.       <zero>Delete</zero>
  303.     </remote>
  304.   </MyVideoPlaylist>
  305.   <VirtualKeyboard>
  306.     <remote>
  307.       <back>BackSpace</back>
  308.       <star>Shift</star>
  309.       <hash>Symbols</hash>
  310.       <zero>Number0</zero>
  311.       <one>Number1</one>
  312.       <two>Number2</two>
  313.       <three>Number3</three>
  314.       <four>Number4</four>
  315.       <five>Number5</five>
  316.       <six>Number6</six>
  317.       <seven>Number7</seven>
  318.       <eight>Number8</eight>
  319.       <nine>Number9</nine>
  320.       <enter>Enter</enter>
  321.       <pageminus>CursorLeft</pageminus>
  322.       <pageplus>CursorRight</pageplus>
  323.     </remote>
  324.   </VirtualKeyboard>
  325.   <ContextMenu>
  326.     <remote>
  327.       <title>Back</title>
  328.     </remote>
  329.   </ContextMenu>
  330.   <Scripts>
  331.     <remote>
  332.       <info>info</info>
  333.     </remote>
  334.   </Scripts>
  335.   <NumericInput>
  336.     <remote>
  337.       <zero>Number0</zero>
  338.       <one>Number1</one>
  339.       <two>Number2</two>
  340.       <three>Number3</three>
  341.       <four>Number4</four>
  342.       <five>Number5</five>
  343.       <six>Number6</six>
  344.       <seven>Number7</seven>
  345.       <eight>Number8</eight>
  346.       <nine>Number9</nine>
  347.       <enter>Enter</enter>
  348.       <back>BackSpace</back>
  349.     </remote>
  350.   </NumericInput>
  351.   <MusicInformation>
  352.     <remote>
  353.       <info>Back</info>
  354.     </remote>
  355.   </MusicInformation>
  356.   <MovieInformation>
  357.     <remote>
  358.       <info>Back</info>
  359.     </remote>
  360.   </MovieInformation>
  361.   <LockSettings>
  362.     <remote>
  363.       <menu>Back</menu>
  364.     </remote>
  365.   </LockSettings>
  366.   <ProfileSettings>
  367.     <remote>
  368.       <menu>Back</menu>
  369.     </remote>
  370.   </ProfileSettings>
  371.   <PictureInfo>
  372.     <remote>
  373.       <skipplus>NextPicture</skipplus>
  374.       <skipminus>PreviousPicture</skipminus>
  375.       <info>Back</info>
  376.     </remote>
  377.   </PictureInfo>
  378.   <Teletext>
  379.     <remote>
  380.       <zero>number0</zero>
  381.       <one>number1</one>
  382.       <two>number2</two>
  383.       <three>number3</three>
  384.       <four>number4</four>
  385.       <five>number5</five>
  386.       <six>number6</six>
  387.       <seven>number7</seven>
  388.       <eight>number8</eight>
  389.       <nine>number9</nine>
  390.       <red>Red</red>
  391.       <green>Green</green>
  392.       <yellow>Yellow</yellow>
  393.       <blue>Blue</blue>
  394.       <info>Info</info>
  395.       <menu>Back</menu>
  396.       <start>Back</start>
  397.       <teletext>Back</teletext>
  398.     </remote>
  399.   </Teletext>
  400.   <AddonSettings>
  401.     <remote>
  402.       <clear>Delete</clear>
  403.     </remote>
  404.   </AddonSettings>
  405. </keymap>
Advertisement
Add Comment
Please, Sign In to add comment