Advertisement
JazJon

keyboard.xml

Feb 26th, 2014
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.36 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. <left mod="ctrl">analogseekback</left>
  49. <right mod="ctrl">analogseekforward</right>
  50. <pageup>PageUp</pageup>
  51. <pagedown>PageDown</pagedown>
  52. <return>Select</return>
  53. <enter>Select</enter>
  54. <backspace>ParentDir</backspace>
  55. <key id='65446'>Back</key>
  56. <m>ActivateWindow(PlayerControls)</m>
  57. <s>ActivateWindow(shutdownmenu)</s>
  58. <escape>PreviousMenu</escape>
  59. <i>Info</i>
  60. <menu>ContextMenu</menu>
  61. <c>ContextMenu</c>
  62. <space>Pause</space>
  63. <x>Stop</x>
  64. <period>SkipNext</period>
  65. <comma>SkipPrevious</comma>
  66. <tab>FullScreen</tab>
  67. <printscreen>Screenshot</printscreen>
  68. <s mod="ctrl">RandomPreset</s> <!-- Used to take screenshot, Now used for MCE remote Music random preset -->
  69. <minus>VolumeDown</minus>
  70. <plus>VolumeUp</plus>
  71. <equals>VolumeUp</equals>
  72. <zero>Number0</zero>
  73. <one>Number1</one>
  74. <two>JumpSMS2</two>
  75. <three>JumpSMS3</three>
  76. <four>JumpSMS4</four>
  77. <five>JumpSMS5</five>
  78. <six>JumpSMS6</six>
  79. <seven>JumpSMS7</seven>
  80. <eight>JumpSMS8</eight>
  81. <nine>JumpSMS9</nine>
  82. <numpadminus>VolumeDown</numpadminus>
  83. <numpadplus>VolumeUp</numpadplus>
  84. <numpadzero>Number0</numpadzero>
  85. <numpadone>Number1</numpadone>
  86. <numpadtwo>Number2</numpadtwo>
  87. <numpadthree>Number3</numpadthree>
  88. <numpadfour>Number4</numpadfour>
  89. <numpadfive>Number5</numpadfive>
  90. <numpadsix>Number6</numpadsix>
  91. <numpadseven>Number7</numpadseven>
  92. <numpadeight>Number8</numpadeight>
  93. <numpadnine>Number9</numpadnine>
  94. <backslash>ToggleFullScreen</backslash>
  95. <home>FirstPage</home>
  96. <end>LastPage</end>
  97. <f5 mod="ctrl,alt">XBMC.ActivateWindow(Home)</f5> <!--Added to support (GSB Home Jump) feature-->
  98. <!-- Multimedia keyboard keys -->
  99. <browser_back>ParentDir</browser_back>
  100. <browser_forward/>
  101. <browser_refresh/>
  102. <browser_stop/>
  103. <browser_search/>
  104. <browser_favorites>ActivateWindow(Favourites)</browser_favorites>
  105. <browser_home>XBMC.ActivateWindow(Home)</browser_home>
  106. <volume_mute>Mute</volume_mute>
  107. <volume_down>VolumeDown</volume_down>
  108. <volume_up>VolumeUp</volume_up>
  109. <next_track>SkipNext</next_track>
  110. <prev_track>SkipPrevious</prev_track>
  111. <stop>Stop</stop>
  112. <play_pause>Pause</play_pause>
  113. <launch_mail></launch_mail>
  114. <launch_media_select>XBMC.ActivateWindow(MyMusic)</launch_media_select>
  115. <launch_app1_pc_icon>ActivateWindow(MyPrograms)</launch_app1_pc_icon>
  116. <launch_app2_pc_icon>ActivateWindow(MyPrograms)</launch_app2_pc_icon>
  117. <launch_file_browser/>
  118. <launch_media_center/>
  119. <!-- ****************************************************** -->
  120. <!-- MS Media Center keyboard shortcuts sent by MCE remotes -->
  121. <!-- See http://msdn.microsoft.com/en-us/library/bb189249.aspx -->
  122. <p mod="ctrl,shift">Play</p> <!-- Play -->
  123. <s mod="ctrl,shift">Stop</s> <!-- Stop -->
  124. <p mod="ctrl">Pause</p> <!-- Pause -->
  125. <f mod="ctrl,shift">FastForward</f> <!-- Fwd -->
  126. <b mod="ctrl,shift">Rewind</b> <!-- Rew -->
  127. <f mod="ctrl">SkipNext</f> <!-- Skip -->
  128. <b mod="ctrl">SkipPrevious</b> <!-- Replay -->
  129. <d mod="ctrl">Info</d> <!-- MCE Details -->
  130. <f10>VolumeUp</f10> <!-- MCE Vol up -->
  131. <f9>VolumeDown</f9> <!-- MCE Vol down -->
  132. <f8>Mute</f8> <!-- MCE mute -->
  133. <g mod="ctrl">OSD</g> <!-- MCE Guide -->
  134. <m mod="ctrl">XBMC.ActivateWindow(musiclibrary,albums,return)</m> <!-- MCE My music Albums-->
  135. <i mod="ctrl">ActivateWindow(pictures)</i> <!-- MCE My pictures -->
  136. <e mod="ctrl">XBMC.ActivateWindow(videolibrary,tvshowtitles,return)</e> <!-- MCE TVSHOWS Window-->
  137. <!-- MCE keypresses without an obvious use in XBMC -->
  138. <o mod="ctrl">Notification(MCEKeypress, Recorded TV, 3)</o>
  139. <t mod="ctrl">Notification(MCEKeypress, Live TV, 3)</t>
  140. <t mod="ctrl,shift">Notification(MCEKeypress, My TV, 3)</t>
  141. <a mod="ctrl">Playlist</a> <!-- Radio Button Activates playlists using MCE remotes for videos/music -->
  142. <m mod="ctrl,shift">PlayerControl(ShowVideoMenu)</m> <!-- MCE DVD menu -->
  143. <u mod="ctrl">Notification(MCEKeypress, DVD subtitle, 3)</u>
  144. <eight mod="ctrl,shift">UpdateLibrary(video)</eight> <!-- Update Video Library using MCE Remotes-->
  145. <three mod="ctrl,shift">Playlist</three> <!-- Support Button Activates playlists using MCE remotes for videos/music-->
  146. <a mod="ctrl,shift">Notification(MCEKeypress, DVD audio, 3)</a>
  147. <y mod="ctrl">audionextlanguage</y> <!-- Yellow Button: ctrl-y: Switch audio language track -->
  148. </keyboard>
  149. </global>
  150. <LoginScreen>
  151. <keyboard>
  152. <end>XBMC.ShutDown()</end>
  153. </keyboard>
  154. </LoginScreen>
  155. <Home>
  156. <keyboard>
  157. <i>info</i>
  158. <end>XBMC.ShutDown()</end>
  159. </keyboard>
  160. </Home>
  161. <VirtualKeyboard>
  162. <keyboard>
  163. <zero>Number0</zero>
  164. <one>Number1</one>
  165. <two>Number2</two>
  166. <three>Number3</three>
  167. <four>Number4</four>
  168. <five>Number5</five>
  169. <six>Number6</six>
  170. <seven>Number7</seven>
  171. <eight>Number8</eight>
  172. <nine>Number9</nine>
  173. <backspace>Backspace</backspace>
  174. </keyboard>
  175. </VirtualKeyboard>
  176. <MyFiles>
  177. <keyboard>
  178. <space>Highlight</space>
  179. <delete>Delete</delete>
  180. <m>Move</m>
  181. <r>Rename</r>
  182. </keyboard>
  183. </MyFiles>
  184. <MyMusicPlaylist>
  185. <keyboard>
  186. <space>Back</space>
  187. <delete>Delete</delete>
  188. <q>Delete</q> <!-- Used for MCE remotes to Delete music in playlist -->
  189. <u>MoveItemUp</u>
  190. <d>MoveItemDown</d>
  191. <pageup>MoveItemUp</pageup> <!-- Used for MCE remotes to Arrange playlist -->
  192. <pagedown>MoveItemDown</pagedown> <!-- Used for MCE remotes to arrange playlist -->
  193. <backspace>Playlist</backspace> <!-- Close playlist -->
  194. <g>PlayerControl(Random)</g> <!-- Randomise playlist -->
  195. </keyboard>
  196. </MyMusicPlaylist>
  197. <MyMusicPlaylistEditor>
  198. <keyboard>
  199. <u>MoveItemUp</u>
  200. <d>MoveItemDown</d>
  201. <pageup>MoveItemUp</pageup> <!-- Used for MCE remotes to Arrange playlist -->
  202. <pagedown>MoveItemDown</pagedown> <!-- Used for MCE remotes to arrange playlist -->
  203. <delete>Delete</delete>
  204. <q>Delete</q> <!-- Used for MCE remotes to Delete music in playlist -->
  205. <g>PlayerControl(Random)</g> <!-- Randomise playlist -->
  206. </keyboard>
  207. </MyMusicPlaylistEditor>
  208. <MyMusicFiles>
  209. <keyboard>
  210. <space>Playlist</space>
  211. <q>Queue</q>
  212. <delete>Delete</delete>
  213. <g>PlayerControl(RandomOff)</g> <!-- Random Off Library/Files mode -->
  214. </keyboard>
  215. </MyMusicFiles>
  216. <MyMusicLibrary>
  217. <keyboard>
  218. <space>Playlist</space>
  219. <q>Queue</q>
  220. <g>PlayerControl(RandomOff)</g> <!-- Random Off Library/Files mode -->
  221. </keyboard>
  222. </MyMusicLibrary>
  223. <FullscreenVideo>
  224. <keyboard>
  225. <!-- PVR & extra controls Remoded by elitegamer360 so not to confilict with current XBMCCustomregis settings-->
  226. <r mod="ctrl,alt">PlayerControl(Record)</r>
  227. <p mod="ctrl,alt">PlayerControl(Play)</p>
  228. <b mod="ctrl,alt">PlayerControl(Repeat)</b>
  229. <f mod="ctrl,alt">PlayerControl(Next)</f>
  230. <f mod="alt">PlayerControl(Forward)</f>
  231. <b mod="shift">PlayerControl(Rewind)</b>
  232. <f5 mod="ctrl,shift">Stop</f5> <!--GSB PVR MOD-->
  233. <w mod="ctrl,alt">AudioDelayPlus</w>
  234. <y mod="ctrl,alt">AudioDelayMinus</y>
  235. <s mod="ctrl,alt">NextSubtitle</s>
  236. <m mod="ctrl,alt">audionextlanguage</m>
  237. <i mod="ctrl,alt">RunScript(script.xbmc.subtitles)</i>
  238. <c mod="ctrl">OSD</c>
  239. <!-- PVR & extra controls Remoded by elitegamer360 so not to confilict with current XBMCCustomregis settings-->
  240. <f>FastForward</f>
  241. <r>Rewind</r>
  242. <period>StepForward</period>
  243. <comma>StepBack</comma>
  244. <backspace>Fullscreen</backspace>
  245. <quote>SmallStepBack</quote>
  246. <opensquarebracket>BigStepForward</opensquarebracket>
  247. <closesquarebracket>BigStepBack</closesquarebracket>
  248. <return>OSD</return>
  249. <enter>OSD</enter>
  250. <m>OSD</m>
  251. <i>Info</i>
  252. <o>CodecInfo</o>
  253. <z>AspectRatio</z>
  254. <pageup>ZoomIn</pageup> <!-- Added for MCE Remotes for extra zooming -->
  255. <Pagedown>ZoomOut</Pagedown> <!-- Added for MCE Remotes for extra zooming -->
  256. <!-- t>ShowSubtitles</t -->
  257. <t>XBMC.RunScript(script.xbmc.subtitles)</t> <!-- Added for MCE Remotes for subtitle addon -->
  258. <t mod="ctrl">SubtitleAlign</t>
  259. <l>NextSubtitle</l>
  260. <left>StepBack</left>
  261. <right>StepForward</right>
  262. <up>BigStepForward</up>
  263. <down>BigStepBack</down>
  264. <a>AudioDelay</a>
  265. <escape>Fullscreen</escape>
  266. <v>XBMC.ActivateWindow(Teletext)</v>
  267. <up mod="ctrl">SubtitleShiftUp</up>
  268. <down mod="ctrl">SubtitleShiftDown</down>
  269. <zero>Number0</zero>
  270. <one>Number1</one>
  271. <two>Number2</two>
  272. <three>Number3</three>
  273. <four>Number4</four>
  274. <five>Number5</five>
  275. <six>Number6</six>
  276. <seven>Number7</seven>
  277. <eight>Number8</eight>
  278. <nine>Number9</nine>
  279. </keyboard>
  280. </FullscreenVideo>
  281. <VideoTimeSeek>
  282. <keyboard>
  283. <return>Select</return>
  284. <enter>Select</enter>
  285. </keyboard>
  286. </VideoTimeSeek>
  287. <FullscreenInfo>
  288. <keyboard>
  289. <f>FastForward</f>
  290. <r>Rewind</r>
  291. <period>StepForward</period>
  292. <backspace>Close</backspace>
  293. <o>CodecInfo</o>
  294. <i>Back</i>
  295. <d mod="ctrl">Back</d>
  296. <m>OSD</m>
  297. </keyboard>
  298. </FullscreenInfo>
  299. <PlayerControls>
  300. <keyboard>
  301. <escape>Close</escape>
  302. <m>Back</m>
  303. </keyboard>
  304. </PlayerControls>
  305. <Visualisation>
  306. <keyboard>
  307. <f>FastForward</f>
  308. <r>Rewind</r>
  309. <period>SkipNext</period>
  310. <comma>SkipPrevious</comma>
  311. <return>ActivateWindow(MusicOSD)</return>
  312. <enter>ActivateWindow(MusicOSD)</enter>
  313. <m>ActivateWindow(MusicOSD)</m>
  314. <i>Info</i>
  315. <p>ActivateWindow(VisualisationPresetList)</p>
  316. <v>ActivateWindow(VisualisationSettings)</v>
  317. <n>ActivateWindow(MusicPlaylist)</n>
  318. <left>SkipPrevious</left>
  319. <right>SkipNext</right>
  320. <up>IncreaseRating</up>
  321. <down>DecreaseRating</down> <!--<back>NextPreset</back>!-->
  322. <o>CodecInfo</o>
  323. <l>LockPreset</l>
  324. <escape>FullScreen</escape>
  325. </keyboard>
  326. </Visualisation>
  327. <MusicOSD>
  328. <keyboard>
  329. <escape>Close</escape>
  330. <f>FastForward</f>
  331. <r>Rewind</r>
  332. <period>SkipNext</period>
  333. <comma>SkipPrevious</comma>
  334. <m>Back</m>
  335. <i>Info</i>
  336. <o>CodecInfo</o>
  337. <p>ActivateWindow(VisualisationPresetList)</p>
  338. <v>ActivateWindow(VisualisationSettings)</v>
  339. <n>ActivateWindow(MusicPlaylist)</n>
  340. </keyboard>
  341. </MusicOSD>
  342. <VisualisationSettings>
  343. <keyboard>
  344. <escape>Close</escape>
  345. <f>FastForward</f>
  346. <r>Rewind</r>
  347. <period>SkipNext</period>
  348. <comma>SkipPrevious</comma>
  349. <m>Back</m>
  350. <i>Info</i>
  351. <o>CodecInfo</o>
  352. <p>ActivateWindow(VisualisationPresetList)</p>
  353. <v>Back</v>
  354. <n>ActivateWindow(MusicPlaylist)</n>
  355. </keyboard>
  356. </VisualisationSettings>
  357. <VisualisationPresetList>
  358. <keyboard>
  359. <escape>Close</escape>
  360. <f>FastForward</f>
  361. <r>Rewind</r>
  362. <period>SkipNext</period>
  363. <comma>SkipPrevious</comma>
  364. <m>Back</m>
  365. <i>Info</i>
  366. <o>CodecInfo</o>
  367. <p>Back</p>
  368. <v>Back</v>
  369. <n>ActivateWindow(MusicPlaylist)</n>
  370. </keyboard>
  371. </VisualisationPresetList>
  372. <SlideShow>
  373. <keyboard>
  374. <zero>ZoomNormal</zero>
  375. <one>ZoomLevel1</one>
  376. <two>ZoomLevel2</two>
  377. <three>ZoomLevel3</three>
  378. <four>ZoomLevel4</four>
  379. <five>ZoomLevel5</five>
  380. <six>ZoomLevel6</six>
  381. <seven>ZoomLevel7</seven>
  382. <eight>ZoomLevel8</eight>
  383. <nine>ZoomLevel9</nine>
  384. <i>Info</i>
  385. <o>CodecInfo</o>
  386. <period>NextPicture</period>
  387. <comma>PreviousPicture</comma>
  388. <plus>ZoomIn</plus>
  389. <minus>ZoomOut</minus>
  390. <return>Rotate</return>
  391. <enter>Rotate</enter>
  392. <r>Rotate</r>
  393. <backspace>PreviousMenu</backspace>
  394. </keyboard>
  395. </SlideShow>
  396. <ScreenCalibration>
  397. <keyboard>
  398. <return>NextCalibration</return>
  399. <enter>NextCalibration</enter>
  400. <d>ResetCalibration</d>
  401. <r>NextResolution</r>
  402. <backspace>PreviousMenu</backspace> <!-- Added for better MCE remote functionality --->
  403. </keyboard>
  404. </ScreenCalibration>
  405. <GUICalibration>
  406. <keyboard>
  407. <return>NextCalibration</return>
  408. <enter>NextCalibration</enter>
  409. <d>ResetCalibration</d>
  410. <backspace>PreviousMenu</backspace> <!-- Added for better MCE remote functionality --->
  411. </keyboard>
  412. </GUICalibration>
  413. <VideoOSD>
  414. <keyboard>
  415. <backspace>Close</backspace>
  416. <escape>Close</escape>
  417. <m>Close</m>
  418. <g mod="ctrl">close</g> <!-- MCE Guide button -->
  419. <i>Info</i>
  420. <o>CodecInfo</o>
  421. </keyboard>
  422. </VideoOSD>
  423. <VideoMenu>
  424. <keyboard>
  425. <opensquarebracket>BigStepForward</opensquarebracket>
  426. <closesquarebracket>BigStepBack</closesquarebracket>
  427. <m>OSD</m>
  428. <i>Info</i>
  429. <o>CodecInfo</o>
  430. <z>AspectRatio</z>
  431. <t>ShowSubtitles</t>
  432. <l>NextSubtitle</l>
  433. <a>AudioDelay</a>
  434. <escape>PreviousMenu</escape>
  435. <return>Select</return>
  436. <enter>Select</enter>
  437. <backspace>FullScreen</backspace>
  438. </keyboard>
  439. </VideoMenu>
  440. <OSDVideoSettings>
  441. <keyboard>
  442. <backspace>Close</backspace>
  443. <escape>Close</escape>
  444. <i>Info</i>
  445. <o>CodecInfo</o>
  446. </keyboard>
  447. </OSDVideoSettings>
  448. <OSDAudioSettings>
  449. <keyboard>
  450. <backspace>Close</backspace>
  451. <escape>Close</escape>
  452. <i>Info</i>
  453. <o>CodecInfo</o>
  454. </keyboard>
  455. </OSDAudioSettings>
  456. <VideoBookmarks>
  457. <keyboard>
  458. <backspace>Close</backspace>
  459. <escape>Close</escape>
  460. </keyboard>
  461. </VideoBookmarks>
  462. <MyVideoLibrary>
  463. <keyboard>
  464. <delete>Delete</delete>
  465. <space>Playlist</space>
  466. <w>ToggleWatched</w>
  467. </keyboard>
  468. </MyVideoLibrary>
  469. <MyVideoFiles>
  470. <keyboard>
  471. <space>Playlist</space>
  472. <q>Queue</q>
  473. <w>ToggleWatched</w>
  474. </keyboard>
  475. </MyVideoFiles>
  476. <MyVideoPlaylist>
  477. <keyboard>
  478. <backspace>Playlist</backspace> <!-- Close playlist -->
  479. <space>Playlist</space> <!-- Close playlist -->
  480. <delete>Delete</delete>
  481. <q>Delete</q> <!-- Used for MCE remotes to Delete music in playlist -->
  482. <u>MoveItemUp</u>
  483. <d>MoveItemDown</d>
  484. <pageup>MoveItemUp</pageup> <!-- Used for MCE remotes to Arrange playlist -->
  485. <pagedown>MoveItemDown</pagedown> <!-- Used for MCE remotes to arrange playlist -->
  486. </keyboard>
  487. </MyVideoPlaylist>
  488. <MyPictures>
  489. <keyboard>
  490. <delete>Delete</delete>
  491. </keyboard>
  492. </MyPictures>
  493. <ContextMenu>
  494. <keyboard>
  495. <c>Close</c>
  496. <menu>Close</menu>
  497. <backspace>Close</backspace>
  498. </keyboard>
  499. </ContextMenu>
  500. <Scripts>
  501. <keyboard>
  502. <i>info</i>
  503. </keyboard>
  504. </Scripts>
  505. <MusicInformation>
  506. <keyboard>
  507. <i>Back</i>
  508. <d mod="ctrl">Back</d>
  509. </keyboard>
  510. </MusicInformation>
  511. <MovieInformation>
  512. <keyboard>
  513. <i>Back</i>
  514. </keyboard>
  515. </MovieInformation>
  516. <PictureInfo>
  517. <keyboard>
  518. <period>NextPicture</period>
  519. <comma>PreviousPicture</comma>
  520. <i>Back</i>
  521. <d mod="ctrl">Back</d>
  522. <o>Back</o>
  523. <space>Pause</space>
  524. </keyboard>
  525. </PictureInfo>
  526. <Teletext>
  527. <keyboard>
  528. <v>Back</v>
  529. </keyboard>
  530. </Teletext>
  531. <FileBrowser>
  532. <keyboard>
  533. <space>Highlight</space>
  534. </keyboard>
  535. </FileBrowser>
  536. <ShutdownMenu>
  537. <keyboard>
  538. <s>Back</s>
  539. </keyboard>
  540. </ShutdownMenu>
  541. <AddonInformation>
  542. <keyboard>
  543. <i>Back</i>
  544. </keyboard>
  545. </AddonInformation>
  546. <AddonSettings>
  547. <keyboard>
  548. <delete>Delete</delete>
  549. </keyboard>
  550. </AddonSettings>
  551. </keymap>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement