Advertisement
Handaloo

Keyboard.xml

Jan 14th, 2013
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.46 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. <ctrl-o>ContextMenu</ctrl-o>
  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. <f14>VolumeDown</f14>
  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. <f13>Mute</f13>
  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 -->q
  129. <f10>VolumeUp</f10> <!-- MCE Vol up -->
  130. <f14>VolumeDown</f14> <!-- MCE Vol down -->
  131. <f13>Mute</f13> <!-- MCE mute -->
  132. <g mod="ctrl-o">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-o">ContextMenu</o>
  139. <t mod="ctrl">ContextMenu</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. <f1 mod="ctrl,alt">Notification(Key, Green, 3)</f1> <!-- Green -->
  145. <f2 mod="ctrl,alt">Notification(Key, Orange, 3)</f2> <!-- Orange -->
  146. <f3 mod="ctrl,alt">Notification(Key, Blue, 3)</f3> <!-- Blue -->
  147. <f4 mod="ctrl,alt">Notification(Key, Yellow, 3)</f4> <!-- Yellow -->
  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. /bin/bash: ZZ: command not found
  164. </keyboard>
  165. </VirtualKeyboard>
  166. <MyFiles>
  167. <keyboard>
  168. <space>Highlight</space>
  169. <delete>Delete</delete>
  170. <m>Move</m>
  171. <r>Rename</r>
  172. </keyboard>
  173. </MyFiles>
  174. <MyMusicPlaylist>
  175. <keyboard>
  176. <space>Back</space>
  177. <delete>Delete</delete>
  178. <u>MoveItemUp</u>
  179. <d>MoveItemDown</d>
  180. </keyboard>
  181. </MyMusicPlaylist>
  182. <MyMusicPlaylistEditor>
  183. <keyboard>
  184. <u>MoveItemUp</u>
  185. <d>MoveItemDown</d>
  186. <delete>Delete</delete>
  187. </keyboard>
  188. </MyMusicPlaylistEditor>
  189. <MyMusicFiles>
  190. <keyboard>
  191. <space>Playlist</space>
  192. <q>Queue</q>
  193. <delete>Delete</delete>
  194. </keyboard>
  195. </MyMusicFiles>
  196. <MyMusicLibrary>
  197. <keyboard>
  198. <space>Playlist</space>
  199. <q>Queue</q>
  200. </keyboard>
  201. </MyMusicLibrary>
  202. <FullscreenVideo>
  203. <keyboard>
  204. <f>FastForward</f>
  205. <r>Rewind</r>
  206. <period>StepForward</period>
  207. <comma>StepBack</comma>
  208. <backspace>Fullscreen</backspace>
  209. <quote>SmallStepBack</quote>
  210. <opensquarebracket>BigStepForward</opensquarebracket>
  211. <closesquarebracket>BigStepBack</closesquarebracket>
  212. <return>OSD</return>
  213. <enter>OSD</enter>
  214. <m>OSD</m>
  215. <i>Info</i>
  216. <o>CodecInfo</o>
  217. <z>AspectRatio</z>
  218. <t>ShowSubtitles</t>
  219. <t mod="ctrl">SubtitleAlign</t>
  220. <l>NextSubtitle</l>
  221. <left>StepBack</left>
  222. <right>StepForward</right>
  223. <up>BigStepForward</up>
  224. <down>BigStepBack</down>
  225. <a>AudioDelay</a>
  226. <escape>Fullscreen</escape>
  227. <v>XBMC.ActivateWindow(Teletext)</v>
  228. <up mod="ctrl">SubtitleShiftUp</up>
  229. <down mod="ctrl">SubtitleShiftDown</down>
  230. <pageup>SkipNext</pageup>
  231. <pagedown>SkipPrevious</pagedown>
  232. </keyboard>
  233. </FullscreenVideo>
  234. <VideoTimeSeek>
  235. <keyboard>
  236. <return>Select</return>
  237. <enter>Select</enter>
  238. </keyboard>
  239. </VideoTimeSeek>
  240. <FullscreenInfo>
  241. <keyboard>
  242. <f>FastForward</f>
  243. <r>Rewind</r>
  244. <period>StepForward</period>
  245. <o>CodecInfo</o>
  246. <i>Back</i>
  247. <d mod="ctrl">Back</d>
  248. <m>OSD</m>
  249. </keyboard>
  250. </FullscreenInfo>
  251. <PlayerControls>
  252. <keyboard>
  253. <m>Back</m>
  254. </keyboard>
  255. </PlayerControls>
  256. <Visualisation>
  257. <keyboard>
  258. <f>FastForward</f>
  259. <r>Rewind</r>
  260. <period>SkipNext</period>
  261. <comma>SkipPrevious</comma>
  262. <return>ActivateWindow(MusicOSD)</return>
  263. <enter>ActivateWindow(MusicOSD)</enter>
  264. <m>ActivateWindow(MusicOSD)</m>
  265. <i>Info</i>
  266. <p>ActivateWindow(VisualisationPresetList)</p>
  267. <v>ActivateWindow(VisualisationSettings)</v>
  268. <n>ActivateWindow(MusicPlaylist)</n>
  269. <left>SkipPrevious</left>
  270. <right>SkipNext</right>
  271. <up>IncreaseRating</up>
  272. <down>DecreaseRating</down> <!--<back>NextPreset</back>!-->
  273. <o>CodecInfo</o>
  274. <l>LockPreset</l>
  275. <escape>FullScreen</escape>
  276. </keyboard>
  277. </Visualisation>
  278. <MusicOSD>
  279. <keyboard>
  280. <f>FastForward</f>
  281. <r>Rewind</r>
  282. <period>SkipNext</period>
  283. <comma>SkipPrevious</comma>
  284. <m>Back</m>
  285. <i>Info</i>
  286. <o>CodecInfo</o>
  287. <p>ActivateWindow(VisualisationPresetList)</p>
  288. <v>ActivateWindow(VisualisationSettings)</v>
  289. <n>ActivateWindow(MusicPlaylist)</n>
  290. </keyboard>
  291. </MusicOSD>
  292. <VisualisationSettings>
  293. <keyboard>
  294. <f>FastForward</f>
  295. <r>Rewind</r>
  296. <period>SkipNext</period>
  297. <comma>SkipPrevious</comma>
  298. <m>Back</m>
  299. <i>Info</i>
  300. <o>CodecInfo</o>
  301. <p>ActivateWindow(VisualisationPresetList)</p>
  302. <v>Back</v>
  303. <n>ActivateWindow(MusicPlaylist)</n>
  304. </keyboard>
  305. </VisualisationSettings>
  306. <VisualisationPresetList>
  307. <keyboard>
  308. <f>FastForward</f>
  309. <r>Rewind</r>
  310. <period>SkipNext</period>
  311. <comma>SkipPrevious</comma>
  312. <m>Back</m>
  313. <i>Info</i>
  314. <o>CodecInfo</o>
  315. <p>Back</p>
  316. <v>Back</v>
  317. <n>ActivateWindow(MusicPlaylist)</n>
  318. </keyboard>
  319. </VisualisationPresetList>
  320. <SlideShow>
  321. <keyboard>
  322. <zero>ZoomNormal</zero>
  323. <one>ZoomLevel1</one>
  324. <two>ZoomLevel2</two>
  325. <three>ZoomLevel3</three>
  326. <four>ZoomLevel4</four>
  327. <five>ZoomLevel5</five>
  328. <six>ZoomLevel6</six>
  329. <seven>ZoomLevel7</seven>
  330. <eight>ZoomLevel8</eight>
  331. <nine>ZoomLevel9</nine>
  332. <i>Info</i>
  333. <o>CodecInfo</o>
  334. <period>NextPicture</period>
  335. <comma>PreviousPicture</comma>
  336. <plus>ZoomIn</plus>
  337. <minus>ZoomOut</minus>
  338. <return>Rotate</return>
  339. <enter>Rotate</enter>
  340. <r>Rotate</r>
  341. </keyboard>
  342. </SlideShow>
  343. <ScreenCalibration>
  344. <keyboard>
  345. <return>NextCalibration</return>
  346. <enter>NextCalibration</enter>
  347. <d>ResetCalibration</d>
  348. <r>NextResolution</r>
  349. </keyboard>
  350. </ScreenCalibration>
  351. <GUICalibration>
  352. <keyboard>
  353. <return>NextCalibration</return>
  354. <enter>NextCalibration</enter>
  355. <d>ResetCalibration</d>
  356. </keyboard>
  357. </GUICalibration>
  358. <VideoOSD>
  359. <keyboard>
  360. <m>Back</m>
  361. <g mod="ctrl">Back</g> <!-- MCE Guide button -->
  362. <i>Info</i>
  363. <o>CodecInfo</o>
  364. </keyboard>
  365. </VideoOSD>
  366. <VideoMenu>
  367. <keyboard>
  368. <opensquarebracket>BigStepForward</opensquarebracket>
  369. <closesquarebracket>BigStepBack</closesquarebracket>
  370. <m>OSD</m>
  371. <i>Info</i>
  372. <o>CodecInfo</o>
  373. <z>AspectRatio</z>
  374. <t>ShowSubtitles</t>
  375. <l>NextSubtitle</l>
  376. <a>AudioDelay</a>
  377. <escape>Fullscreen</escape>
  378. <return>Select</return>
  379. <enter>Select</enter> <!-- backspace>Fullscreen</backspace -->
  380. <pageup>SkipNext</pageup>
  381. <pagedown>SkipPrevious</pagedown>
  382. </keyboard>
  383. </VideoMenu>
  384. <OSDVideoSettings>
  385. <keyboard>
  386. <i>Info</i>
  387. <o>CodecInfo</o>
  388. </keyboard>
  389. </OSDVideoSettings>
  390. <OSDAudioSettings>
  391. <keyboard>
  392. <i>Info</i>
  393. <o>CodecInfo</o>
  394. </keyboard>
  395. </OSDAudioSettings>
  396. <VideoBookmarks>
  397. <keyboard>
  398. <delete>Delete</delete>
  399. </keyboard>
  400. </VideoBookmarks>
  401. <MyVideoLibrary>
  402. <keyboard>
  403. <delete>Delete</delete>
  404. <space>Playlist</space>
  405. <w>ToggleWatched</w>
  406. </keyboard>
  407. </MyVideoLibrary>
  408. <MyVideoFiles>
  409. <keyboard>
  410. <space>Playlist</space>
  411. <q>Queue</q>
  412. <w>ToggleWatched</w>
  413. </keyboard>
  414. </MyVideoFiles>
  415. <MyVideoPlaylist>
  416. <keyboard>
  417. <space>Back</space>
  418. <delete>Delete</delete>
  419. <u>MoveItemUp</u>
  420. <d>MoveItemDown</d>
  421. </keyboard>
  422. </MyVideoPlaylist>
  423. <MyPictures>
  424. <keyboard>
  425. <delete>Delete</delete>
  426. </keyboard>
  427. </MyPictures>
  428. <ContextMenu>
  429. <keyboard>
  430. <c>Back</c>
  431. <menu>Back</menu>
  432. </keyboard>
  433. </ContextMenu>
  434. <Scripts>
  435. <keyboard>
  436. <i>info</i>
  437. </keyboard>
  438. </Scripts>
  439. <MusicInformation>
  440. <keyboard>
  441. <i>Back</i>
  442. <d mod="ctrl">Back</d>
  443. </keyboard>
  444. </MusicInformation>
  445. <MovieInformation>
  446. <keyboard>
  447. <i>Back</i>
  448. </keyboard>
  449. </MovieInformation>
  450. <PictureInfo>
  451. <keyboard>
  452. <period>NextPicture</period>
  453. <comma>PreviousPicture</comma>
  454. <i>Back</i>
  455. <d mod="ctrl">Back</d>
  456. <o>Back</o>
  457. <space>Pause</space>
  458. </keyboard>
  459. </PictureInfo>
  460. <Teletext>
  461. <keyboard>
  462. <v>Back</v>
  463. </keyboard>
  464. </Teletext>
  465. <FileBrowser>
  466. <keyboard>
  467. <space>Highlight</space>
  468. </keyboard>
  469. </FileBrowser>
  470. <ShutdownMenu>
  471. <keyboard>
  472. <s>Back</s>
  473. </keyboard>
  474. </ShutdownMenu>
  475. <AddonInformation>
  476. <keyboard>
  477. <i>Back</i>
  478. </keyboard>
  479. </AddonInformation>
  480. <AddonSettings>
  481. <keyboard>
  482. <delete>Delete</delete>
  483. </keyboard>
  484. </AddonSettings>
  485. </keymap>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement