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 -->
9 <!-- The format is: -->
11 <!-- <button>action</button> -->
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> -->
21 <!-- Note that the action can be a built-in function. -->
22 <!-- eg <B>XBMC.ActivateWindow(MyMusic)</B> -->
23 <!-- would automatically go to My Music on the press of the B button. -->
25 <!-- Joysticks / Gamepads: -->
26 <!-- See the sample PS3 controller configuration below for the format. -->
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. -->
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. -->
36 <!-- Axis Ids / Analog Controls -->
50 <left mod="ctrl">analogseekback</left>
51 <right mod="ctrl">analogseekforward</right>
52 <pageup>PageUp</pageup>
53 <pagedown>PageDown</pagedown>
54 <return>Select</return>
56 <backspace>Back</backspace>
57 <key id='65446'>Back</key>
58 <m>ActivateWindow(PlayerControls)</m>
59 <s>ActivateWindow(shutdownmenu)</s>
60 <escape>PreviousMenu</escape>
62 <menu>ContextMenu</menu>
66 <period>SkipNext</period>
67 <comma>SkipPrevious</comma>
69 <printscreen>Screenshot</printscreen>
70 <s mod="ctrl">Screenshot</s>
71 <minus>VolumeDown</minus>
73 <equals>VolumeUp</equals>
77 <three>Number3</three>
81 <seven>Number7</seven>
82 <eight>Number8</eight>
84 <numpadminus>VolumeDown</numpadminus>
85 <numpadplus>VolumeUp</numpadplus>
86 <numpadzero>Number0</numpadzero>
87 <numpadone>Number1</numpadone>
88 <numpadtwo>Number2</numpadtwo>
89 <numpadthree>Number3</numpadthree>
90 <numpadfour>Number4</numpadfour>
91 <numpadfive>Number5</numpadfive>
92 <numpadsix>Number6</numpadsix>
93 <numpadseven>Number7</numpadseven>
94 <numpadeight>Number8</numpadeight>
95 <numpadnine>Number9</numpadnine>
96 <backslash>ToggleFullScreen</backslash>
97 <home>FirstPage</home>
99 <power>ActivateWindow(shutdownmenu)</power>
100 <sleep>ActivateWindow(shutdownmenu)</sleep>
102 <e>XBMC.ActivateWindowAndFocus(MyPVR, 31,0, 10,0)</e>
103 <h>XBMC.ActivateWindowAndFocus(MyPVR, 32,0, 11,0)</h>
104 <j>XBMC.ActivateWindowAndFocus(MyPVR, 33,0, 12,0)</j>
105 <k>XBMC.ActivateWindowAndFocus(MyPVR, 34,0, 13,0)</k>
106 <b>XBMC.ActivateWindowAndFocus(MyPVR, 35,0, 14,0)</b>
107 <!-- Multimedia keyboard keys -->
108 <browser_back>Back</browser_back>
113 <browser_favorites>ActivateWindow(Favourites)</browser_favorites>
114 <browser_home>XBMC.ActivateWindow(Home)</browser_home>
115 <volume_mute>Mute</volume_mute>
116 <volume_down>VolumeDown</volume_down>
117 <volume_up>VolumeUp</volume_up>
118 <next_track>SkipNext</next_track>
119 <prev_track>SkipPrevious</prev_track>
121 <play_pause>Pause</play_pause>
122 <launch_mail></launch_mail>
123 <launch_media_select>XBMC.ActivateWindow(MyMusic)</launch_media_select>
124 <launch_app1_pc_icon>ActivateWindow(MyPrograms)</launch_app1_pc_icon>
125 <launch_app2_pc_icon>ActivateWindow(MyPrograms)</launch_app2_pc_icon>
126 <launch_file_browser/>
127 <launch_media_center/>
128 <!-- ****************************************************** -->
129 <!-- MS Media Center keyboard shortcuts sent by MCE remotes -->
130 <!-- See http://msdn.microsoft.com/en-us/library/bb189249.aspx -->
131 <p mod="ctrl,shift">Play</p> <!-- Play -->
132 <s mod="ctrl,shift">Stop</s> <!-- Stop -->
133 <p mod="ctrl">Pause</p> <!-- Pause -->
134 <f mod="ctrl,shift">FastForward</f> <!-- Fwd -->
135 <b mod="ctrl,shift">Rewind</b> <!-- Rew -->
136 <f mod="ctrl">SkipNext</f> <!-- Skip -->
137 <b mod="ctrl">SkipPrevious</b> <!-- Replay -->
138 <d mod="ctrl">Info</d> <!-- MCE Details -->
139 <f10>VolumeUp</f10> <!-- MCE Vol up -->
140 <f9>VolumeDown</f9> <!-- MCE Vol down -->
141 <f8>Mute</f8> <!-- MCE mute -->
142 <g mod="ctrl">ActivateWindowAndFocus(MyPVR, 31,0, 10,0)</g> <!-- MCE Guide -->
143 <m mod="ctrl">ActivateWindow(music)</m> <!-- MCE My music -->
144 <i mod="ctrl">ActivateWindow(pictures)</i> <!-- MCE My pictures -->
145 <e mod="ctrl">ActivateWindow(video)</e> <!-- MCE videos -->
146 <m mod="ctrl,shift">PlayerControl(ShowVideoMenu)</m> <!-- MCE DVD menu -->
147 <o mod="ctrl">ActivateWindowAndFocus(MyPVR, 34,0, 13,0)</o> <!-- MCE Recorded TV -->
148 <t mod="ctrl">ActivateWindowAndFocus(MyPVR, 32,0, 11,0)</t> <!-- MCE Live TV -->
149 <t mod="ctrl,shift">ActivateWindow(MyPVR)</t> <!-- MCE My TV -->
150 <a mod="ctrl">ActivateWindowAndFocus(MyPVR, 33,0, 12,0)</a> <!-- MCE My Radio -->
151 <!-- MCE keypresses without an obvious use in XBMC -->
152 <u mod="ctrl">Notification(MCEKeypress, DVD subtitle, 3)</u>
153 <a mod="ctrl,shift">Notification(MCEKeypress, DVD audio, 3)</a>
158 <end mod="ctrl">XBMC.ShutDown()</end>
164 <end mod="ctrl">XBMC.ShutDown()</end>
169 <backspace>Backspace</backspace>
174 <delete>Delete</delete>
181 <space>Highlight</space>
182 <delete>Delete</delete>
190 <delete>Delete</delete>
195 <MyMusicPlaylistEditor>
199 <delete>Delete</delete>
201 </MyMusicPlaylistEditor>
204 <space>Playlist</space>
206 <delete>Delete</delete>
211 <space>Playlist</space>
219 <period>StepForward</period>
220 <comma>StepBack</comma>
221 <backspace>Fullscreen</backspace>
222 <quote>SmallStepBack</quote>
223 <opensquarebracket>BigStepForward</opensquarebracket>
224 <closesquarebracket>BigStepBack</closesquarebracket>
232 <t mod="ctrl">SubtitleAlign</t>
234 <left>StepBack</left>
235 <right>StepForward</right>
236 <up>BigStepForward</up>
237 <down>BigStepBack</down>
239 <escape>Fullscreen</escape>
241 <v>XBMC.ActivateWindow(Teletext)</v>
242 <up mod="ctrl">SubtitleShiftUp</up>
243 <down mod="ctrl">SubtitleShiftDown</down>
244 <pageup>SkipNext</pageup>
245 <pagedown>SkipPrevious</pagedown>
250 <return>Select</return>
251 <enter>Select</enter>
258 <period>StepForward</period>
261 <d mod="ctrl">Back</d>
274 <period>SkipNext</period>
275 <comma>SkipPrevious</comma>
276 <backspace>Fullscreen</backspace>
281 <p>ActivateWindow(VisualisationPresetList)</p>
282 <v>ActivateWindow(VisualisationSettings)</v>
283 <n>ActivateWindow(MusicPlaylist)</n>
284 <left>SkipPrevious</left>
285 <right>SkipNext</right>
286 <up>IncreaseRating</up>
287 <down>DecreaseRating</down> <!--<back>NextPreset</back>!-->
290 <escape>FullScreen</escape>
291 <g>XBMC.ActivateWindow(PVROSDGuide)</g>
292 <c>XBMC.ActivateWindow(PVROSDChannels)</c>
299 <period>SkipNext</period>
300 <comma>SkipPrevious</comma>
304 <p>ActivateWindow(VisualisationPresetList)</p>
305 <v>ActivateWindow(VisualisationSettings)</v>
306 <n>ActivateWindow(MusicPlaylist)</n>
309 <VisualisationSettings>
313 <period>SkipNext</period>
314 <comma>SkipPrevious</comma>
318 <p>ActivateWindow(VisualisationPresetList)</p>
320 <n>ActivateWindow(MusicPlaylist)</n>
322 </VisualisationSettings>
323 <VisualisationPresetList>
327 <period>SkipNext</period>
328 <comma>SkipPrevious</comma>
334 <n>ActivateWindow(MusicPlaylist)</n>
336 </VisualisationPresetList>
339 <zero>ZoomNormal</zero>
340 <one>ZoomLevel1</one>
341 <two>ZoomLevel2</two>
342 <three>ZoomLevel3</three>
343 <four>ZoomLevel4</four>
344 <five>ZoomLevel5</five>
345 <six>ZoomLevel6</six>
346 <seven>ZoomLevel7</seven>
347 <eight>ZoomLevel8</eight>
348 <nine>ZoomLevel9</nine>
351 <period>NextPicture</period>
352 <comma>PreviousPicture</comma>
354 <minus>ZoomOut</minus>
355 <return>Rotate</return>
356 <enter>Rotate</enter>
362 <return>NextCalibration</return>
363 <enter>NextCalibration</enter>
364 <d>ResetCalibration</d>
365 <r>NextResolution</r>
370 <return>NextCalibration</return>
371 <enter>NextCalibration</enter>
372 <d>ResetCalibration</d>
378 <g mod="ctrl">Back</g> <!-- MCE Guide button -->
385 <opensquarebracket>BigStepForward</opensquarebracket>
386 <closesquarebracket>BigStepBack</closesquarebracket>
394 <escape>Fullscreen</escape>
395 <return>Select</return>
396 <enter>Select</enter> <!-- backspace>Fullscreen</backspace -->
397 <pageup>SkipNext</pageup>
398 <pagedown>SkipPrevious</pagedown>
415 <delete>Delete</delete>
420 <delete>Delete</delete>
421 <space>Playlist</space>
427 <space>Playlist</space>
435 <delete>Delete</delete>
442 <delete>Delete</delete>
459 <d mod="ctrl">Back</d>
469 <period>NextPicture</period>
470 <comma>PreviousPicture</comma>
472 <d mod="ctrl">Back</d>
484 <backspace>Close</backspace>
489 <backspace>Close</backspace>
494 <left>PreviousChannelGroup</left>
495 <right>NextChannelGroup</right>
497 <down>ChannelDown</down>
502 <backspace>Close</backspace>
503 <escape>Close</escape>
509 <backspace>Close</backspace>
510 <escape>Close</escape>
515 <backspace>Close</backspace>
516 <escape>Close</escape>
521 <backspace>Close</backspace>
522 <escape>Close</escape>
527 <backspace>PreviousMenu</backspace>
532 <space>Highlight</space>
547 <delete>Delete</delete>