Advertisement
Guest User

Untitled

a guest
Feb 18th, 2015
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.43 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. <keyboard>
  40. <p>Play</p>
  41. <q>Queue</q>
  42. <f>FastForward</f>
  43. <r>Rewind</r>
  44. <left>Left</left>
  45. <right>Right</right>
  46. <up>Up</up>
  47. <down>Down</down>
  48. <pageup>PageUp</pageup>
  49. <pagedown>PageDown</pagedown>
  50. <return>Select</return>
  51. <enter>Select</enter>
  52. <backspace>ParentDir</backspace>
  53. <m>ActivateWindow(PlayerControls)</m>
  54. <s>ActivateWindow(shutdownmenu)</s>
  55. <escape>PreviousMenu</escape>
  56. <i>Info</i>
  57. <menu>ContextMenu</menu>
  58. <c>ContextMenu</c>
  59. <space>Pause</space>
  60. <x>Stop</x>
  61. <period>SkipNext</period>
  62. <comma>SkipPrevious</comma>
  63. <tab>FullScreen</tab>
  64. <printscreen>Screenshot</printscreen>
  65. <s mod="ctrl">Screenshot</s>
  66. <minus>VolumeDown</minus>
  67. <plus>VolumeUp</plus>
  68. <zero>Number0</zero>
  69. <one>Number1</one>
  70. <two>Number2</two>
  71. <three>Number3</three>
  72. <four>Number4</four>
  73. <five>Number5</five>
  74. <six>Number6</six>
  75. <seven>Number7</seven>
  76. <eight>Number8</eight>
  77. <nine>Number9</nine>
  78. <backslash>ToggleFullScreen</backslash>
  79. <browser_home>XBMC.ActivateWindow(Home)</browser_home>
  80. <browser_favorites>ActivateWindow(Favourites)</browser_favorites>
  81. <browser_refresh/>
  82. <browser_search/>
  83. <launch_app1_pc_icon>ActivateWindow(MyPrograms)</launch_app1_pc_icon>
  84. <launch_media_select>XBMC.ActivateWindow(MyMusic)</launch_media_select>
  85. <play_pause>Pause</play_pause>
  86. <stop>Stop</stop>
  87. <volume_up>VolumeUp</volume_up>
  88. <volume_mute>Mute</volume_mute>
  89. <volume_down>VolumeDown</volume_down>
  90. <next_track>SkipNext</next_track>
  91. <prev_track>SkipPrevious</prev_track>
  92. <launch_mail></launch_mail>
  93. <key id='61620'></key> <!-- same as above, launch_mail, but using button code (based on vkey id) -->
  94. <home>FirstPage</home>
  95. <end>LastPage</end>
  96. <key id='65446'>ParentDir</key>
  97. <key id='65459'>Play</key>
  98. <!-- ****************************************************** -->
  99. <!-- MS Media Center keyboard shortcuts sent by MCE remotes -->
  100. <!-- See http://msdn.microsoft.com/en-us/library/bb189249.aspx -->
  101. <p mod="ctrl,shift">Play</p> <!-- Play -->
  102. <s mod="ctrl,shift">Stop</s> <!-- Stop -->
  103. <p mod="ctrl">Pause</p> <!-- Pause -->
  104. <f mod="ctrl,shift">FastForward</f> <!-- Fwd -->
  105. <b mod="ctrl,shift">Rewind</b> <!-- Rew -->
  106. <f mod="ctrl">SkipNext</f> <!-- Skip -->
  107. <b mod="ctrl">SkipPrevious</b> <!-- Replay -->
  108. <d mod="ctrl">Info</d> <!-- MCE Details -->
  109. <f10>VolumeUp</f10> <!-- MCE Vol up -->
  110. <f9>VolumeDown</f9> <!-- MCE Vol down -->
  111. <f8>Mute</f8> <!-- MCE mute -->
  112. <g mod="ctrl">OSD</g> <!-- MCE Guide -->
  113. <m mod="ctrl">ActivateWindow(music)</m> <!-- MCE My music -->
  114. <i mod="ctrl">ActivateWindow(pictures)</i> <!-- MCE My pictures -->
  115. <e mod="ctrl">ActivateWindow(video)</e> <!-- MCE videos -->
  116. <!-- MCE keypresses without an obvious use in XBMC -->
  117. <o mod="ctrl">Notification(MCEKeypress, Recorded TV, 3)</o>
  118. <t mod="ctrl">Notification(MCEKeypress, Live TV, 3)</t>
  119. <t mod="ctrl,shift">Notification(MCEKeypress, My TV, 3)</t>
  120. <a mod="ctrl">Notification(MCEKeypress, Radio, 3)</a>
  121. <m mod="ctrl,shift">Notification(MCEKeypress, DVD menu, 3)</m>
  122. <u mod="ctrl">Notification(MCEKeypress, DVD subtitle, 3)</u>
  123. <a mod="ctrl,shift">Notification(MCEKeypress, DVD audio, 3)</a>
  124. </keyboard>
  125. </global>
  126. <LoginScreen>
  127. <keyboard>
  128. <end>XBMC.ShutDown()</end>
  129. </keyboard>
  130. </LoginScreen>
  131. <Home>
  132. <keyboard>
  133. <i>info</i>
  134. <end>XBMC.ShutDown()</end>
  135. </keyboard>
  136. </Home>
  137. <VirtualKeyboard>
  138. <keyboard>
  139. <backspace>Backspace</backspace>
  140. </keyboard>
  141. </VirtualKeyboard>
  142. <MyFiles>
  143. <keyboard>
  144. <space>Highlight</space>
  145. <delete>Delete</delete>
  146. <m>Move</m>
  147. <r>Rename</r>
  148. </keyboard>
  149. </MyFiles>
  150. <MyMusicPlaylist>
  151. <keyboard>
  152. <space>Playlist</space> <!-- Close playlist -->
  153. <delete>Delete</delete>
  154. <u>MoveItemUp</u>
  155. <d>MoveItemDown</d>
  156. <backspace>Playlist</backspace> <!-- Close playlist -->
  157. </keyboard>
  158. </MyMusicPlaylist>
  159. <MyMusicPlaylistEditor>
  160. <keyboard>
  161. <u>MoveItemUp</u>
  162. <d>MoveItemDown</d>
  163. <delete>Delete</delete>
  164. </keyboard>
  165. </MyMusicPlaylistEditor>
  166. <MyMusicFiles>
  167. <keyboard>
  168. <space>Playlist</space>
  169. <q>Queue</q>
  170. </keyboard>
  171. </MyMusicFiles>
  172. <MyMusicLibrary>
  173. <keyboard>
  174. <space>Playlist</space>
  175. <q>Queue</q>
  176. </keyboard>
  177. </MyMusicLibrary>
  178. <FullscreenVideo>
  179. <keyboard>
  180. <f>FastForward</f>
  181. <r>Rewind</r>
  182. <period>StepForward</period>
  183. <comma>StepBack</comma>
  184. <backspace>Fullscreen</backspace>
  185. <left>SmallStepBack</left>
  186. <right>SmallStepForward</right>
  187. <opensquarebracket>BigStepForward</opensquarebracket>
  188. <closesquarebracket>BigStepBack</closesquarebracket>
  189. <return>OSD</return>
  190. <enter>OSD</enter>
  191. <m>OSD</m>
  192. <i>Info</i>
  193. <o>CodecInfo</o>
  194. <z>AspectRatio</z>
  195. <t>ShowSubtitles</t>
  196. <l>NextSubtitle</l>
  197. <down>StepBack</down>
  198. <up>StepForward</up>
  199. <n>SkipNext</n>
  200. <p>SkipPrevious</p>
  201. <pageup>BigStepForward</pageup>
  202. <pagedown>BigStepBack</pagedown>
  203. <a>AudioDelay</a>
  204. <escape>Fullscreen</escape>
  205. <v>XBMC.ActivateWindow(Teletext)</v>
  206. </keyboard>
  207. </FullscreenVideo>
  208. <VideoTimeSeek>
  209. <keyboard>
  210. <return>Select</return>
  211. <enter>Select</enter>
  212. </keyboard>
  213. </VideoTimeSeek>
  214. <FullscreenInfo>
  215. <keyboard>
  216. <f>FastForward</f>
  217. <r>Rewind</r>
  218. <period>StepForward</period>
  219. <backspace>Close</backspace>
  220. <o>CodecInfo</o>
  221. <i>Close</i>
  222. <d mod="ctrl">Close</d>
  223. <m>OSD</m>
  224. </keyboard>
  225. </FullscreenInfo>
  226. <PlayerControls>
  227. <keyboard>
  228. <escape>Close</escape>
  229. <m>close</m>
  230. </keyboard>
  231. </PlayerControls>
  232. <Visualisation>
  233. <keyboard>
  234. <f>FastForward</f>
  235. <r>Rewind</r>
  236. <period>SkipNext</period>
  237. <comma>SkipPrevious</comma>
  238. <return>ActivateWindow(MusicOSD)</return>
  239. <enter>ActivateWindow(MusicOSD)</enter>
  240. <m>ActivateWindow(MusicOSD)</m>
  241. <i>Info</i>
  242. <p>ActivateWindow(VisualisationPresetList)</p>
  243. <v>ActivateWindow(VisualisationSettings)</v>
  244. <n>ActivateWindow(MusicPlaylist)</n>
  245. <left>SkipPrevious</left>
  246. <right>SkipNext</right>
  247. <up>IncreaseRating</up>
  248. <down>DecreaseRating</down> <!--<back>NextPreset</back>!-->
  249. <o>CodecInfo</o>
  250. <l>LockPreset</l>
  251. <escape>FullScreen</escape>
  252. </keyboard>
  253. </Visualisation>
  254. <MusicOSD>
  255. <keyboard>
  256. <escape>Close</escape>
  257. <f>FastForward</f>
  258. <r>Rewind</r>
  259. <period>SkipNext</period>
  260. <comma>SkipPrevious</comma>
  261. <m>Close</m>
  262. <i>Info</i>
  263. <o>CodecInfo</o>
  264. <p>ActivateWindow(VisualisationPresetList)</p>
  265. <v>ActivateWindow(VisualisationSettings)</v>
  266. <n>ActivateWindow(MusicPlaylist)</n>
  267. </keyboard>
  268. </MusicOSD>
  269. <VisualisationSettings>
  270. <keyboard>
  271. <escape>Close</escape>
  272. <f>FastForward</f>
  273. <r>Rewind</r>
  274. <period>SkipNext</period>
  275. <comma>SkipPrevious</comma>
  276. <m>Close</m>
  277. <i>Info</i>
  278. <o>CodecInfo</o>
  279. <p>ActivateWindow(VisualisationPresetList)</p>
  280. <v>Close</v>
  281. <n>ActivateWindow(MusicPlaylist)</n>
  282. </keyboard>
  283. </VisualisationSettings>
  284. <VisualisationPresetList>
  285. <keyboard>
  286. <escape>Close</escape>
  287. <f>FastForward</f>
  288. <r>Rewind</r>
  289. <period>SkipNext</period>
  290. <comma>SkipPrevious</comma>
  291. <m>Close</m>
  292. <i>Info</i>
  293. <o>CodecInfo</o>
  294. <p>Close</p>
  295. <v>Close</v>
  296. <n>ActivateWindow(MusicPlaylist)</n>
  297. </keyboard>
  298. </VisualisationPresetList>
  299. <SlideShow>
  300. <keyboard>
  301. <zero>ZoomNormal</zero>
  302. <one>ZoomLevel1</one>
  303. <two>ZoomLevel2</two>
  304. <three>ZoomLevel3</three>
  305. <four>ZoomLevel4</four>
  306. <five>ZoomLevel5</five>
  307. <six>ZoomLevel6</six>
  308. <seven>ZoomLevel7</seven>
  309. <eight>ZoomLevel8</eight>
  310. <nine>ZoomLevel9</nine>
  311. <i>Info</i>
  312. <o>CodecInfo</o>
  313. <period>NextPicture</period>
  314. <comma>PreviousPicture</comma>
  315. <plus>ZoomIn</plus>
  316. <minus>ZoomOut</minus>
  317. <r>Rotate</r>
  318. <backspace>PreviousMenu</backspace>
  319. </keyboard>
  320. </SlideShow>
  321. <ScreenCalibration>
  322. <keyboard>
  323. <return>NextCalibration</return>
  324. <enter>NextCalibration</enter>
  325. <d>ResetCalibration</d>
  326. <r>NextResolution</r>
  327. </keyboard>
  328. </ScreenCalibration>
  329. <GUICalibration>
  330. <keyboard>
  331. <return>NextCalibration</return>
  332. <enter>NextCalibration</enter>
  333. <d>ResetCalibration</d>
  334. </keyboard>
  335. </GUICalibration>
  336. <SelectDialog>
  337. <keyboard>
  338. <backspace>Close</backspace>
  339. <escape>Close</escape>
  340. </keyboard>
  341. </SelectDialog>
  342. <VideoOSD>
  343. <keyboard>
  344. <backspace>Close</backspace>
  345. <escape>Close</escape>
  346. <m>Close</m>
  347. <g mod="ctrl">close</g> <!-- MCE Guide button -->
  348. <i>Info</i>
  349. <o>CodecInfo</o>
  350. </keyboard>
  351. </VideoOSD>
  352. <VideoMenu>
  353. <keyboard>
  354. <opensquarebracket>BigStepForward</opensquarebracket>
  355. <closesquarebracket>BigStepBack</closesquarebracket>
  356. <m>OSD</m>
  357. <i>Info</i>
  358. <o>CodecInfo</o>
  359. <z>AspectRatio</z>
  360. <t>ShowSubtitles</t>
  361. <l>NextSubtitle</l>
  362. <a>AudioDelay</a>
  363. <escape>Fullscreen</escape>
  364. <return>Select</return>
  365. <enter>Select</enter> <!-- backspace>Fullscreen</backspace -->
  366. <backspace>PreviousMenu</backspace>
  367. </keyboard>
  368. </VideoMenu>
  369. <OSDVideoSettings>
  370. <keyboard>
  371. <backspace>Close</backspace>
  372. <escape>Close</escape>
  373. <i>Info</i>
  374. <o>CodecInfo</o>
  375. </keyboard>
  376. </OSDVideoSettings>
  377. <OSDAudioSettings>
  378. <keyboard>
  379. <backspace>Close</backspace>
  380. <escape>Close</escape>
  381. <i>Info</i>
  382. <o>CodecInfo</o>
  383. </keyboard>
  384. </OSDAudioSettings>
  385. <VideoBookmarks>
  386. <keyboard>
  387. <backspace>Close</backspace>
  388. <escape>Close</escape>
  389. </keyboard>
  390. </VideoBookmarks>
  391. <MyVideoLibrary>
  392. <keyboard>
  393. <delete>Delete</delete>
  394. <space>Playlist</space>
  395. <w>ToggleWatched</w>
  396. </keyboard>
  397. </MyVideoLibrary>
  398. <MyVideoFiles>
  399. <keyboard>
  400. <space>Playlist</space>
  401. <q>Queue</q>
  402. <w>ToggleWatched</w>
  403. </keyboard>
  404. </MyVideoFiles>
  405. <MyVideoPlaylist>
  406. <keyboard>
  407. <backspace>Playlist</backspace> <!-- Close playlist -->
  408. <space>Playlist</space> <!-- Close playlist -->
  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>info</i>
  429. </keyboard>
  430. </Scripts>
  431. <Weather>
  432. <keyboard>
  433. <backspace>PreviousMenu</backspace>
  434. <key id='65446'>PreviousMenu</key>
  435. </keyboard>
  436. </Weather>
  437. <Settings>
  438. <keyboard>
  439. <backspace>PreviousMenu</backspace>
  440. </keyboard>
  441. </Settings>
  442. <MyPicturesSettings>
  443. <keyboard>
  444. <backspace>PreviousMenu</backspace>
  445. </keyboard>
  446. </MyPicturesSettings>
  447. <MyProgramsSettings>
  448. <keyboard>
  449. <backspace>PreviousMenu</backspace>
  450. </keyboard>
  451. </MyProgramsSettings>
  452. <MyWeatherSettings>
  453. <keyboard>
  454. <backspace>PreviousMenu</backspace>
  455. </keyboard>
  456. </MyWeatherSettings>
  457. <MyMusicSettings>
  458. <keyboard>
  459. <backspace>PreviousMenu</backspace>
  460. </keyboard>
  461. </MyMusicSettings>
  462. <SystemSettings>
  463. <keyboard>
  464. <backspace>PreviousMenu</backspace>
  465. </keyboard>
  466. </SystemSettings>
  467. <MyVideosSettings>
  468. <keyboard>
  469. <backspace>PreviousMenu</backspace>
  470. </keyboard>
  471. </MyVideosSettings>
  472. <NetworkSettings>
  473. <keyboard>
  474. <backspace>PreviousMenu</backspace>
  475. </keyboard>
  476. </NetworkSettings>
  477. <AppearanceSettings>
  478. <keyboard>
  479. <backspace>PreviousMenu</backspace>
  480. </keyboard>
  481. </AppearanceSettings>
  482. <Profiles>
  483. <keyboard>
  484. <backspace>PreviousMenu</backspace>
  485. </keyboard>
  486. </Profiles>
  487. <systeminfo>
  488. <keyboard>
  489. <backspace>PreviousMenu</backspace>
  490. </keyboard>
  491. </systeminfo>
  492. <shutdownmenu>
  493. <keyboard>
  494. <backspace>PreviousMenu</backspace>
  495. <s>Close</s>
  496. </keyboard>
  497. </shutdownmenu>
  498. <submenu>
  499. <keyboard>
  500. <backspace>PreviousMenu</backspace>
  501. </keyboard>
  502. </submenu>
  503. <MusicInformation>
  504. <keyboard>
  505. <backspace>Close</backspace>
  506. <key id='65446'>Close</key>
  507. </keyboard>
  508. </MusicInformation>
  509. <MovieInformation>
  510. <keyboard>
  511. <backspace>Close</backspace>
  512. <i>Close</i>
  513. <d mod="ctrl">Close</d>
  514. <key id='65446'>Close</key>
  515. </keyboard>
  516. </MovieInformation>
  517. <AddonInformation>
  518. <keyboard>
  519. <backspace>Close</backspace>
  520. </keyboard>
  521. </AddonInformation>
  522. <AddonSettings>
  523. <keyboard>
  524. <backspace>Close</backspace>
  525. </keyboard>
  526. </AddonSettings>
  527. <TextViewer>
  528. <keyboard>
  529. <backspace>Close</backspace>
  530. </keyboard>
  531. </TextViewer>
  532. <LockSettings>
  533. <keyboard>
  534. <escape>Close</escape>
  535. <backspace>PreviousMenu</backspace>
  536. </keyboard>
  537. </LockSettings>
  538. <ProfileSettings>
  539. <keyboard>
  540. <escape>Close</escape>
  541. <backspace>PreviousMenu</backspace>
  542. </keyboard>
  543. </ProfileSettings>
  544. <PictureInfo>
  545. <keyboard>
  546. <period>NextPicture</period>
  547. <comma>PreviousPicture</comma>
  548. <i>Close</i>
  549. <d mod="ctrl">Close</d>
  550. <o>Close</o>
  551. <backspace>Close</backspace>
  552. <space>Pause</space>
  553. </keyboard>
  554. </PictureInfo>
  555. <Teletext>
  556. <keyboard>
  557. <backspace>Close</backspace>
  558. <escape>Close</escape>
  559. <v>Close</v>
  560. </keyboard>
  561. </Teletext>
  562. <Favourites>
  563. <keyboard>
  564. <backspace>Close</backspace>
  565. </keyboard>
  566. </Favourites>
  567. <NumericInput>
  568. <keyboard>
  569. <backspace>Close</backspace>
  570. </keyboard>
  571. </NumericInput>
  572. </keymap>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement