Advertisement
Guest User

XBMC Xbox360 Controller Keymap

a guest
Jun 5th, 2012
7,451
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 11.53 KB | None | 0 0
  1. <!--
  2. # This file is for use with a XBOX 360 Controller
  3. # To use please replace the joystickname with the one you find
  4. # in your xbmclogfile
  5. #
  6. # Be careful:
  7. # I generally encourage people to use the analog stick
  8. # The DPad gets remapped from its default (up, down, etc) to various
  9. # actions (delete, queue, etc.)
  10. # The AnalogStick should be used for browsing.
  11. #
  12. # The Buttons of the controller are mapped as the following list shows:
  13. #button id 1 = A
  14. #button id 2 = B
  15. #button id 3 = X
  16. #button id 4 = Y
  17. #button id 5 = Left Shoulder Button
  18. #button id 6 = Right Shoulder Button
  19. #button id 7 = back
  20. #button id 8 = start
  21. #button id 9 = left stick button
  22. #button id 10 = right stick button
  23. #
  24. #
  25. #axis limit="1" id="2"   Up on left stick
  26. #axis limit="+1" id="2"   Down on left stick
  27. #axis limit="1" id="1"   Left on left stick
  28. #axis limit="+1" id="1"   Right on left stick
  29. #
  30. #axis limit="1" id="3"   LeftTrigger
  31. #axis limit="+1" id="3"   RightTrigger
  32. #
  33. #axis limit="1" id="4"   Up on right stick
  34. #axis limit="+1" id="4"   Down on right stick
  35. #axis limit="1" id="5"   Left on right stick
  36. #axis limit="+1" id="5"   Right on right stick
  37. #
  38. #
  39. #hat id="1" position="up"   Up on DPAD
  40. #hat id="1" position="right"   Right on DPAD
  41. #hat id="1" position="down"   Down on DPAD
  42. #hat id="1" position="left"   Left on DPAD
  43. #
  44. #
  45. -->
  46. <keymap>
  47.   <global>
  48.     <joystick name="Controller (XBOX 360 For Windows)">
  49.       <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  50.       <button id="1">Select</button>
  51.       <button id="2">ParentDir</button>
  52.       <button id="3">FullScreen</button>
  53.       <button id="4">ContextMenu</button>
  54.       <button id="5">Stop</button>
  55.       <button id="6">Pause</button>
  56.       <button id="7">PreviousMenu</button>
  57.       <button id="8">XBMC.ActivateWindow(settings) </button>
  58.       <button id="9">Playlist</button>
  59.       <button id="10">XBMC.UpdateLibrary(video)</button>
  60.  
  61.       <hat id="1" position="up">Up</hat>
  62.       <hat id="1" position="down">Down</hat>
  63.       <hat id="1" position="right">Right</hat>
  64.       <hat id="1" position="left">Left</hat>
  65.      
  66.       <axis limit="-1" id="4">VolumeUp</axis>
  67.       <axis limit="+1" id="4">VolumeDown</axis>
  68.       <axis limit="-1" id="5">AnalogSeekBack</axis>
  69.       <axis limit="+1" id="5">AnalogSeekForward</axis>
  70.  
  71.       <axis limit="-1" id="3">ScrollDown</axis>
  72.       <axis limit="+1" id="3">ScrollUp</axis>
  73.     </joystick>
  74.   </global>
  75. <Home>
  76.  <joystick name="Controller (XBOX 360 For Windows)">
  77.  <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  78.     <button id="8">XBMC.ActivateWindow(shutdownmenu)</button>
  79.  </joystick>
  80. </Home>
  81.   <FullscreenVideo>
  82.     <joystick name="Controller (XBOX 360 For Windows)">
  83.     <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  84.       <button id="1">Pause</button>
  85.       <button id="2">Stop</button>
  86.       <button id="3">FullScreen</button>
  87.       <button id="4">SkipNext</button>
  88.       <button id="5">CodecInfo</button>
  89.       <button id="6">ShowTime</button>
  90.       <button id="7">Info</button>
  91.       <button id="8">OSD</button>
  92.       <axis limit="-1" id="3">AnalogFastForward</axis>
  93.       <axis limit="+1" id="3">AnalogRewind</axis>
  94.       <hat id="1" position="up">BigStepForward</hat>
  95.       <hat id="1" position="right">StepForward</hat>
  96.       <hat id="1" position="down">BigStepBack</hat>
  97.       <hat id="1" position="left">StepBack</hat>
  98.     </joystick>
  99.   </FullscreenVideo>
  100.  <FullscreenInfo>
  101.    <joystick name="Controller (XBOX 360 For Windows)">
  102.    <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  103.       <button id="7">Close</button>
  104.       <button id="2">Close</button>
  105.     </joystick>
  106.   </FullscreenInfo>
  107.  <PlayerControls>
  108.    <joystick name="Controller (XBOX 360 For Windows)">
  109.    <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  110.      <button id="8">Close</button>
  111.      <button id="7">Close</button>
  112.      <button id="2">Close</button>
  113.    </joystick>
  114.  </PlayerControls>
  115.  <MusicOSD>
  116.    <joystick name="Controller (XBOX 360 For Windows)">
  117.    <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  118.      <button id="7">Close</button>  
  119.      <button id="2">Close</button>
  120.    </joystick>
  121.  </MusicOSD>
  122.  <VisualisationSettings>
  123.   <joystick name="Controller (XBOX 360 For Windows)">
  124.   <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  125.    <button id="7">Close</button>  
  126.    <button id="2">Close</button>
  127.   </joystick>
  128.  </VisualisationSettings>
  129.  <VisualisationPresetList>
  130.   <joystick name="Controller (XBOX 360 For Windows)">
  131.   <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  132.    <button id="7">Close</button>  
  133.    <button id="2">Close</button>
  134.   </joystick>
  135.  </VisualisationPresetList>
  136.  <SlideShow>
  137.   <joystick name="Controller (XBOX 360 For Windows)">
  138.   <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  139.    <button id="1">Pause</button>
  140.    <button id="2">Stop</button>
  141.   </joystick>
  142.  </SlideShow>
  143.  <SelectDialog>
  144.   <joystick name="Controller (XBOX 360 For Windows)">
  145.   <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  146.    <button id="7">Close</button>
  147.    <button id="2">Close</button>
  148.   </joystick>
  149.  </SelectDialog>
  150.  <VideoOSD>
  151.   <joystick name="Controller (XBOX 360 For Windows)">
  152.   <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  153.    <button id="8">Close</button>
  154.    <button id="7">Close</button>  
  155.    <button id="2">Close</button>
  156.   </joystick>
  157.  </VideoOSD>
  158.  <OSDVideoSettings>
  159.   <joystick name="Controller (XBOX 360 For Windows)">
  160.   <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  161.    <button id="7">Close</button>  
  162.    <button id="2">Close</button>
  163.    <button id="8">Close</button>
  164.   </joystick>
  165.  </OSDVideoSettings>
  166.  <OSDAudioSettings>
  167.   <joystick name="Controller (XBOX 360 For Windows)">
  168.   <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  169.    <button id="7">Close</button>  
  170.    <button id="2">Close</button>
  171.   </joystick>
  172.  </OSDAudioSettings>
  173.  <VideoBookmarks>
  174.   <joystick name="Controller (XBOX 360 For Windows)">
  175.   <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  176.    <button id="7">Close</button>  
  177.    <button id="2">Close</button>
  178.   </joystick>
  179.  </VideoBookmarks>
  180.  <ContextMenu>
  181.    <joystick name="Controller (XBOX 360 For Windows)">
  182.    <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  183.      <button id="7">Close</button>
  184.      <button id="2">Close</button>
  185.      <button id="8">Close</button>
  186.    </joystick>
  187.  </ContextMenu>
  188.  <AddonInformation>
  189.    <joystick name="Controller (XBOX 360 For Windows)">
  190.    <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  191.      <button id="7">Close</button>
  192.      <button id="2">Close</button>
  193.    </joystick>
  194.  </AddonInformation>
  195.  <AddonSettings>
  196.    <joystick name="Controller (XBOX 360 For Windows)">
  197.    <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  198.      <button id="7">Close</button>
  199.      <button id="2">Close</button>
  200.    </joystick>
  201.  </AddonSettings>
  202.  <TextViewer>
  203.    <joystick name="Controller (XBOX 360 For Windows)">
  204.    <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  205.      <button id="7">Close</button>
  206.      <button id="2">Close</button>
  207.   </joystick>
  208.  </TextViewer>
  209.  <MyPicturesSettings>
  210.    <joystick name="Controller (XBOX 360 For Windows)">
  211.    <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  212.      <button id="7">PreviousMenu</button>
  213.      <button id="2">PreviousMenu</button>
  214.    </joystick>
  215.  </MyPicturesSettings>
  216.  <MyProgramsSettings>
  217.    <joystick name="Controller (XBOX 360 For Windows)">
  218.    <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  219.     <button id="7">PreviousMenu</button>
  220.     <button id="2">PreviousMenu</button>
  221.    </joystick>
  222.  </MyProgramsSettings>
  223.  <MyWeatherSettings>
  224.    <joystick name="Controller (XBOX 360 For Windows)">
  225.    <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  226.      <button id="7">PreviousMenu</button>
  227.      <button id="2">PreviousMenu</button>
  228.    </joystick>
  229.  </MyWeatherSettings>
  230.  <MyMusicSettings>
  231.    <joystick name="Controller (XBOX 360 For Windows)">
  232.    <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  233.      <button id="7">PreviousMenu</button>
  234.      <button id="2">PreviousMenu</button>
  235.    </joystick>
  236.  </MyMusicSettings>
  237.  <SystemSettings>
  238.    <joystick name="Controller (XBOX 360 For Windows)">
  239.    <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  240.      <button id="7">PreviousMenu</button>
  241.      <button id="2">PreviousMenu</button>
  242.    </joystick>
  243.  </SystemSettings>
  244.  <MyVideosSettings>
  245.    <joystick name="Controller (XBOX 360 For Windows)">
  246.    <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  247.      <button id="7">PreviousMenu</button>
  248.      <button id="2">PreviousMenu</button>
  249.    </joystick>
  250.  </MyVideosSettings>
  251.  <NetworkSettings>
  252.    <joystick name="Controller (XBOX 360 For Windows)">
  253.    <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  254.      <button id="7">PreviousMenu</button>
  255.      <button id="2">PreviousMenu</button>
  256.    </joystick>
  257.  </NetworkSettings>
  258.  <AppearanceSettings>
  259.    <joystick name="Controller (XBOX 360 For Windows)">
  260.    <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  261.      <button id="7">PreviousMenu</button>
  262.      <button id="2">PreviousMenu</button>
  263.    </joystick>
  264.  </AppearanceSettings>
  265.  <Profiles>
  266.    <joystick name="Controller (XBOX 360 For Windows)">
  267.    <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  268.      <button id="7">PreviousMenu</button>
  269.      <button id="2">PreviousMenu</button>
  270.    </joystick>
  271.  </Profiles>
  272.  <systeminfo>
  273.    <joystick name="Controller (XBOX 360 For Windows)">
  274.    <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  275.      <button id="7">PreviousMenu</button>
  276.      <button id="2">PreviousMenu</button>
  277.    </joystick>
  278.  </systeminfo>
  279.  <shutdownmenu>
  280.    <joystick name="Controller (XBOX 360 For Windows)">
  281.    <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  282.      <button id="8">Close</button>
  283.      <button id="2">PreviousMenu</button>
  284.    </joystick>
  285.  </shutdownmenu>
  286.  <submenu>
  287.    <joystick name="Controller (XBOX 360 For Windows)">
  288.    <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  289.      <button id="7">PreviousMenu</button>
  290.      <button id="2">PreviousMenu</button>
  291.    </joystick>
  292.  </submenu>
  293.  <MusicInformation>
  294.    <joystick name="Controller (XBOX 360 For Windows)">
  295.    <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  296.      <button id="7">Close</button>
  297.      <button id="2">Close</button>
  298.    </joystick>
  299.  </MusicInformation>
  300.  <MovieInformation>
  301.    <joystick name="Controller (XBOX 360 For Windows)">
  302.    <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  303.      <button id="7">Close</button>
  304.      <button id="2">Close</button>
  305.    </joystick>
  306.  </MovieInformation>
  307.  <LockSettings>
  308.    <joystick name="Controller (XBOX 360 For Windows)">
  309.    <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  310.      <button id="7">Close</button>
  311.      <button id="2">Close</button>
  312.    </joystick>
  313.  </LockSettings>
  314.  <ProfileSettings>
  315.    <joystick name="Controller (XBOX 360 For Windows)">
  316.    <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  317.      <button id="7">Close</button>
  318.      <button id="2">Close</button>
  319.    </joystick>
  320.  </ProfileSettings>
  321. </keymap>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement