Advertisement
Guest User

remote.xml

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