Advertisement
Guest User

keyboard.xml

a guest
Mar 30th, 2012
466
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.13 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>Back</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">Screenshot</s>
  69. <minus>VolumeDown</minus>
  70. <plus>VolumeUp</plus>
  71. <equals>VolumeUp</equals>
  72. <zero>Number0</zero>
  73. <one>Number1</one>
  74. <two>Number2</two>
  75. <three>Number3</three>
  76. <four>Number4</four>
  77. <five>Number5</five>
  78. <six>Number6</six>
  79. <seven>Number7</seven>
  80. <eight>Number8</eight>
  81. <nine>Number9</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. <!-- Multimedia keyboard keys -->
  98. <browser_back>Back</browser_back>
  99. <browser_forward/>
  100. <browser_refresh/>
  101. <browser_stop/>
  102. <browser_search/>
  103. <browser_favorites>ActivateWindow(Favourites)</browser_favorites>
  104. <browser_home>XBMC.ActivateWindow(Home)</browser_home>
  105. <volume_mute>Mute</volume_mute>
  106. <volume_down>VolumeDown</volume_down>
  107. <volume_up>VolumeUp</volume_up>
  108. <next_track>SkipNext</next_track>
  109. <prev_track>SkipPrevious</prev_track>
  110. <stop>Stop</stop>
  111. <play_pause>Pause</play_pause>
  112. <launch_mail></launch_mail>
  113. <launch_media_select>XBMC.ActivateWindow(MyMusic)</launch_media_select>
  114. <launch_app1_pc_icon>ActivateWindow(MyPrograms)</launch_app1_pc_icon>
  115. <launch_app2_pc_icon>ActivateWindow(MyPrograms)</launch_app2_pc_icon>
  116. <launch_file_browser/>
  117. <launch_media_center/>
  118. <!-- ****************************************************** -->
  119. <!-- MS Media Center keyboard shortcuts sent by MCE remotes -->
  120. <!-- See http://msdn.microsoft.com/en-us/library/bb189249.aspx -->
  121. <p mod="ctrl,shift">Play</p> <!-- Play -->
  122. <s mod="ctrl,shift">Stop</s> <!-- Stop -->
  123. <p mod="ctrl">Pause</p> <!-- Pause -->
  124. <f mod="ctrl,shift">FastForward</f> <!-- Fwd -->
  125. <b mod="ctrl,shift">Rewind</b> <!-- Rew -->
  126. <f mod="ctrl">SkipNext</f> <!-- Skip -->
  127. <b mod="ctrl">SkipPrevious</b> <!-- Replay -->
  128. <d mod="ctrl">Info</d> <!-- MCE Details -->
  129. <f10>VolumeUp</f10> <!-- MCE Vol up -->
  130. <f9>VolumeDown</f9> <!-- MCE Vol down -->
  131. <f8>Mute</f8> <!-- MCE mute -->
  132. <g mod="ctrl">OSD</g> <!-- MCE Guide -->
  133. <m mod="ctrl">ActivateWindow(music)</m> <!-- MCE My music -->
  134. <i mod="ctrl">ActivateWindow(pictures)</i> <!-- MCE My pictures -->
  135. <e mod="ctrl">ActivateWindow(video)</e> <!-- MCE videos -->
  136. <m mod="ctrl,shift">PlayerControl(ShowVideoMenu)</m> <!-- MCE DVD menu -->
  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">Notification(MCEKeypress, Radio, 3)</a>
  142. <u mod="ctrl">Notification(MCEKeypress, DVD subtitle, 3)</u>
  143. <a mod="ctrl,shift">Notification(MCEKeypress, DVD audio, 3)</a>
  144. </keyboard>
  145. </global>
  146. <LoginScreen>
  147. <keyboard>
  148. <end>XBMC.ShutDown()</end>
  149. </keyboard>
  150. </LoginScreen>
  151. <Home>
  152. <keyboard>
  153. <i>info</i>
  154. <end>XBMC.ShutDown()</end>
  155. </keyboard>
  156. </Home>
  157. <VirtualKeyboard>
  158. <keyboard>
  159. <backspace>Backspace</backspace>
  160. </keyboard>
  161. </VirtualKeyboard>
  162. <MyFiles>
  163. <keyboard>
  164. <space>Highlight</space>
  165. <delete>Delete</delete>
  166. <m>Move</m>
  167. <r>Rename</r>
  168. </keyboard>
  169. </MyFiles>
  170. <MyMusicPlaylist>
  171. <keyboard>
  172. <space>Back</space>
  173. <delete>Delete</delete>
  174. <u>MoveItemUp</u>
  175. <d>MoveItemDown</d>
  176. </keyboard>
  177. </MyMusicPlaylist>
  178. <MyMusicPlaylistEditor>
  179. <keyboard>
  180. <u>MoveItemUp</u>
  181. <d>MoveItemDown</d>
  182. <delete>Delete</delete>
  183. </keyboard>
  184. </MyMusicPlaylistEditor>
  185. <MyMusicFiles>
  186. <keyboard>
  187. <space>Playlist</space>
  188. <q>Queue</q>
  189. <delete>Delete</delete>
  190. </keyboard>
  191. </MyMusicFiles>
  192. <MyMusicLibrary>
  193. <keyboard>
  194. <space>Playlist</space>
  195. <q>Queue</q>
  196. </keyboard>
  197. </MyMusicLibrary>
  198. <FullscreenVideo>
  199. <keyboard>
  200. <f>FastForward</f>
  201. <r>Rewind</r>
  202. <period>StepForward</period>
  203. <comma>StepBack</comma>
  204. <backspace>Fullscreen</backspace>
  205. <quote>SmallStepBack</quote>
  206. <opensquarebracket>BigStepForward</opensquarebracket>
  207. <closesquarebracket>BigStepBack</closesquarebracket>
  208. <return>OSD</return>
  209. <enter>OSD</enter>
  210. <m>OSD</m>
  211. <i>Info</i>
  212. <o>CodecInfo</o>
  213. <z>AspectRatio</z>
  214. <t>ShowSubtitles</t>
  215. <t mod="ctrl">SubtitleAlign</t>
  216. <l>NextSubtitle</l>
  217. <left>StepBack</left>
  218. <right>StepForward</right>
  219. <up>BigStepForward</up>
  220. <down>BigStepBack</down>
  221. <a>AudioDelay</a>
  222. <escape>Fullscreen</escape>
  223. <v>XBMC.ActivateWindow(Teletext)</v>
  224. <up mod="ctrl">SubtitleShiftUp</up>
  225. <down mod="ctrl">SubtitleShiftDown</down>
  226. </keyboard>
  227. </FullscreenVideo>
  228. <VideoTimeSeek>
  229. <keyboard>
  230. <return>Select</return>
  231. <enter>Select</enter>
  232. </keyboard>
  233. </VideoTimeSeek>
  234. <FullscreenInfo>
  235. <keyboard>
  236. <f>FastForward</f>
  237. <r>Rewind</r>
  238. <period>StepForward</period>
  239. <o>CodecInfo</o>
  240. <i>Back</i>
  241. <d mod="ctrl">Back</d>
  242. <m>OSD</m>
  243. </keyboard>
  244. </FullscreenInfo>
  245. <PlayerControls>
  246. <keyboard>
  247. <m>Back</m>
  248. </keyboard>
  249. </PlayerControls>
  250. <Visualisation>
  251. <keyboard>
  252. <f>FastForward</f>
  253. <r>Rewind</r>
  254. <period>SkipNext</period>
  255. <comma>SkipPrevious</comma>
  256. <return>ActivateWindow(MusicOSD)</return>
  257. <enter>ActivateWindow(MusicOSD)</enter>
  258. <m>ActivateWindow(MusicOSD)</m>
  259. <i>Info</i>
  260. <p>ActivateWindow(VisualisationPresetList)</p>
  261. <v>ActivateWindow(VisualisationSettings)</v>
  262. <n>ActivateWindow(MusicPlaylist)</n>
  263. <left>SkipPrevious</left>
  264. <right>SkipNext</right>
  265. <up>IncreaseRating</up>
  266. <down>DecreaseRating</down> <!--<back>NextPreset</back>!-->
  267. <o>CodecInfo</o>
  268. <l>LockPreset</l>
  269. <escape>FullScreen</escape>
  270. </keyboard>
  271. </Visualisation>
  272. <MusicOSD>
  273. <keyboard>
  274. <f>FastForward</f>
  275. <r>Rewind</r>
  276. <period>SkipNext</period>
  277. <comma>SkipPrevious</comma>
  278. <m>Back</m>
  279. <i>Info</i>
  280. <o>CodecInfo</o>
  281. <p>ActivateWindow(VisualisationPresetList)</p>
  282. <v>ActivateWindow(VisualisationSettings)</v>
  283. <n>ActivateWindow(MusicPlaylist)</n>
  284. </keyboard>
  285. </MusicOSD>
  286. <VisualisationSettings>
  287. <keyboard>
  288. <f>FastForward</f>
  289. <r>Rewind</r>
  290. <period>SkipNext</period>
  291. <comma>SkipPrevious</comma>
  292. <m>Back</m>
  293. <i>Info</i>
  294. <o>CodecInfo</o>
  295. <p>ActivateWindow(VisualisationPresetList)</p>
  296. <v>Back</v>
  297. <n>ActivateWindow(MusicPlaylist)</n>
  298. </keyboard>
  299. </VisualisationSettings>
  300. <VisualisationPresetList>
  301. <keyboard>
  302. <f>FastForward</f>
  303. <r>Rewind</r>
  304. <period>SkipNext</period>
  305. <comma>SkipPrevious</comma>
  306. <m>Back</m>
  307. <i>Info</i>
  308. <o>CodecInfo</o>
  309. <p>Back</p>
  310. <v>Back</v>
  311. <n>ActivateWindow(MusicPlaylist)</n>
  312. </keyboard>
  313. </VisualisationPresetList>
  314. <SlideShow>
  315. <keyboard>
  316. <zero>ZoomNormal</zero>
  317. <one>ZoomLevel1</one>
  318. <two>ZoomLevel2</two>
  319. <three>ZoomLevel3</three>
  320. <four>ZoomLevel4</four>
  321. <five>ZoomLevel5</five>
  322. <six>ZoomLevel6</six>
  323. <seven>ZoomLevel7</seven>
  324. <eight>ZoomLevel8</eight>
  325. <nine>ZoomLevel9</nine>
  326. <i>Info</i>
  327. <o>CodecInfo</o>
  328. <period>NextPicture</period>
  329. <comma>PreviousPicture</comma>
  330. <plus>ZoomIn</plus>
  331. <minus>ZoomOut</minus>
  332. <return>Rotate</return>
  333. <enter>Rotate</enter>
  334. <r>Rotate</r>
  335. </keyboard>
  336. </SlideShow>
  337. <ScreenCalibration>
  338. <keyboard>
  339. <return>NextCalibration</return>
  340. <enter>NextCalibration</enter>
  341. <d>ResetCalibration</d>
  342. <r>NextResolution</r>
  343. </keyboard>
  344. </ScreenCalibration>
  345. <GUICalibration>
  346. <keyboard>
  347. <return>NextCalibration</return>
  348. <enter>NextCalibration</enter>
  349. <d>ResetCalibration</d>
  350. </keyboard>
  351. </GUICalibration>
  352. <VideoOSD>
  353. <keyboard>
  354. <m>Back</m>
  355. <g mod="ctrl">Back</g> <!-- MCE Guide button -->
  356. <i>Info</i>
  357. <o>CodecInfo</o>
  358. </keyboard>
  359. </VideoOSD>
  360. <VideoMenu>
  361. <keyboard>
  362. <opensquarebracket>BigStepForward</opensquarebracket>
  363. <closesquarebracket>BigStepBack</closesquarebracket>
  364. <m>OSD</m>
  365. <i>Info</i>
  366. <o>CodecInfo</o>
  367. <z>AspectRatio</z>
  368. <t>ShowSubtitles</t>
  369. <l>NextSubtitle</l>
  370. <a>AudioDelay</a>
  371. <escape>Fullscreen</escape>
  372. <return>Select</return>
  373. <enter>Select</enter> <!-- backspace>Fullscreen</backspace -->
  374. </keyboard>
  375. </VideoMenu>
  376. <OSDVideoSettings>
  377. <keyboard>
  378. <i>Info</i>
  379. <o>CodecInfo</o>
  380. </keyboard>
  381. </OSDVideoSettings>
  382. <OSDAudioSettings>
  383. <keyboard>
  384. <i>Info</i>
  385. <o>CodecInfo</o>
  386. </keyboard>
  387. </OSDAudioSettings>
  388. <VideoBookmarks>
  389. <keyboard>
  390. <delete>Delete</delete>
  391. </keyboard>
  392. </VideoBookmarks>
  393. <MyVideoLibrary>
  394. <keyboard>
  395. <delete>Delete</delete>
  396. <space>Playlist</space>
  397. <w>ToggleWatched</w>
  398. </keyboard>
  399. </MyVideoLibrary>
  400. <MyVideoFiles>
  401. <keyboard>
  402. <space>Playlist</space>
  403. <q>Queue</q>
  404. <w>ToggleWatched</w>
  405. </keyboard>
  406. </MyVideoFiles>
  407. <MyVideoPlaylist>
  408. <keyboard>
  409. <space>Back</space>
  410. <delete>Delete</delete>
  411. <u>MoveItemUp</u>
  412. <d>MoveItemDown</d>
  413. </keyboard>
  414. </MyVideoPlaylist>
  415. <MyPictures>
  416. <keyboard>
  417. <delete>Delete</delete>
  418. </keyboard>
  419. </MyPictures>
  420. <ContextMenu>
  421. <keyboard>
  422. <c>Back</c>
  423. <menu>Back</menu>
  424. </keyboard>
  425. </ContextMenu>
  426. <Scripts>
  427. <keyboard>
  428. <i>info</i>
  429. </keyboard>
  430. </Scripts>
  431. <MusicInformation>
  432. <keyboard>
  433. <i>Back</i>
  434. <d mod="ctrl">Back</d>
  435. </keyboard>
  436. </MusicInformation>
  437. <MovieInformation>
  438. <keyboard>
  439. <i>Back</i>
  440. </keyboard>
  441. </MovieInformation>
  442. <PictureInfo>
  443. <keyboard>
  444. <period>NextPicture</period>
  445. <comma>PreviousPicture</comma>
  446. <i>Back</i>
  447. <d mod="ctrl">Back</d>
  448. <o>Back</o>
  449. <space>Pause</space>
  450. </keyboard>
  451. </PictureInfo>
  452. <Teletext>
  453. <keyboard>
  454. <v>Back</v>
  455. </keyboard>
  456. </Teletext>
  457. <FileBrowser>
  458. <keyboard>
  459. <space>Highlight</space>
  460. </keyboard>
  461. </FileBrowser>
  462. <ShutdownMenu>
  463. <keyboard>
  464. <s>Back</s>
  465. </keyboard>
  466. </ShutdownMenu>
  467. <AddonInformation>
  468. <keyboard>
  469. <i>Back</i>
  470. </keyboard>
  471. </AddonInformation>
  472. <AddonSettings>
  473. <keyboard>
  474. <delete>Delete</delete>
  475. </keyboard>
  476. </AddonSettings>
  477. </keymap>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement