Advertisement
Guest User

Untitled

a guest
Sep 24th, 2015
573
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.86 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- This file contains the mapping of keys (gamepad, remote, and keyboard) to actions within XBMC -->
  3. <!-- The <global> section is a fall through - they will only be used if the button is not -->
  4. <!-- used in the current window's section. Note that there is only handling -->
  5. <!-- for a single action per button at this stage. -->
  6. <!-- For joystick/gamepad configuration under linux/win32, see below as it differs from xbox -->
  7. <!-- gamepads. -->
  8.  
  9. <!-- The format is: -->
  10. <!-- <device> -->
  11. <!-- <button>action</button> -->
  12. <!-- </device> -->
  13.  
  14. <!-- To map keys from other remotes using the RCA protocol, you may add <universalremote> blocks -->
  15. <!-- In this case, the tags used are <obc#> where # is the original button code (OBC) of the key -->
  16. <!-- You set it up by adding a <universalremote> block to the window or <global> section: -->
  17. <!-- <universalremote> -->
  18. <!-- <obc45>Stop</obc45> -->
  19. <!-- </universalremote> -->
  20.  
  21. <!-- Note that the action can be a built-in function. -->
  22. <!-- eg <B>ActivateWindow(MyMusic)</B> -->
  23. <!-- would automatically go to My Music on the press of the B button. -->
  24.  
  25. <!-- Joysticks / Gamepads: -->
  26. <!-- See the sample PS3 controller configuration below for the format. -->
  27. <!-- -->
  28. <!-- Joystick Name: -->
  29. <!-- Do 'cat /proc/bus/input/devices' or see your xbmc log file to find the names of -->
  30. <!-- detected joysticks. The name used in the configuration should match the detected name. -->
  31. <!-- -->
  32. <!-- Button Ids: -->
  33. <!-- 'id' is the button ID used by SDL. Joystick button ids of connected joysticks appear -->
  34. <!-- in xbmc.log when they are pressed. Use your log to map custom buttons to actions. -->
  35. <!-- -->
  36. <!-- Axis Ids / Analog Controls -->
  37. <!-- Coming soon. -->
  38. <!-- -->
  39. <!-- Long presses -->
  40. <!-- A limitation is that if a single press is mapped in a section, a global "longpress" -->
  41. <!-- will be ignored. The workaround is to duplicate the long mapping in the section. -->
  42. <keymap>
  43. <global>
  44. <keyboard>
  45. <p>Play</p>
  46. <q>Queue</q>
  47. <f>FastForward</f>
  48. <r>Rewind</r>
  49. <y>SwitchPlayer</y>
  50. <left>Left</left>
  51. <right>Right</right>
  52. <up>Up</up>
  53. <down>Down</down>
  54. <left mod="ctrl">analogseekback</left>
  55. <right mod="ctrl">analogseekforward</right>
  56. <pageup>PageUp</pageup>
  57. <pagedown>PageDown</pagedown>
  58. <return>Select</return>
  59. <return mod="longpress">ContextMenu</return>
  60. <enter>Select</enter>
  61. <enter mod="longpress">ContextMenu</enter>
  62. <backspace>Back</backspace>
  63. <backspace mod="longpress">ActivateWindow(Home)</backspace>
  64. <key id='65446'>Back</key>
  65. <m>Menu</m>
  66. <m mod="ctrl">ActivateWindow(PlayerControls)</m>
  67. <s>ActivateWindow(shutdownmenu)</s>
  68. <escape>PreviousMenu</escape>
  69. <i>Info</i>
  70. <menu>ContextMenu</menu>
  71. <menu mod="longpress">Menu</menu>
  72. <c>ContextMenu</c>
  73. <space>Pause</space>
  74. <x>Stop</x>
  75. <period>SkipNext</period>
  76. <comma>SkipPrevious</comma>
  77. <tab>FullScreen</tab>
  78. <printscreen>Screenshot</printscreen>
  79. <s mod="ctrl">Screenshot</s>
  80. <minus>VolumeDown</minus>
  81. <plus>VolumeUp</plus>
  82. <equals>VolumeUp</equals>
  83. <zero>Number0</zero>
  84. <one>Number1</one>
  85. <two>Number2</two>
  86. <three>Number3</three>
  87. <four>Number4</four>
  88. <five>Number5</five>
  89. <six>Number6</six>
  90. <seven>Number7</seven>
  91. <eight>Number8</eight>
  92. <nine>Number9</nine>
  93. <numpadminus>VolumeDown</numpadminus>
  94. <numpadplus>VolumeUp</numpadplus>
  95. <numpadzero>Number0</numpadzero>
  96. <numpadone>Number1</numpadone>
  97. <numpadtwo>Number2</numpadtwo>
  98. <numpadthree>Number3</numpadthree>
  99. <numpadfour>Number4</numpadfour>
  100. <numpadfive>Number5</numpadfive>
  101. <numpadsix>Number6</numpadsix>
  102. <numpadseven>Number7</numpadseven>
  103. <numpadeight>Number8</numpadeight>
  104. <numpadnine>Number9</numpadnine>
  105. <backslash>ToggleFullScreen</backslash>
  106. <home>FirstPage</home>
  107. <end>LastPage</end>
  108. <power>ActivateWindow(shutdownmenu)</power>
  109. <sleep>ActivateWindow(shutdownmenu)</sleep>
  110. <!-- PVR windows -->
  111. <e>ActivateWindow(TVGuide)</e>
  112. <h>ActivateWindow(TVChannels)</h>
  113. <j>ActivateWindow(RadioChannels)</j>
  114. <k>ActivateWindow(TVRecordings)</k>
  115. <b>ActivateWindow(TVTimers)</b>
  116. <!-- Multimedia keyboard keys -->
  117. <browser_back>Back</browser_back>
  118. <browser_forward/>
  119. <browser_refresh/>
  120. <browser_stop/>
  121. <browser_search/>
  122. <browser_favorites>ActivateWindow(Favourites)</browser_favorites>
  123. <browser_home>ActivateWindow(Home)</browser_home>
  124. <volume_mute>Mute</volume_mute>
  125. <volume_down>VolumeDown</volume_down>
  126. <volume_up>VolumeUp</volume_up>
  127. <next_track>SkipNext</next_track>
  128. <prev_track>SkipPrevious</prev_track>
  129. <stop>Stop</stop>
  130. <play_pause>PlayPause</play_pause>
  131. <fastforward>FastForward</fastforward>
  132. <rewind>Rewind</rewind>
  133. <record/>
  134. <launch_mail></launch_mail>
  135. <launch_media_select>ActivateWindow(MyMusic)</launch_media_select>
  136. <launch_app1_pc_icon>ActivateWindow(MyPrograms)</launch_app1_pc_icon>
  137. <launch_app2_pc_icon>ActivateWindow(MyPrograms)</launch_app2_pc_icon>
  138. <launch_file_browser/>
  139. <launch_media_center/>
  140. <!-- ****************************************************** -->
  141. <!-- MS Media Center keyboard shortcuts sent by MCE remotes -->
  142. <!-- See http://msdn.microsoft.com/en-us/library/bb189249.aspx -->
  143. <p mod="ctrl,shift">Play</p> <!-- Play -->
  144. <s mod="ctrl,shift">Stop</s> <!-- Stop -->
  145. <p mod="ctrl">Pause</p> <!-- Pause -->
  146. <f mod="ctrl,shift">FastForward</f> <!-- Fwd -->
  147. <b mod="ctrl,shift">Rewind</b> <!-- Rew -->
  148. <f mod="ctrl">SkipNext</f> <!-- Skip -->
  149. <b mod="ctrl">SkipPrevious</b> <!-- Replay -->
  150. <d mod="ctrl">Info</d> <!-- MCE Details -->
  151. <f10>VolumeUp</f10> <!-- MCE Vol up -->
  152. <f9>VolumeDown</f9> <!-- MCE Vol down -->
  153. <f8>Mute</f8> <!-- MCE mute -->
  154. <g mod="ctrl">ActivateWindow(TVGuide)</g> <!-- MCE Guide -->
  155. <m mod="ctrl">ActivateWindow(music)</m> <!-- MCE My music -->
  156. <i mod="ctrl">ActivateWindow(pictures)</i> <!-- MCE My pictures -->
  157. <e mod="ctrl">ActivateWindow(video)</e> <!-- MCE videos -->
  158. <m mod="ctrl,shift">PlayerControl(ShowVideoMenu)</m> <!-- MCE DVD menu -->
  159. <o mod="ctrl">ActivateWindow(TVRecordings)</o> <!-- MCE Recorded TV -->
  160. <t mod="ctrl">ActivateWindow(TVChannels)</t> <!-- MCE Live TV -->
  161. <t mod="ctrl,shift">ActivateWindow(TVChannels)</t> <!-- MCE My TV -->
  162. <a mod="ctrl">ActivateWindow(RadioChannels)</a> <!-- MCE My Radio -->
  163. <!-- MCE keypresses without an obvious use in XBMC -->
  164. <u mod="ctrl">Notification(MCEKeypress, DVD subtitle, 3)</u>
  165. <a mod="ctrl,shift">Notification(MCEKeypress, DVD audio, 3)</a>
  166. <k mod="ctrl,shift">ReloadKeymaps</k>
  167. <d mod="ctrl,shift">ToggleDebug</d>
  168. <r mod="ctrl,shift">ToggleDirtyRegionVisualization</r>
  169. </keyboard>
  170. </global>
  171. <LoginScreen>
  172. <keyboard>
  173. <end mod="ctrl">ShutDown()</end>
  174. </keyboard>
  175. </LoginScreen>
  176. <Home>
  177. <keyboard>
  178. <i>info</i>
  179. <end mod="ctrl">ShutDown()</end>
  180. </keyboard>
  181. </Home>
  182. <VirtualKeyboard>
  183. <keyboard>
  184. <backspace>Backspace</backspace>
  185. </keyboard>
  186. </VirtualKeyboard>
  187. <MyTVChannels>
  188. <keyboard>
  189. <m mod="ctrl">Move</m>
  190. </keyboard>
  191. </MyTVChannels>
  192. <MyTVRecordings>
  193. <keyboard>
  194. <delete>Delete</delete>
  195. <r>Rename</r>
  196. </keyboard>
  197. </MyTVRecordings>
  198. <MyTVTimers>
  199. <keyboard>
  200. <delete>Delete</delete>
  201. <r>Rename</r>
  202. </keyboard>
  203. </MyTVTimers>
  204. <MyRadioChannels>
  205. <keyboard>
  206. <m mod="ctrl">Move</m>
  207. </keyboard>
  208. </MyRadioChannels>
  209. <MyRadioRecordings>
  210. <keyboard>
  211. <delete>Delete</delete>
  212. <r>Rename</r>
  213. </keyboard>
  214. </MyRadioRecordings>
  215. <MyRadioTimers>
  216. <keyboard>
  217. <delete>Delete</delete>
  218. <r>Rename</r>
  219. </keyboard>
  220. </MyRadioTimers>
  221. <MyFiles>
  222. <keyboard>
  223. <space>Highlight</space>
  224. <delete>Delete</delete>
  225. <m>Move</m>
  226. <r>Rename</r>
  227. </keyboard>
  228. </MyFiles>
  229. <MyMusicPlaylist>
  230. <keyboard>
  231. <n>Back</n>
  232. <delete>Delete</delete>
  233. <u>MoveItemUp</u>
  234. <d>MoveItemDown</d>
  235. </keyboard>
  236. </MyMusicPlaylist>
  237. <MyMusicPlaylistEditor>
  238. <keyboard>
  239. <u>MoveItemUp</u>
  240. <d>MoveItemDown</d>
  241. <delete>Delete</delete>
  242. </keyboard>
  243. </MyMusicPlaylistEditor>
  244. <MyMusicFiles>
  245. <keyboard>
  246. <n>Playlist</n>
  247. <q>Queue</q>
  248. <delete>Delete</delete>
  249. </keyboard>
  250. </MyMusicFiles>
  251. <MyMusicLibrary>
  252. <keyboard>
  253. <n>Playlist</n>
  254. <q>Queue</q>
  255. </keyboard>
  256. </MyMusicLibrary>
  257. <FullscreenVideo>
  258. <keyboard>
  259. <f>FastForward</f>
  260. <r>Rewind</r>
  261. <period>StepForward</period>
  262. <comma>StepBack</comma>
  263. <backspace>Fullscreen</backspace>
  264. <quote>Seek(-7)</quote><!-- Replaces smallstepback -->
  265. <opensquarebracket>BigStepForward</opensquarebracket>
  266. <closesquarebracket>BigStepBack</closesquarebracket>
  267. <return>OSD</return>
  268. <enter>OSD</enter>
  269. <m>OSD</m>
  270. <menu>OSD</menu>
  271. <i>Info</i>
  272. <o>CodecInfo</o>
  273. <z>AspectRatio</z>
  274. <t>ShowSubtitles</t>
  275. <t mod="ctrl">SubtitleAlign</t>
  276. <l>NextSubtitle</l>
  277. <left>StepBack</left>
  278. <right>StepForward</right>
  279. <up>ChapterOrBigStepForward</up>
  280. <down>ChapterOrBigStepBack</down>
  281. <a>AudioDelay</a>
  282. <escape>Fullscreen</escape>
  283. <c>Playlist</c>
  284. <v>ActivateWindow(Teletext)</v>
  285. <up mod="ctrl">SubtitleShiftUp</up>
  286. <down mod="ctrl">SubtitleShiftDown</down>
  287. <pageup>SkipNext</pageup>
  288. <pagedown>SkipPrevious</pagedown>
  289. </keyboard>
  290. </FullscreenVideo>
  291. <VideoTimeSeek>
  292. <keyboard>
  293. <return>Select</return>
  294. <enter>Select</enter>
  295. </keyboard>
  296. </VideoTimeSeek>
  297. <FullscreenInfo>
  298. <keyboard>
  299. <f>FastForward</f>
  300. <r>Rewind</r>
  301. <period>StepForward</period>
  302. <o>CodecInfo</o>
  303. <i>Back</i>
  304. <d mod="ctrl">Back</d>
  305. <m>OSD</m>
  306. <menu>OSD</menu>
  307. </keyboard>
  308. </FullscreenInfo>
  309. <PlayerControls>
  310. <keyboard>
  311. <m mod="ctrl">Back</m>
  312. </keyboard>
  313. </PlayerControls>
  314. <Visualisation>
  315. <keyboard>
  316. <f>FastForward</f>
  317. <r>Rewind</r>
  318. <period>SkipNext</period>
  319. <comma>SkipPrevious</comma>
  320. <pageup>IncreaseRating</pageup>
  321. <pagedown>DecreaseRating</pagedown>
  322. <backspace>Fullscreen</backspace>
  323. <return>OSD</return>
  324. <enter>OSD</enter>
  325. <m>OSD</m>
  326. <menu>OSD</menu>
  327. <i>Info</i>
  328. <p>ActivateWindow(VisualisationPresetList)</p>
  329. <v>Addon.Default.OpenSettings(xbmc.player.musicviz)</v>
  330. <n>ActivateWindow(MusicPlaylist)</n>
  331. <left>StepBack</left>
  332. <right>StepForward</right>
  333. <up>SkipNext</up>
  334. <down>SkipPrevious</down>
  335. <o>CodecInfo</o>
  336. <l>LockPreset</l>
  337. <escape>FullScreen</escape>
  338. <g>ActivateWindow(PVROSDGuide)</g>
  339. <c>ActivateWindow(PVROSDChannels)</c>
  340. </keyboard>
  341. </Visualisation>
  342. <MusicOSD>
  343. <keyboard>
  344. <f>FastForward</f>
  345. <r>Rewind</r>
  346. <period>SkipNext</period>
  347. <comma>SkipPrevious</comma>
  348. <m>Back</m>
  349. <menu>Back</menu>
  350. <i>Info</i>
  351. <o>CodecInfo</o>
  352. <p>ActivateWindow(VisualisationPresetList)</p>
  353. <v>Addon.Default.OpenSettings(xbmc.player.musicviz)</v>
  354. <n>ActivateWindow(MusicPlaylist)</n>
  355. </keyboard>
  356. </MusicOSD>
  357. <VisualisationSettings>
  358. <keyboard>
  359. <f>FastForward</f>
  360. <r>Rewind</r>
  361. <period>SkipNext</period>
  362. <comma>SkipPrevious</comma>
  363. <m>Back</m>
  364. <i>Info</i>
  365. <o>CodecInfo</o>
  366. <p>ActivateWindow(VisualisationPresetList)</p>
  367. <v>Back</v>
  368. <n>ActivateWindow(MusicPlaylist)</n>
  369. </keyboard>
  370. </VisualisationSettings>
  371. <VisualisationPresetList>
  372. <keyboard>
  373. <f>FastForward</f>
  374. <r>Rewind</r>
  375. <period>SkipNext</period>
  376. <comma>SkipPrevious</comma>
  377. <m>Back</m>
  378. <i>Info</i>
  379. <o>CodecInfo</o>
  380. <p>Back</p>
  381. <v>Back</v>
  382. <n>ActivateWindow(MusicPlaylist)</n>
  383. </keyboard>
  384. </VisualisationPresetList>
  385. <SlideShow>
  386. <keyboard>
  387. <zero>ZoomNormal</zero>
  388. <one>ZoomLevel1</one>
  389. <two>ZoomLevel2</two>
  390. <three>ZoomLevel3</three>
  391. <four>ZoomLevel4</four>
  392. <five>ZoomLevel5</five>
  393. <six>ZoomLevel6</six>
  394. <seven>ZoomLevel7</seven>
  395. <eight>ZoomLevel8</eight>
  396. <nine>ZoomLevel9</nine>
  397. <i>Info</i>
  398. <o>CodecInfo</o>
  399. <period>NextPicture</period>
  400. <comma>PreviousPicture</comma>
  401. <plus>ZoomIn</plus>
  402. <minus>ZoomOut</minus>
  403. <return>Rotate</return>
  404. <enter>Rotate</enter>
  405. <r>Rotate</r>
  406. </keyboard>
  407. </SlideShow>
  408. <ScreenCalibration>
  409. <keyboard>
  410. <return>NextCalibration</return>
  411. <enter>NextCalibration</enter>
  412. <d>ResetCalibration</d>
  413. <r>NextResolution</r>
  414. </keyboard>
  415. </ScreenCalibration>
  416. <GUICalibration>
  417. <keyboard>
  418. <return>NextCalibration</return>
  419. <enter>NextCalibration</enter>
  420. <d>ResetCalibration</d>
  421. </keyboard>
  422. </GUICalibration>
  423. <VideoOSD>
  424. <keyboard>
  425. <m>Back</m>
  426. <menu>Back</menu>
  427. <g mod="ctrl">Back</g> <!-- MCE Guide button -->
  428. <i>Info</i>
  429. <o>CodecInfo</o>
  430. </keyboard>
  431. </VideoOSD>
  432. <VideoMenu>
  433. <keyboard>
  434. <opensquarebracket>BigStepForward</opensquarebracket>
  435. <closesquarebracket>BigStepBack</closesquarebracket>
  436. <m>OSD</m>
  437. <menu>OSD</menu>
  438. <i>Info</i>
  439. <o>CodecInfo</o>
  440. <z>AspectRatio</z>
  441. <t>ShowSubtitles</t>
  442. <l>NextSubtitle</l>
  443. <a>AudioDelay</a>
  444. <escape>Fullscreen</escape>
  445. <return>Select</return>
  446. <enter>Select</enter> <!-- backspace>Fullscreen</backspace -->
  447. <pageup>SkipNext</pageup>
  448. <pagedown>SkipPrevious</pagedown>
  449. </keyboard>
  450. </VideoMenu>
  451. <OSDVideoSettings>
  452. <keyboard>
  453. <i>Info</i>
  454. <o>CodecInfo</o>
  455. </keyboard>
  456. </OSDVideoSettings>
  457. <OSDAudioSettings>
  458. <keyboard>
  459. <i>Info</i>
  460. <o>CodecInfo</o>
  461. </keyboard>
  462. </OSDAudioSettings>
  463. <VideoBookmarks>
  464. <keyboard>
  465. <delete>Delete</delete>
  466. </keyboard>
  467. </VideoBookmarks>
  468. <MyVideoLibrary>
  469. <keyboard>
  470. <delete>Delete</delete>
  471. <n>Playlist</n>
  472. <w>ToggleWatched</w>
  473. </keyboard>
  474. </MyVideoLibrary>
  475. <MyVideoFiles>
  476. <keyboard>
  477. <n>Playlist</n>
  478. <q>Queue</q>
  479. <w>ToggleWatched</w>
  480. </keyboard>
  481. </MyVideoFiles>
  482. <MyVideoPlaylist>
  483. <keyboard>
  484. <n>Back</n>
  485. <delete>Delete</delete>
  486. <u>MoveItemUp</u>
  487. <d>MoveItemDown</d>
  488. </keyboard>
  489. </MyVideoPlaylist>
  490. <MyPictures>
  491. <keyboard>
  492. <delete>Delete</delete>
  493. </keyboard>
  494. </MyPictures>
  495. <ContextMenu>
  496. <keyboard>
  497. <c>Back</c>
  498. <menu>Back</menu>
  499. </keyboard>
  500. </ContextMenu>
  501. <Scripts>
  502. <keyboard>
  503. <i>info</i>
  504. </keyboard>
  505. </Scripts>
  506. <MusicInformation>
  507. <keyboard>
  508. <i>Back</i>
  509. <d mod="ctrl">Back</d>
  510. </keyboard>
  511. </MusicInformation>
  512. <MovieInformation>
  513. <keyboard>
  514. <i>Back</i>
  515. </keyboard>
  516. </MovieInformation>
  517. <PictureInfo>
  518. <keyboard>
  519. <period>NextPicture</period>
  520. <comma>PreviousPicture</comma>
  521. <i>Back</i>
  522. <d mod="ctrl">Back</d>
  523. <o>Back</o>
  524. <space>Pause</space>
  525. </keyboard>
  526. </PictureInfo>
  527. <Teletext>
  528. <keyboard>
  529. <v>Back</v>
  530. </keyboard>
  531. </Teletext>
  532. <Favourites>
  533. <keyboard>
  534. <backspace>Close</backspace>
  535. <u>MoveItemUp</u>
  536. <d>MoveItemDown</d>
  537. </keyboard>
  538. </Favourites>
  539. <NumericInput>
  540. <keyboard>
  541. <backspace>Close</backspace>
  542. </keyboard>
  543. </NumericInput>
  544. <FullscreenLiveTV>
  545. <keyboard>
  546. <left>StepBack</left>
  547. <right>StepForward</right>
  548. <up>Up</up>
  549. <down>Down</down>
  550. <pageup>ChannelUp</pageup>
  551. <pagedown>ChannelDown</pagedown>
  552. </keyboard>
  553. </FullscreenLiveTV>
  554. <FullscreenRadio>
  555. <keyboard>
  556. <left>StepBack</left>
  557. <right>StepForward</right>
  558. <up>Up</up>
  559. <down>Down</down>
  560. <pageup>ChannelUp</pageup>
  561. <pagedown>ChannelDown</pagedown>
  562. </keyboard>
  563. </FullscreenRadio>
  564. <PVROSDChannels>
  565. <keyboard>
  566. <backspace>Close</backspace>
  567. <escape>Close</escape>
  568. <c>Close</c>
  569. </keyboard>
  570. </PVROSDChannels>
  571. <PVROSDGuide>
  572. <keyboard>
  573. <backspace>Close</backspace>
  574. <escape>Close</escape>
  575. </keyboard>
  576. </PVROSDGuide>
  577. <MyTVSettings>
  578. <keyboard>
  579. <backspace>PreviousMenu</backspace>
  580. </keyboard>
  581. </MyTVSettings>
  582. <FileBrowser>
  583. <keyboard>
  584. <space>Highlight</space>
  585. </keyboard>
  586. </FileBrowser>
  587. <ShutdownMenu>
  588. <keyboard>
  589. <s>Back</s>
  590. </keyboard>
  591. </ShutdownMenu>
  592. <AddonInformation>
  593. <keyboard>
  594. <i>Back</i>
  595. </keyboard>
  596. </AddonInformation>
  597. <AddonSettings>
  598. <keyboard>
  599. <delete>Delete</delete>
  600. </keyboard>
  601. </AddonSettings>
  602. <Addon>
  603. <keyboard>
  604. <f1>Red</f1>
  605. <f2>Green</f2>
  606. <f3>Yellow</f3>
  607. <f4>Blue</f4>
  608. </keyboard>
  609. </Addon>
  610. </keymap>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement