Advertisement
Guest User

MoSart PS3 Remote Keyboard

a guest
May 5th, 2013
795
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.47 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. <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  40. <altname>PS3 Remote Keyboard</altname>
  41. <altname>MoSart PS3 Remote Keyboard</altname>
  42. <button id="1">Info</button>
  43. <button id="2">Select</button>
  44. <button id="3">Back</button>
  45. <button id="4">ContextMenu</button>
  46. <button id="5">SkipPrevious</button>
  47. <button id="6">SkipNext</button>
  48. <button id="9">Select</button>
  49. <button id="10">FullScreen</button>
  50. <button id="12">VolumeUp</button>
  51. <button id="11">VolumeDown</button>
  52. <button id="13">XBMC.ActivateWindow(Home)</button>
  53. <hat id="1" position="left">Left</hat>
  54. <hat id="1" position="right">Right</hat>
  55. <hat id="1" position="up">Up</hat>
  56. <hat id="1" position="down">Down</hat>
  57. <axis limit="+1" id="4">VolumeDown</axis>
  58. <axis limit="-1" id="4">VolumeUp</axis>
  59. <axis limit="+1" id="1">AnalogSeekForward</axis>
  60. <axis limit="-1" id="1">AnalogSeekBack</axis>
  61. <axis limit="+1" id="13">ScrollUp</axis>
  62. <axis limit="+1" id="14">ScrollDown</axis>
  63. </joystick>
  64. </global>
  65.  
  66. <Visualisation>
  67. <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  68. <altname>PS3 Remote Keyboard</altname>
  69. <altname>MoSart PS3 Remote Keyboard</altname>
  70. <button id="4">OSD</button>
  71. <button id="1">Info</button>
  72. <button id="2">Play</button>
  73. <button id="3">Stop</button>
  74. <hat id="1" position="left">SkipPrevious</hat>
  75. <hat id="1" position="right">SkipNext</hat>
  76. <hat id="1" position="up">IncreaseRating</hat>
  77. <hat id="1" position="down">DecreaseRating</hat>
  78. </joystick>
  79. </Visualisation>
  80.  
  81. <MusicOSD>
  82. <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  83. <altname>PS3 Remote Keyboard</altname>
  84. <altname>MoSart PS3 Remote Keyboard</altname>
  85. <button id="4">Back</button>
  86. </joystick>
  87. </MusicOSD>
  88.  
  89. <FullscreenVideo>
  90. <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  91. <altname>PS3 Remote Keyboard</altname>
  92. <altname>MoSart PS3 Remote Keyboard</altname>
  93. <button id="2">Play</button>
  94. <button id="3">Stop</button>
  95. <button id="4">OSD</button>
  96. <button id="7">Rewind</button>
  97. <button id="8">FastForward</button>
  98. <hat id="1" position="left">StepBack</hat>
  99. <hat id="1" position="right">StepForward</hat>
  100. <hat id="1" position="up">BigStepForward</hat>
  101. <hat id="1" position="down">BigStepBack</hat>
  102. </joystick>
  103. </FullscreenVideo>
  104.  
  105. <FullscreenLiveTV>
  106. <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  107. <hat id="1" position="left">PreviousChannelGroup</hat>
  108. <hat id="1" position="right">NextChannelGroup</hat>
  109. <hat id="1" position="up">ChannelUp</hat>
  110. <hat id="1" position="down">ChannelDown</hat>
  111. </joystick>
  112. </FullscreenLiveTV>
  113.  
  114. <VideoOSD>
  115. <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  116. <altname>PS3 Remote Keyboard</altname>
  117. <altname>MoSart PS3 Remote Keyboard</altname>
  118. <button id="1">Info</button>
  119. <button id="4">OSD</button>
  120. </joystick>
  121. </VideoOSD>
  122.  
  123. <PictureInfo>
  124. <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  125. <altname>PS3 Remote Keyboard</altname>
  126. <altname>MoSart PS3 Remote Keyboard</altname>
  127. <hat id="1" position="left">PreviousPicture</hat>
  128. <hat id="1" position="right">NextPicture</hat>
  129. </joystick>
  130. </PictureInfo>
  131.  
  132. <FullscreenInfo>
  133. <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  134. <altname>PS3 Remote Keyboard</altname>
  135. <altname>MoSart PS3 Remote Keyboard</altname>
  136. <button id="1">Back</button>
  137. <button id="4">OSD</button>
  138. </joystick>
  139. </FullscreenInfo>
  140.  
  141. </keymap>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement