Guest User

mccorkled

a guest
Aug 19th, 2009
2,170
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. - <!-- This file contains the mapping of keys (gamepad, remote, and keyboard) to actions within XBMC
  2. -->
  3. - <!-- The <global> section is a fall through - they will only be used if the button is not
  4. -->
  5. - <!-- used in the current window's section. Note that there is only handling
  6. -->
  7. - <!-- for a single action per button at this stage.
  8. -->
  9. - <!-- For joystick/gamepad configuration under linux/win32, see below as it differs from xbox
  10. -->
  11. - <!-- gamepads.
  12. -->
  13. - <!-- The format is:
  14. -->
  15. - <!-- <device>
  16. -->
  17. - <!-- <button>action</button>
  18. -->
  19. - <!-- </device>
  20. -->
  21. - <!-- To map keys from other remotes using the RCA protocol, you may add <universalremote> blocks
  22. -->
  23. - <!-- In this case, the tags used are <obc#> where # is the original button code (OBC) of the key
  24. -->
  25. - <!-- You set it up by adding a <universalremote> block to the window or <global> section:
  26. -->
  27. - <!-- <universalremote>
  28. -->
  29. - <!-- <obc45>Stop</obc45>
  30. -->
  31. - <!-- </universalremote>
  32. -->
  33. - <!-- To find out the OBC's of your remote, try enabling the <displayremotecodes> tag in AdvancedSettings.xml
  34. -->
  35. - <!-- Note that the action can be a built-in function.
  36. -->
  37. - <!-- eg <B>XBMC.ActivateWindow(MyMusic)</B>
  38. -->
  39. - <!-- would automatically go to My Music on the press of the B button.
  40. -->
  41. - <!-- Joysticks / Gamepads:
  42. -->
  43. - <!-- See the sample PS3 controller configuration below for the format.
  44. -->
  45. - <!--
  46. -->
  47. - <!-- Joystick Name:
  48. -->
  49. - <!-- Do 'cat /proc/bus/input/devices' or see your xbmc log file to find the names of
  50. -->
  51. - <!-- detected joysticks. The name used in the configuration should match the detected name.
  52. -->
  53. - <!--
  54. -->
  55. - <!-- Button Ids:
  56. -->
  57. - <!-- 'id' is the button ID used by SDL. Joystick button ids of connected joysticks appear
  58. -->
  59. - <!-- in xbmc.log when they are pressed. Use your log to map custom buttons to actions.
  60. -->
  61. - <!--
  62. -->
  63. - <!-- Axis Ids / Analog Controls
  64. -->
  65. - <!-- Coming soon.
  66. -->
  67. - <keymap>
  68. - <global>
  69. - <keyboard>
  70. <y>xbmc.activatewindow(videolibrary,movietitles)</y>
  71. <a>xbmc.activatewindow(videolibrary,tvshowtitles)</a>
  72. <g>xbmc.activatewindow(musiclibrary,albums)</g>
  73. <h>xbmc.activatewindow(pictureslibrary)</h>
  74. <j>PlayDVD</j>
  75. <e>Mute</e>
  76. <p>Play</p>
  77. <q>Queue</q>
  78. <f>FastForward</f>
  79. <r>Rewind</r>
  80. <left>Left</left>
  81. <right>Right</right>
  82. <up>Up</up>
  83. <down>Down</down>
  84. <pageup>PageUp</pageup>
  85. <pagedown>PageDown</pagedown>
  86. <return>Select</return>
  87. <enter>Select</enter>
  88. <backspace>ParentDir</backspace>
  89. <m>ActivateWindow(PlayerControls)</m>
  90. <s>ActivateWindow(shutdownmenu)</s>
  91. <escape>PreviousMenu</escape>
  92. <i>Info</i>
  93. <menu>ContextMenu</menu>
  94. <c>ContextMenu</c>
  95. <space>Pause</space>
  96. <x>Stop</x>
  97. <period>SkipNext</period>
  98. <comma>SkipPrevious</comma>
  99. <tab>FullScreen</tab>
  100. <printscreen>Screenshot</printscreen>
  101. <minus>VolumeDown</minus>
  102. <plus>VolumeUp</plus>
  103. <zero>Number0</zero>
  104. <one>Number1</one>
  105. <two>Number2</two>
  106. <three>Number3</three>
  107. <four>Number4</four>
  108. <five>Number5</five>
  109. <six>Number6</six>
  110. <seven>Number7</seven>
  111. <eight>Number8</eight>
  112. <nine>Number9</nine>
  113. <backslash>ToggleFullScreen</backslash>
  114. <browser_home>XBMC.ActivateWindow(Home)</browser_home>
  115. <browser_favorites>ActivateWindow(Favourites)</browser_favorites>
  116. <browser_refresh />
  117. <browser_search />
  118. <launch_app1_pc_icon>ActivateWindow(MyPrograms)</launch_app1_pc_icon>
  119. <launch_media_select>XBMC.ActivateWindow(MyMusic)</launch_media_select>
  120. <play_pause>Pause</play_pause>
  121. <stop>Stop</stop>
  122. <volume_up>VolumeUp</volume_up>
  123. <volume_mute>Mute</volume_mute>
  124. <volume_down>VolumeDown</volume_down>
  125. <next_track>SkipNext</next_track>
  126. <prev_track>SkipPrevious</prev_track>
  127. <launch_mail />
  128. <key id="61620" />
  129. - <!-- same as above, launch_mail, but using button code (based on vkey id)
  130. -->
  131. <home>FirstPage</home>
  132. <end>LastPage</end>
  133. <key id="65446">ParentDir</key>
  134. <key id="65459">Play</key>
  135. </keyboard>
  136. </global>
  137. - <Home>
  138. - <keyboard>
  139. <i>info</i>
  140. <end>XBMC.ShutDown()</end>
  141. </keyboard>
  142. </Home>
  143. - <MyFiles>
  144. - <keyboard>
  145. <space>Highlight</space>
  146. <delete>Delete</delete>
  147. <m>Move</m>
  148. <r>Rename</r>
  149. </keyboard>
  150. </MyFiles>
  151. - <MyMusicPlaylist>
  152. - <keyboard>
  153. <space>Playlist</space>
  154. - <!-- Close playlist
  155. -->
  156. <delete>Delete</delete>
  157. <u>MoveItemUp</u>
  158. <d>MoveItemDown</d>
  159. <backspace>Playlist</backspace>
  160. - <!-- Close playlist
  161. -->
  162. </keyboard>
  163. </MyMusicPlaylist>
  164. - <MyMusicPlaylistEditor>
  165. - <keyboard>
  166. <u>MoveItemUp</u>
  167. <d>MoveItemDown</d>
  168. <delete>Delete</delete>
  169. </keyboard>
  170. </MyMusicPlaylistEditor>
  171. - <MyMusicFiles>
  172. - <keyboard>
  173. <space>Playlist</space>
  174. <q>Queue</q>
  175. </keyboard>
  176. </MyMusicFiles>
  177. - <MyMusicLibrary>
  178. - <keyboard>
  179. <space>Playlist</space>
  180. <q>Queue</q>
  181. </keyboard>
  182. </MyMusicLibrary>
  183. - <FullscreenVideo>
  184. - <keyboard>
  185. <f>FastForward</f>
  186. <r>Rewind</r>
  187. <period>StepForward</period>
  188. <comma>StepBack</comma>
  189. <backspace>Fullscreen</backspace>
  190. <quote>SmallStepBack</quote>
  191. <opensquarebracket>BigStepForward</opensquarebracket>
  192. <closesquarebracket>BigStepBack</closesquarebracket>
  193. <return>OSD</return>
  194. <enter>OSD</enter>
  195. <m>OSD</m>
  196. <i>Info</i>
  197. <o>CodecInfo</o>
  198. <z>AspectRatio</z>
  199. <t>ShowSubtitles</t>
  200. <l>NextSubtitle</l>
  201. <left>StepBack</left>
  202. <right>StepForward</right>
  203. <up>BigStepForward</up>
  204. <down>BigStepBack</down>
  205. <a>AudioDelay</a>
  206. <escape>Fullscreen</escape>
  207. </keyboard>
  208. </FullscreenVideo>
  209. - <FullscreenInfo>
  210. - <keyboard>
  211. <f>FastForward</f>
  212. <r>Rewind</r>
  213. <period>StepForward</period>
  214. <backspace>Close</backspace>
  215. <o>CodecInfo</o>
  216. <i>Close</i>
  217. <m>OSD</m>
  218. </keyboard>
  219. </FullscreenInfo>
  220. - <PlayerControls>
  221. - <keyboard>
  222. <escape>Close</escape>
  223. <m>close</m>
  224. </keyboard>
  225. </PlayerControls>
  226. - <Visualisation>
  227. - <keyboard>
  228. <f>FastForward</f>
  229. <r>Rewind</r>
  230. <period>SkipNext</period>
  231. <comma>SkipPrevious</comma>
  232. <return>ActivateWindow(MusicOSD)</return>
  233. <enter>ActivateWindow(MusicOSD)</enter>
  234. <m>ActivateWindow(MusicOSD)</m>
  235. <i>Info</i>
  236. <p>ActivateWindow(VisualisationPresetList)</p>
  237. <v>ActivateWindow(VisualisationSettings)</v>
  238. <n>ActivateWindow(MusicPlaylist)</n>
  239. <left>SkipPrevious</left>
  240. <right>SkipNext</right>
  241. <up>IncreaseRating</up>
  242. <down>DecreaseRating</down>
  243. - <!-- <back>NextPreset</back>!
  244. -->
  245. <o>CodecInfo</o>
  246. <l>LockPreset</l>
  247. <escape>FullScreen</escape>
  248. </keyboard>
  249. </Visualisation>
  250. - <MusicOSD>
  251. - <keyboard>
  252. <escape>Close</escape>
  253. <f>FastForward</f>
  254. <r>Rewind</r>
  255. <period>SkipNext</period>
  256. <comma>SkipPrevious</comma>
  257. <m>Close</m>
  258. <i>Info</i>
  259. <o>CodecInfo</o>
  260. <p>ActivateWindow(VisualisationPresetList)</p>
  261. <v>ActivateWindow(VisualisationSettings)</v>
  262. <n>ActivateWindow(MusicPlaylist)</n>
  263. </keyboard>
  264. </MusicOSD>
  265. - <VisualisationSettings>
  266. - <keyboard>
  267. <escape>Close</escape>
  268. <f>FastForward</f>
  269. <r>Rewind</r>
  270. <period>SkipNext</period>
  271. <comma>SkipPrevious</comma>
  272. <m>Close</m>
  273. <i>Info</i>
  274. <o>CodecInfo</o>
  275. <p>ActivateWindow(VisualisationPresetList)</p>
  276. <v>Close</v>
  277. <n>ActivateWindow(MusicPlaylist)</n>
  278. </keyboard>
  279. </VisualisationSettings>
  280. - <VisualisationPresetList>
  281. - <keyboard>
  282. <escape>Close</escape>
  283. <f>FastForward</f>
  284. <r>Rewind</r>
  285. <period>SkipNext</period>
  286. <comma>SkipPrevious</comma>
  287. <m>Close</m>
  288. <i>Info</i>
  289. <o>CodecInfo</o>
  290. <p>Close</p>
  291. <v>Close</v>
  292. <n>ActivateWindow(MusicPlaylist)</n>
  293. </keyboard>
  294. </VisualisationPresetList>
  295. - <SlideShow>
  296. - <keyboard>
  297. <zero>ZoomNormal</zero>
  298. <one>ZoomLevel1</one>
  299. <two>ZoomLevel2</two>
  300. <three>ZoomLevel3</three>
  301. <four>ZoomLevel4</four>
  302. <five>ZoomLevel5</five>
  303. <six>ZoomLevel6</six>
  304. <seven>ZoomLevel7</seven>
  305. <eight>ZoomLevel8</eight>
  306. <nine>ZoomLevel9</nine>
  307. <i>Info</i>
  308. <o>CodecInfo</o>
  309. <period>NextPicture</period>
  310. <comma>PreviousPicture</comma>
  311. <plus>ZoomIn</plus>
  312. <minus>ZoomOut</minus>
  313. <r>Rotate</r>
  314. <backspace>PreviousMenu</backspace>
  315. </keyboard>
  316. </SlideShow>
  317. - <ScreenCalibration>
  318. - <keyboard>
  319. <return>NextCalibration</return>
  320. <enter>NextCalibration</enter>
  321. <d>ResetCalibration</d>
  322. <r>NextResolution</r>
  323. </keyboard>
  324. </ScreenCalibration>
  325. - <GUICalibration>
  326. - <keyboard>
  327. <return>NextCalibration</return>
  328. <enter>NextCalibration</enter>
  329. <d>ResetCalibration</d>
  330. </keyboard>
  331. </GUICalibration>
  332. - <SelectDialog>
  333. - <keyboard>
  334. <backspace>Close</backspace>
  335. <escape>Close</escape>
  336. </keyboard>
  337. </SelectDialog>
  338. - <VideoOSD>
  339. - <keyboard>
  340. <backspace>Close</backspace>
  341. <escape>Close</escape>
  342. <m>Close</m>
  343. <i>Info</i>
  344. <o>CodecInfo</o>
  345. </keyboard>
  346. </VideoOSD>
  347. - <VideoMenu>
  348. - <keyboard>
  349. <opensquarebracket>BigStepForward</opensquarebracket>
  350. <closesquarebracket>BigStepBack</closesquarebracket>
  351. <m>OSD</m>
  352. <i>Info</i>
  353. <o>CodecInfo</o>
  354. <z>AspectRatio</z>
  355. <t>ShowSubtitles</t>
  356. <l>NextSubtitle</l>
  357. <a>AudioDelay</a>
  358. <escape>Fullscreen</escape>
  359. <return>Select</return>
  360. <enter>Select</enter>
  361. - <!-- backspace>Fullscreen</backspace
  362. -->
  363. <backspace>PreviousMenu</backspace>
  364. </keyboard>
  365. </VideoMenu>
  366. - <OSDVideoSettings>
  367. - <keyboard>
  368. <backspace>Close</backspace>
  369. <escape>Close</escape>
  370. <i>Info</i>
  371. <o>CodecInfo</o>
  372. </keyboard>
  373. </OSDVideoSettings>
  374. - <OSDAudioSettings>
  375. - <keyboard>
  376. <backspace>Close</backspace>
  377. <escape>Close</escape>
  378. <i>Info</i>
  379. <o>CodecInfo</o>
  380. </keyboard>
  381. </OSDAudioSettings>
  382. - <VideoBookmarks>
  383. - <keyboard>
  384. <backspace>Close</backspace>
  385. <escape>Close</escape>
  386. </keyboard>
  387. </VideoBookmarks>
  388. - <MyVideoLibrary>
  389. - <keyboard>
  390. <delete>Delete</delete>
  391. <space>Playlist</space>
  392. <w>ToggleWatched</w>
  393. </keyboard>
  394. </MyVideoLibrary>
  395. - <MyVideoFiles>
  396. - <keyboard>
  397. <space>Playlist</space>
  398. <q>Queue</q>
  399. </keyboard>
  400. </MyVideoFiles>
  401. - <MyVideoPlaylist>
  402. - <keyboard>
  403. <backspace>Playlist</backspace>
  404. - <!-- Close playlist
  405. -->
  406. <space>Playlist</space>
  407. - <!-- Close playlist
  408. -->
  409. <delete>Delete</delete>
  410. <u>MoveItemUp</u>
  411. <d>MoveItemDown</d>
  412. </keyboard>
  413. </MyVideoPlaylist>
  414. - <ContextMenu>
  415. - <keyboard>
  416. <c>Close</c>
  417. <menu>Close</menu>
  418. <backspace>Close</backspace>
  419. </keyboard>
  420. </ContextMenu>
  421. - <FileStackingDialog>
  422. - <keyboard>
  423. <backspace>Close</backspace>
  424. </keyboard>
  425. </FileStackingDialog>
  426. - <Scripts>
  427. - <keyboard>
  428. <i>XBMC.ActivateWindow(ScriptsDebugInfo)</i>
  429. </keyboard>
  430. </Scripts>
  431. - <ScriptsDebugInfo>
  432. - <keyboard>
  433. <i>Info</i>
  434. - <!-- clears debug python info
  435. -->
  436. </keyboard>
  437. </ScriptsDebugInfo>
  438. - <Weather>
  439. - <keyboard>
  440. <backspace>PreviousMenu</backspace>
  441. <key id="65446">PreviousMenu</key>
  442. </keyboard>
  443. </Weather>
  444. - <Settings>
  445. - <keyboard>
  446. <backspace>PreviousMenu</backspace>
  447. </keyboard>
  448. </Settings>
  449. - <MyPicturesSettings>
  450. - <keyboard>
  451. <backspace>PreviousMenu</backspace>
  452. </keyboard>
  453. </MyPicturesSettings>
  454. - <MyProgramsSettings>
  455. - <keyboard>
  456. <backspace>PreviousMenu</backspace>
  457. </keyboard>
  458. </MyProgramsSettings>
  459. - <MyWeatherSettings>
  460. - <keyboard>
  461. <backspace>PreviousMenu</backspace>
  462. </keyboard>
  463. </MyWeatherSettings>
  464. - <MyMusicSettings>
  465. - <keyboard>
  466. <backspace>PreviousMenu</backspace>
  467. </keyboard>
  468. </MyMusicSettings>
  469. - <SystemSettings>
  470. - <keyboard>
  471. <backspace>PreviousMenu</backspace>
  472. </keyboard>
  473. </SystemSettings>
  474. - <MyVideosSettings>
  475. - <keyboard>
  476. <backspace>PreviousMenu</backspace>
  477. </keyboard>
  478. </MyVideosSettings>
  479. - <NetworkSettings>
  480. - <keyboard>
  481. <backspace>PreviousMenu</backspace>
  482. </keyboard>
  483. </NetworkSettings>
  484. - <AppearanceSettings>
  485. - <keyboard>
  486. <backspace>PreviousMenu</backspace>
  487. </keyboard>
  488. </AppearanceSettings>
  489. - <Profiles>
  490. - <keyboard>
  491. <backspace>PreviousMenu</backspace>
  492. </keyboard>
  493. </Profiles>
  494. - <systeminfo>
  495. - <keyboard>
  496. <backspace>PreviousMenu</backspace>
  497. </keyboard>
  498. </systeminfo>
  499. - <shutdownmenu>
  500. - <keyboard>
  501. <backspace>PreviousMenu</backspace>
  502. </keyboard>
  503. </shutdownmenu>
  504. - <submenu>
  505. - <keyboard>
  506. <backspace>PreviousMenu</backspace>
  507. </keyboard>
  508. </submenu>
  509. - <MusicInformation>
  510. - <keyboard>
  511. <backspace>Close</backspace>
  512. <key id="65446">Close</key>
  513. </keyboard>
  514. </MusicInformation>
  515. - <MovieInformation>
  516. - <keyboard>
  517. <backspace>Close</backspace>
  518. <key id="65446">Close</key>
  519. </keyboard>
  520. </MovieInformation>
  521. - <LockSettings>
  522. - <keyboard>
  523. <escape>Close</escape>
  524. <backspace>PreviousMenu</backspace>
  525. </keyboard>
  526. </LockSettings>
  527. - <ProfileSettings>
  528. - <keyboard>
  529. <escape>Close</escape>
  530. <backspace>PreviousMenu</backspace>
  531. </keyboard>
  532. </ProfileSettings>
  533. - <PictureInfo>
  534. - <keyboard>
  535. <period>NextPicture</period>
  536. <comma>PreviousPicture</comma>
  537. <i>Close</i>
  538. <o>Close</o>
  539. <backspace>Close</backspace>
  540. <space>Pause</space>
  541. </keyboard>
  542. </PictureInfo>
  543. - <Favourites>
  544. - <keyboard>
  545. <backspace>Close</backspace>
  546. </keyboard>
  547. </Favourites>
  548. </keymap>
RAW Paste Data