sync with linuxport @ 18013
[xbmc:xbmc-antiquated.git] / system / Keymap.xml
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 <!-- To find out the OBC's of your remote, try enabling the <displayremotecodes> tag in AdvancedSettings.xml -->
20
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. -->
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 <keymap>
40   <global>
41     <remote>
42       <three>VolumeUp</three>
43       <six>VolumeDown</six>
44       <nine>Mute</nine>
45       <play>Play</play>
46       <pause>Pause</pause>
47       <stop>Stop</stop>
48       <forward>FastForward</forward>
49       <reverse>Rewind</reverse>
50       <left>Left</left>
51       <right>Right</right>
52       <up>Up</up>
53       <down>Down</down>
54       <select>Select</select>
55       <pageplus>PageUp</pageplus>
56       <pageminus>PageDown</pageminus>
57       <back>ParentDir</back>
58       <menu>PreviousMenu</menu>
59       <title>ContextMenu</title>
60       <info>Info</info>
61       <skipplus>SkipNext</skipplus>
62       <skipminus>SkipPrevious</skipminus>
63       <display>FullScreen</display>
64       <start>PreviousMenu</start>
65       <record>Screenshot</record>
66       <volumeplus>VolumeUp</volumeplus>
67       <volumeminus>VolumeDown</volumeminus>
68       <mute>Mute</mute>
69       <power>XBMC.ShutDown()</power>
70       <myvideo>XBMC.ActivateWindow(MyVideos)</myvideo>
71       <mymusic>XBMC.ActivateWindow(MyMusic)</mymusic>
72       <mypictures>XBMC.ActivateWindow(MyPictures)</mypictures>
73       <mytv>XBMC.ActivateWindow(Home)</mytv>
74     </remote>
75
76     <gamepad>
77       <A>Select</A>
78       <B>ParentDir</B>
79       <X>FullScreen</X>
80       <Y>Queue</Y>
81       <white>ContextMenu</white>
82       <black></black>
83       <start>XBMC.ActivateWindow(PlayerControls)</start>
84       <back>PreviousMenu</back>
85       <dpadleft>Left</dpadleft>
86       <dpadright>Right</dpadright>
87       <dpadup>Up</dpadup>
88       <dpaddown>Down</dpaddown>
89       <leftthumbbutton>Screenshot</leftthumbbutton>
90       <rightthumbbutton>XBMC.ActivateWindow(ShutdownMenu)</rightthumbbutton>
91       <leftanalogtrigger>ScrollUp</leftanalogtrigger>
92       <rightanalogtrigger>ScrollDown</rightanalogtrigger>
93       <rightthumbstickleft>AnalogSeekBack</rightthumbstickleft>
94       <rightthumbstickright>AnalogSeekForward</rightthumbstickright>
95       <rightthumbstickup>VolumeUp</rightthumbstickup>
96       <rightthumbstickdown>VolumeDown</rightthumbstickdown>
97     </gamepad>
98
99     <joystick name="Microsoft Xbox Controller S">
100       <altname>Mad Catz MicroCON</altname>
101       <altname>Logitech Xbox Cordless Controller</altname>
102       <button id="1">Select</button>
103       <button id="2">ParentDir</button>
104       <button id="3"></button>
105       <button id="4">FullScreen</button>
106       <button id="5">Queue</button>
107       <button id="6">ContextMenu</button>
108       <button id="7"></button>
109       <button id="8"></button>
110       <button id="9">XBMC.ActivateWindow(PlayerControls)</button>
111       <button id="10"></button>
112       <button id="11">Screenshot</button>
113       <button id="12">XBMC.ActivateWindow(ShutdownMenu)</button>
114       <button id="13">Up</button>
115       <button id="14">Right</button>
116       <button id="15">Down</button>
117       <button id="16">Left</button>
118       <button id="17">PreviousMenu</button>
119       <axis id="5" limit="-1">VolumeDown</axis>
120       <axis id="5" limit="+1">VolumeUp</axis>
121       <axis id="4" limit="-1">AnalogSeekBack</axis>
122       <axis id="4" limit="+1">AnalogSeekForward</axis>
123       <axis id="3" limit="0">ScrollUp</axis>
124       <axis id="6" limit="0">ScrollDown</axis>
125     </joystick>
126
127     <joystick name="Sony PLAYSTATION(R)3 Controller">   
128       <altname>PS3 Controller</altname>
129       <altname>Sony Computer Entertainment Wireless Controller</altname>
130       <button id="15">Select</button>                   
131       <button id="14">ParentDir</button>                
132       <button id="16">FullScreen</button>
133       <button id="13">Queue</button>
134       <button id="11">PreviousMenu</button>
135       <button id="8">Left</button>
136       <button id="6">Right</button>
137       <button id="5">Up</button>
138       <button id="7">Down</button>
139       <button id="2">Screenshot</button>
140       <button id="3">XBMC.ActivateWindow(ShutdownMenu)</button>
141       <button id="4">XBMC.ActivateWindow(PlayerControls)</button>
142       <axis id="4" limit="+1">VolumeDown</axis>
143       <axis id="4" limit="-1">VolumeUp</axis>
144       <axis id="1" limit="+1">AnalogSeekForward</axis>
145       <axis id="1" limit="-1">AnalogSeekBack</axis>
146       <axis id="13" limit="+1">ScrollUp</axis>
147       <axis id="14" limit="+1">ScrollDown</axis>
148     </joystick>
149
150     <joystick name="WiiRemote">
151       <button id="1">Up</button>
152       <button id="2">Down</button>
153       <button id="3">Left</button>
154       <button id="4">Right</button>
155       <button id="5">Select</button>
156       <button id="6">PreviousMenu</button>
157       <button id="7">VolumeDown</button>
158       <button id="8">XBMC.ActivateWindow(Home)</button>
159       <button id="9">VolumeUp</button>
160       <button id="10">ContextMenu</button>
161       <button id="11">XBMC.ActivateWindow(PlayerControls)</button>
162     </joystick>
163
164     <joystick name="AppleRemote">
165       <!-- plus       --> <button id="1">Up</button>
166       <!-- minus      --> <button id="2">Down</button>
167       <!-- left       --> <button id="3">Left</button>
168       <!-- right      --> <button id="4">Right</button>
169       <!-- play/pause --> <button id="5">Select</button>
170       <!-- menu       --> <button id="6">PreviousMenu</button>
171
172       <!-- hold play  --> <button id="7">Fullscreen</button>
173       <!-- hold menu  --> <button id="8">ContextMenu</button>
174       <!-- hold left  --> <button id="9">BigStepBack</button>
175       <!-- hold right --> <button id="10">BigStepForward</button>
176     </joystick>
177
178     <keyboard>
179       <p>Play</p>
180       <q>Queue</q>
181       <f>FastForward</f>
182       <r>Rewind</r>
183       <left>Left</left>
184       <right>Right</right>
185       <up>Up</up>
186       <down>Down</down>
187       <pageup>PageUp</pageup>
188       <pagedown>PageDown</pagedown>
189       <return>Select</return>
190       <enter>Select</enter>
191       <backspace>ParentDir</backspace>
192       <m>ActivateWindow(PlayerControls)</m>
193       <s>ActivateWindow(shutdownmenu)</s>
194       <escape>PreviousMenu</escape>
195       <i>Info</i>
196       <menu>ContextMenu</menu>
197       <c>ContextMenu</c>
198       <space>Pause</space>
199       <x>Stop</x>
200       <period>SkipNext</period>
201       <comma>SkipPrevious</comma>
202       <tab>FullScreen</tab>
203       <printscreen>Screenshot</printscreen>
204       <minus>VolumeDown</minus>
205       <plus>VolumeUp</plus>
206       <zero>Number0</zero>
207       <one>Number1</one>
208       <two>Number2</two>
209       <three>Number3</three>
210       <four>Number4</four>
211       <five>Number5</five>
212       <six>Number6</six>
213       <seven>Number7</seven>
214       <eight>Number8</eight>
215       <nine>Number9</nine>
216       <backslash>ToggleFullScreen</backslash>
217       <browser_home>XBMC.ActivateWindow(Home)</browser_home>
218       <browser_favorites>ActivateWindow(Favourites)</browser_favorites>
219       <browser_refresh></browser_refresh>
220       <browser_search></browser_search>
221       <launch_app1_pc_icon>ActivateWindow(MyPrograms)</launch_app1_pc_icon>
222       <launch_media_select>XBMC.ActivateWindow(MyMusic)</launch_media_select>
223       <play_pause>Pause</play_pause>
224       <stop>Stop</stop>
225       <volume_up>VolumeUp</volume_up>
226       <volume_mute>Mute</volume_mute>
227       <volume_down>VolumeDown</volume_down>
228       <next_track>SkipNext</next_track>
229       <prev_track>SkipPrevious</prev_track>
230       <launch_mail></launch_mail>
231       <key id="61620"></key> <!-- same as above, launch_mail, but using button code (based on vkey id) -->
232       <home>FirstPage</home>
233       <end>LastPage</end>
234       <key id="65446">ParentDir</key>
235       <key id="65459">Play</key>
236     </keyboard>
237   </global>
238
239
240   <Home>
241     <gamepad>
242       <black>XBMC.Skin.ToggleSetting(HomeViewToggle)</black>
243     </gamepad>
244
245     <joystick name="Microsoft Xbox Controller S">
246       <altname>Mad Catz MicroCON</altname>
247       <altname>Logitech Xbox Cordless Controller</altname>
248       <button id="3">XBMC.Skin.ToggleSetting(HomeViewToggle)</button>
249     </joystick>
250
251     <joystick name="WiiRemote">
252       <button id="8">Fullscreen</button>
253       <button id="10">XBMC.ActivateWindow(Favourites)</button>
254       <button id="11">XBMC.ActivateWindow(ShutdownMenu)</button>
255     </joystick>
256
257     <joystick name="AppleRemote">
258       <button id="6">Fullscreen</button>
259     </joystick>
260
261     <remote>
262       <menu>XBMC.Skin.ToggleSetting(HomeViewToggle)</menu>
263       <info>XBMC.ActivateWindow(SystemInfo)</info>
264       <clear>XBMC.ActivateWindow(Weather)</clear>
265       <hash>XBMC.ActivateWindow(Settings)</hash>
266     </remote>
267
268     <keyboard>
269       <i>info</i>
270       <end>XBMC.ShutDown()</end>
271     </keyboard>
272   </Home>
273   
274
275   <MyFiles>
276     <gamepad>
277       <Y>Highlight</Y>
278     </gamepad>
279
280     <joystick name="Microsoft Xbox Controller S">
281       <altname>Mad Catz MicroCON</altname>
282       <altname>Logitech Xbox Cordless Controller</altname>
283       <button id="5">Highlight</button>
284     </joystick>
285
286     <joystick name="WiiRemote">
287       <button id="7">Move</button>
288       <button id="9">Copy</button>
289       <button id="11">Highlight</button>
290     </joystick>
291
292     <remote>
293       <zero>Delete</zero>
294       <one>Highlight</one>
295       <four>Copy</four>
296       <seven>Move</seven>
297       <clear>Delete</clear>
298       <three>VolumeUp</three>
299       <six>VolumeDown</six>
300       <nine>Mute</nine>
301     </remote>
302
303     <keyboard>
304       <space>Highlight</space>
305       <delete>Delete</delete>
306       <m>Move</m>
307       <r>Rename</r>
308     </keyboard>
309   </MyFiles>
310   
311
312   <MyMusicPlaylist>
313     <gamepad>
314       <Y>Delete</Y>
315       <black>Playlist</black> <!-- Close playlist -->
316       <back>Playlist</back>   <!-- Close playlist -->
317       <B>Playlist</B>         <!-- Close playlist -->
318     </gamepad>
319
320     <joystick name="Microsoft Xbox Controller S">
321       <altname>Mad Catz MicroCON</altname>
322       <altname>Logitech Xbox Cordless Controller</altname>
323       <button id="2">Playlist</button>
324       <button id="3">Playlist</button>
325       <button id="17">Playlist</button>
326       <button id="5">Delete</button>
327      </joystick>
328
329     <joystick name="WiiRemote">
330       <button id="6">Playlist</button>
331       <button id="7">MoveItemUp</button>
332       <button id="9">MoveItemDown</button>
333       <button id="11">Delete</button>
334     </joystick>
335
336     <joystick name="AppleRemote">
337       <button id="6">Playlist</button>
338     </joystick>
339
340     <remote>
341       <back>Playlist</back> <!-- Close playlist -->
342       <clear>Delete</clear>
343       <zero>Delete</zero>
344       <two>MoveItemUp</two>
345       <five>MoveItemDown</five>
346       <three>VolumeUp</three>
347       <six>VolumeDown</six>
348       <nine>Mute</nine>
349     </remote>
350
351     <keyboard>
352       <space>Playlist</space> <!-- Close playlist -->
353       <delete>Delete</delete>
354       <u>MoveItemUp</u>
355       <d>MoveItemDown</d>
356       <backspace>Playlist</backspace> <!-- Close playlist -->
357     </keyboard>
358   </MyMusicPlaylist>
359
360   <MyMusicPlaylistEditor>
361     <keyboard>
362       <u>MoveItemUp</u>
363       <d>MoveItemDown</d>
364       <delete>Delete</delete>
365     </keyboard>
366
367     <joystick name="WiiRemote">
368       <button id="6">Playlist</button>
369       <button id="7">MoveItemUp</button>
370       <button id="9">MoveItemDown</button>
371       <button id="11">Delete</button>
372     </joystick>
373
374     <joystick name="AppleRemote">
375       <button id="5">ContextMenu</button> <!-- FIXME? -->
376       <button id="6">Playlist</button>
377     </joystick>
378
379     <gamepad>
380       <Y>Queue</Y>
381     </gamepad>
382     <remote>
383       <zero>Queue</zero>
384     </remote>
385   </MyMusicPlaylistEditor>
386   
387   <MyMusicFiles>
388     <gamepad>
389       <Y>Queue</Y>
390       <black>Playlist</black>
391     </gamepad>
392
393     <joystick name="Microsoft Xbox Controller S">
394       <altname>Mad Catz MicroCON</altname>
395       <altname>Logitech Xbox Cordless Controller</altname>
396       <button id="3">Playlist</button>
397       <button id="5">Queue</button>
398      </joystick>
399
400     <joystick name="WiiRemote">
401       <button id="6">ParentDir</button>
402       <button id="11">Playlist</button>
403     </joystick>
404
405     <joystick name="AppleRemote">
406       <button id="6">ParentDir</button>
407     </joystick>
408
409      <remote>
410       <zero>Queue</zero>
411       <star>Queue</star>
412       <three>VolumeUp</three>
413       <six>VolumeDown</six>
414       <nine>Mute</nine>
415     </remote>
416
417     <keyboard>
418       <space>Playlist</space>
419       <q>Queue</q>
420     </keyboard>
421   </MyMusicFiles>
422
423
424   <MyMusicLibrary>
425     <gamepad>
426       <Y>Queue</Y>
427       <black>Playlist</black>
428     </gamepad>
429
430     <joystick name="Microsoft Xbox Controller S">
431       <altname>Mad Catz MicroCON</altname>
432       <altname>Logitech Xbox Cordless Controller</altname>
433       <button id="3">Playlist</button>
434       <button id="5">Queue</button>
435      </joystick>
436
437     <joystick name="WiiRemote">
438       <button id="6">ParentDir</button>
439       <button id="11">Playlist</button>
440     </joystick>
441
442     <joystick name="AppleRemote">
443       <button id="6">ParentDir</button>
444     </joystick>
445
446      <remote>
447       <zero>Queue</zero>
448       <star>Queue</star>
449       <three>VolumeUp</three>
450       <six>VolumeDown</six>
451       <nine>Mute</nine>
452     </remote>
453
454     <keyboard>
455       <space>Playlist</space>
456       <q>Queue</q>
457     </keyboard>
458   </MyMusicLibrary>
459
460
461   <FullscreenVideo>
462     <remote>
463       <left>StepBack</left>
464       <right>StepForward</right>
465       <up>BigStepForward</up>
466       <down>BigStepBack</down>
467       <back>SmallStepBack</back>
468       <menu>OSD</menu>
469       <start>OSD</start>
470       <title>CodecInfo</title>
471       <info>Info</info>
472       <enter>AspectRatio</enter>
473       <select>AspectRatio</select>
474    </remote>
475
476     <gamepad>
477       <A>Pause</A>
478       <B>Stop</B>
479       <Y>AspectRatio</Y>
480       <black>CodecInfo</black>
481       <white>Info</white>
482       <back>SmallStepBack</back>
483       <start>OSD</start>
484       <leftanalogtrigger>AnalogRewind</leftanalogtrigger>
485       <rightanalogtrigger>AnalogFastForward</rightanalogtrigger>
486       <dpadleft>StepBack</dpadleft>
487       <dpadright>StepForward</dpadright>
488       <dpadup>BigStepForward</dpadup>
489       <dpaddown>BigStepBack</dpaddown>
490     </gamepad>
491
492     <joystick name="Microsoft Xbox Controller S">
493       <altname>Mad Catz MicroCON</altname>
494       <altname>Logitech Xbox Cordless Controller</altname>
495       <button id="1">Pause</button>
496       <button id="2">Stop</button>
497       <button id="3">CodecInfo</button>
498       <button id="5">AspectRatio</button>
499       <button id="6">Info</button>
500       <button id="9">OSD</button>
501       <button id="13">BigStepForward</button>
502       <button id="14">StepForward</button>
503       <button id="15">BigStepBack</button>
504       <button id="16">StepBack</button>
505       <button id="17">SmallStepBack</button>
506       <axis id="3" limit="0">AnalogRewind</axis>
507       <axis id="6" limit="0">AnalogFastForward</axis>
508     </joystick>
509
510     <joystick name="WiiRemote">
511       <button id="1">Pause</button>
512       <button id="2">Stop</button>
513       <button id="3">StepBack</button>
514       <button id="4">StepForward</button>
515       <button id="5">OSD</button>
516       <button id="6">Info</button>
517       <button id="10">CodecInfo</button>
518       <button id="11">AspectRatio</button>
519     </joystick>
520
521     <joystick name="AppleRemote">
522       <button id="1">VolumeUp</button>
523       <button id="2">VolumeDown</button>
524       <button id="3">StepBack</button>
525       <button id="4">StepForward</button>
526       <button id="5">OSD</button>
527       <button id="6">Fullscreen</button>
528     </joystick>
529
530     <keyboard>
531       <f>FastForward</f>
532       <r>Rewind</r>
533       <period>StepForward</period>
534       <comma>StepBack</comma>
535       <backspace>Fullscreen</backspace>
536       <quote>SmallStepBack</quote>
537       <opensquarebracket>BigStepForward</opensquarebracket>
538       <closesquarebracket>BigStepBack</closesquarebracket>
539       <return>OSD</return>
540       <enter>OSD</enter>
541       <m>OSD</m>
542       <i>Info</i>
543       <o>CodecInfo</o>
544       <z>AspectRatio</z>
545       <t>ShowSubtitles</t>
546       <l>NextSubtitle</l>      
547       <left>StepBack</left>
548       <right>StepForward</right>
549       <up>BigStepForward</up>
550       <down>BigStepBack</down>
551       <escape>Fullscreen</escape>
552     </keyboard>
553   </FullscreenVideo>
554
555
556   <FullscreenInfo>
557     <remote>
558       <title>CodecInfo</title>
559       <info>Close</info>
560       <menu>OSD</menu>
561    </remote>
562
563     <gamepad>
564       <B>Close</B>
565       <start>OSD</start>
566       <black>CodecInfo</black>
567       <white>Close</white>
568       <leftanalogtrigger>AnalogRewind</leftanalogtrigger>
569       <rightanalogtrigger>AnalogFastForward</rightanalogtrigger>
570     </gamepad>
571
572     <joystick name="Microsoft Xbox Controller S">
573       <altname>Mad Catz MicroCON</altname>
574       <altname>Logitech Xbox Cordless Controller</altname>
575       <button id="2">Close</button>
576       <button id="3">CodecInfo</button>
577       <button id="6">Close</button>
578       <button id="9">OSD</button>
579       <axis id="3" limit="0">AnalogRewind</axis>
580       <axis id="6" limit="0">AnalogFastForward</axis>
581     </joystick>
582
583     <joystick name="WiiRemote">
584       <button id="5">CodecInfo</button>
585       <button id="6">Close</button>
586     </joystick>
587
588     <joystick name="AppleRemote">
589       <button id="6">Close</button>
590     </joystick>
591
592     <keyboard>
593       <f>FastForward</f>
594       <r>Rewind</r>
595       <period>StepForward</period>
596       <backspace>Close</backspace>
597       <o>CodecInfo</o>
598       <i>Close</i>
599       <m>OSD</m>
600     </keyboard>
601   </FullscreenInfo>
602
603   <PlayerControls>
604     <gamepad>
605       <back>Close</back>
606       <start>Close</start>
607     </gamepad>
608
609     <keyboard>
610       <escape>Close</escape>
611       <m>close</m>
612     </keyboard>
613
614     <joystick name="Microsoft Xbox Controller S">
615       <altname>Mad Catz MicroCON</altname>
616       <altname>Logitech Xbox Cordless Controller</altname>
617       <button id="9">Close</button>
618       <button id="17">Close</button>
619     </joystick>
620
621     <joystick name="WiiRemote">
622       <button id="6">Close</button>
623     </joystick>
624
625     <joystick name="AppleRemote">
626       <button id="6">Close</button>
627     </joystick>
628
629     <remote>
630       <menu>Close</menu>
631     </remote>
632   </PlayerControls>
633
634
635   <Visualisation>
636     <remote>
637       <left>PreviousPreset</left>
638       <right>NextPreset</right>
639       <up>IncreaseRating</up>
640       <down>DecreaseRating</down>
641       <back>LockPreset</back>
642       <title>CodecInfo</title>
643       <select>XBMC.ActivateWindow(VisualisationPresetList)</select>
644       <menu>XBMC.ActivateWindow(MusicOSD)</menu>
645       <start>XBMC.ActivateWindow(MusicOSD)</start>
646       <info>Info</info>
647     </remote>
648
649     <gamepad>
650       <A>Pause</A>
651       <B>Stop</B>
652       <Y>XBMC.ActivateWindow(VisualisationPresetList)</Y>
653       <black>CodecInfo</black>
654       <white>Info</white>
655       <start>XBMC.ActivateWindow(MusicOSD)</start>
656       <back>LockPreset</back>
657       <leftanalogtrigger>AnalogRewind</leftanalogtrigger>
658       <rightanalogtrigger>AnalogFastForward</rightanalogtrigger>
659       <dpadleft>SkipPrevious</dpadleft>
660       <dpadright>SkipNext</dpadright>
661       <dpadup>NextPreset</dpadup>
662       <dpaddown>PreviousPreset</dpaddown>
663     </gamepad>
664
665     <joystick name="Microsoft Xbox Controller S">
666       <altname>Mad Catz MicroCON</altname>
667       <altname>Logitech Xbox Cordless Controller</altname>
668       <button id="1">Pause</button>
669       <button id="2">Stop</button>
670       <button id="3">CodecInfo</button>
671       <button id="5">XBMC.ActivateWindow(VisualisationPresetList)</button>
672       <button id="6">Info</button>
673       <button id="9">XBMC.ActivateWindow(MusicOSD)</button>
674       <button id="13">NextPreset</button>
675       <button id="14">SkipNext</button>
676       <button id="15">PreviousPreset</button>
677       <button id="16">SkipPrevious</button>
678       <axis id="3" limit="0">AnalogRewind</axis>
679       <axis id="6" limit="0">AnalogFastForward</axis>
680    </joystick>
681
682     <joystick name="WiiRemote">
683       <button id="1">Pause</button>
684       <button id="2">Stop</button>
685       <button id="3">SkipNext</button>
686       <button id="4">SkipPrevious</button>
687       <button id="5">XBMC.ActivateWindow(MusicOSD)</button>
688       <button id="6">Info</button>
689       <button id="10">IncreaseRating</button>
690       <button id="11">DecreaseRating</button>
691     </joystick>
692
693     <joystick name="AppleRemote">
694       <button id="1">VolumeUp</button>
695       <button id="2">VolumeDown</button>
696       <button id="3">SkipPrevious</button>
697       <button id="4">SkipNext</button>
698       <button id="5">XBMC.ActivateWindow(MusicOSD)</button>
699       <button id="6">Fullscreen</button>
700     </joystick>
701
702     <keyboard>
703       <f>FastForward</f>
704       <r>Rewind</r>
705       <period>SkipNext</period>
706       <comma>SkipPrevious</comma>
707       <return>ActivateWindow(MusicOSD)</return>
708       <enter>ActivateWindow(MusicOSD)</enter>
709       <m>ActivateWindow(MusicOSD)</m>
710       <i>Info</i>
711       <p>ActivateWindow(VisualisationPresetList)</p>
712       <v>ActivateWindow(VisualisationSettings)</v>
713       <n>ActivateWindow(MusicPlaylist)</n>
714       <left>SkipPrevious</left>
715       <right>SkipNext</right>
716       <up>IncreaseRating</up>
717       <down>DecreaseRating</down>
718       <!--<back>NextPreset</back>!-->
719       <o>CodecInfo</o>
720       <l>LockPreset</l>
721       <escape>FullScreen</escape>
722     </keyboard>
723   </Visualisation>
724
725   <MusicOSD>
726     <gamepad>
727       <back>Close</back>
728       <start>Close</start>
729       <black>CodecInfo</black>
730       <white>Info</white>
731       <leftanalogtrigger>AnalogRewind</leftanalogtrigger>
732       <rightanalogtrigger>AnalogFastForward</rightanalogtrigger>
733     </gamepad>
734
735     <joystick name="Microsoft Xbox Controller S">
736       <altname>Mad Catz MicroCON</altname>
737       <altname>Logitech Xbox Cordless Controller</altname>
738       <button id="17">Close</button>
739       <button id="19">Close</button>
740       <button id="3">CodecInfo</button>
741       <button id="6">Info</button>
742     </joystick>
743
744     <joystick name="WiiRemote">
745       <button id="6">Close</button>
746       <button id="10">CodecInfo</button>
747       <button id="11">Info</button>
748     </joystick>
749
750     <joystick name="AppleRemote">
751       <button id="6">Close</button>
752     </joystick>
753
754     <remote>
755       <menu>Close</menu>
756       <title>Info</title>
757       <info>CodecInfo</info>
758     </remote>
759
760     <keyboard>
761       <escape>Close</escape>
762       <f>FastForward</f>
763       <r>Rewind</r>
764       <period>SkipNext</period>
765       <comma>SkipPrevious</comma>
766       <m>Close</m>
767       <i>Info</i>
768       <o>CodecInfo</o>
769       <p>ActivateWindow(VisualisationPresetList)</p>
770       <v>ActivateWindow(VisualisationSettings)</v>
771       <n>ActivateWindow(MusicPlaylist)</n>
772     </keyboard>
773   </MusicOSD>
774
775
776   <VisualisationSettings>
777     <gamepad>
778       <B>Close</B>
779       <back>Close</back>
780       <start>Close</start>
781       <leftanalogtrigger>AnalogRewind</leftanalogtrigger>
782       <rightanalogtrigger>AnalogFastForward</rightanalogtrigger>
783     </gamepad>
784
785     <joystick name="Microsoft Xbox Controller S">
786       <altname>Mad Catz MicroCON</altname>
787       <altname>Logitech Xbox Cordless Controller</altname>
788       <button id="2">Close</button>
789       <button id="3">Close</button>
790       <button id="9">Close</button>
791     </joystick>
792
793     <joystick name="WiiRemote">
794       <button id="6">Close</button>
795       <button id="10">XBMC.ActivateWindow(VisualisationPresetList)</button>
796       <button id="11">XBMC.ActivateWindow(MusicPlaylist)</button>
797     </joystick>
798
799     <remote>
800       <menu>Close</menu>
801     </remote>
802
803     <joystick name="AppleRemote">
804       <button id="6">Close</button>
805     </joystick>
806
807     <keyboard>
808       <escape>Close</escape>
809       <f>FastForward</f>
810       <r>Rewind</r>
811       <period>SkipNext</period>
812       <comma>SkipPrevious</comma>
813       <m>Close</m>
814       <i>Info</i>
815       <o>CodecInfo</o>
816       <p>ActivateWindow(VisualisationPresetList)</p>
817       <v>Close</v>
818       <n>ActivateWindow(MusicPlaylist)</n>
819     </keyboard>
820   </VisualisationSettings>
821
822
823   <VisualisationPresetList>
824     <gamepad>
825       <B>Close</B>
826       <back>Close</back>
827       <start>Close</start>
828       <Y>Close</Y>
829       <leftanalogtrigger>AnalogRewind</leftanalogtrigger>
830       <rightanalogtrigger>AnalogFastForward</rightanalogtrigger>
831     </gamepad>
832
833     <joystick name="Microsoft Xbox Controller S">
834       <altname>Mad Catz MicroCON</altname>
835       <altname>Logitech Xbox Cordless Controller</altname>
836       <button id="2">Close</button>
837       <button id="3">Close</button>
838       <button id="5">Close</button>
839       <button id="9">Close</button>
840     </joystick>
841
842     <joystick name="WiiRemote">
843       <button id="6">Close</button>
844     </joystick>
845
846     <remote>
847       <menu>Close</menu>
848     </remote>
849
850     <joystick name="AppleRemote">
851       <button id="6">Close</button>
852     </joystick>
853
854     <keyboard>
855       <escape>Close</escape>
856       <f>FastForward</f>
857       <r>Rewind</r>
858       <period>SkipNext</period>
859       <comma>SkipPrevious</comma>
860       <m>Close</m>
861       <i>Info</i>
862       <o>CodecInfo</o>
863       <p>Close</p>
864       <v>Close</v>
865       <n>ActivateWindow(MusicPlaylist)</n>
866     </keyboard>
867   </VisualisationPresetList>
868
869
870   <SlideShow>
871     <gamepad>
872       <A>Pause</A>
873       <B>Stop</B>
874       <Y>Rotate</Y>
875       <X>ZoomNormal</X>
876       <black>CodecInfo</black>
877       <white>Info</white>
878       <righttrigger>NextPicture</righttrigger>
879       <lefttrigger>PreviousPicture</lefttrigger>
880       <dpadleft>PreviousPicture</dpadleft>
881       <dpadright>NextPicture</dpadright>
882       <dpadup>ZoomIn</dpadup>
883       <dpaddown>ZoomOut</dpaddown>
884       <leftthumbstick>AnalogMove</leftthumbstick>
885       <back>Stop</back>
886     </gamepad>
887
888     <joystick name="Microsoft Xbox Controller S">
889       <altname>Mad Catz MicroCON</altname>
890       <altname>Logitech Xbox Cordless Controller</altname>
891       <button id="1">Pause</button>
892       <button id="2">Stop</button>
893       <button id="3">CodecInfo</button>
894       <button id="4">ZoomNormal</button>
895       <button id="5">Rotate</button>
896       <button id="6">Info</button>
897       <button id="13">ZoomIn</button>
898       <button id="14">NextPicture</button>
899       <button id="15">ZoomOut</button>
900       <button id="16">PreviousPicture</button>
901       <button id="17">Stop</button>
902     </joystick>
903
904     <joystick name="WiiRemote">
905       <button id="1">Pause</button>
906       <button id="2">Stop</button>
907       <button id="3">PreviousPicture</button>
908       <button id="4">NextPicture</button>
909       <button id="5">CodecInfo</button>
910       <button id="6">Info</button>
911       <button id="10">ZoomIn</button>
912       <button id="11">ZoomOut</button>
913     </joystick>
914
915     <joystick name="AppleRemote">
916       <button id="1">ZoomIn</button>
917       <button id="2">ZoomOut</button>
918       <button id="3">PreviousPicture</button>
919       <button id="4">NextPicture</button>
920       <button id="5">Info</button>
921       <button id="6">Stop</button>
922     </joystick>
923
924     <remote>
925       <zero>ZoomNormal</zero>
926       <one>ZoomLevel1</one>
927       <two>ZoomLevel2</two>
928       <three>ZoomLevel3</three>
929       <four>ZoomLevel4</four>
930       <five>ZoomLevel5</five>
931       <six>ZoomLevel6</six>
932       <seven>ZoomLevel7</seven>
933       <eight>ZoomLevel8</eight>
934       <nine>ZoomLevel9</nine>
935       <info>CodecInfo</info>
936       <skipplus>NextPicture</skipplus>
937       <skipminus>PreviousPicture</skipminus>
938       <title>Info</title>
939       <select>Rotate</select>
940       <back>PreviousMenu</back>
941     </remote>
942
943     <keyboard>
944       <zero>ZoomNormal</zero>
945       <one>ZoomLevel1</one>
946       <two>ZoomLevel2</two>
947       <three>ZoomLevel3</three>
948       <four>ZoomLevel4</four>
949       <five>ZoomLevel5</five>
950       <six>ZoomLevel6</six>
951       <seven>ZoomLevel7</seven>
952       <eight>ZoomLevel8</eight>
953       <nine>ZoomLevel9</nine>
954       <i>Info</i>
955       <o>CodecInfo</o>
956       <period>NextPicture</period>
957       <comma>PreviousPicture</comma>
958       <plus>ZoomIn</plus>
959       <minus>ZoomOut</minus>
960       <r>Rotate</r>
961       <backspace>PreviousMenu</backspace>
962     </keyboard>
963   </SlideShow>
964
965
966   <ScreenCalibration>
967     <gamepad>
968       <leftthumbstick>AnalogMove</leftthumbstick>
969       <A>NextCalibration</A>
970       <black>ResetCalibration</black>
971       <white>NextResolution</white>
972       <B>PreviousMenu</B>
973     </gamepad>
974
975     <joystick name="Microsoft Xbox Controller S">
976       <altname>Mad Catz MicroCON</altname>
977       <altname>Logitech Xbox Cordless Controller</altname>
978       <button id="1">NextCalibration</button>
979       <button id="3">ResetCalibration</button>
980       <button id="6">NextResolution</button>
981       <button id="2">PreviousMenu</button>
982     </joystick>
983
984     <joystick name="WiiRemote">
985       <button id="5">NextCalibration</button>
986       <button id="10">NextResolution</button>
987       <button id="11">ResetResolution</button>
988     </joystick>
989
990     <joystick name="AppleRemote">
991       <button id="5">NextCalibration</button>
992     </joystick>
993
994     <remote>
995       <select>NextCalibration</select>
996       <enter>NextCalibration</enter>
997       <zero>ResetCalibration</zero>
998       <display>NextResolution</display>
999       <xbox>NextResolution</xbox>
1000     </remote>
1001
1002     <keyboard>
1003       <return>NextCalibration</return>
1004       <enter>NextCalibration</enter>
1005       <d>ResetCalibration</d>
1006       <r>NextResolution</r>
1007     </keyboard>
1008   </ScreenCalibration>
1009
1010
1011   <GUICalibration>
1012     <gamepad>
1013       <leftthumbstick>AnalogMove</leftthumbstick>
1014       <A>NextCalibration</A>
1015       <black>ResetCalibration</black>
1016       <B>PreviousMenu</B>
1017     </gamepad>
1018
1019     <joystick name="Microsoft Xbox Controller S">
1020       <altname>Mad Catz MicroCON</altname>
1021       <altname>Logitech Xbox Cordless Controller</altname>
1022       <button id="1">NextCalibration</button>
1023       <button id="3">ResetCalibration</button>
1024       <button id="6">NextResolution</button>
1025       <button id="2">PreviousMenu</button>
1026     </joystick>
1027
1028     <remote>
1029       <select>NextCalibration</select>
1030       <enter>NextCalibration</enter>
1031       <zero>ResetCalibration</zero>
1032     </remote>
1033
1034     <keyboard>
1035       <return>NextCalibration</return>
1036       <enter>NextCalibration</enter>
1037       <d>ResetCalibration</d>
1038     </keyboard>
1039   </GUICalibration>
1040
1041
1042   <SelectDialog>
1043     <gamepad>
1044       <back>Close</back>
1045     </gamepad>
1046
1047     <joystick name="Microsoft Xbox Controller S">
1048       <altname>Mad Catz MicroCON</altname>
1049       <altname>Logitech Xbox Cordless Controller</altname>
1050       <button id="17">Close</button>
1051     </joystick>
1052
1053     <joystick name="WiiRemote">
1054       <button id="6">Close</button>
1055     </joystick>
1056
1057     <joystick name="AppleRemote">
1058       <button id="6">Close</button>
1059     </joystick>
1060
1061     <remote>
1062       <back>Close</back>
1063     </remote>
1064
1065     <keyboard>
1066       <backspace>Close</backspace>
1067       <escape>Close</escape>
1068     </keyboard>
1069   </SelectDialog>
1070   
1071
1072   <VideoOSD>
1073     <gamepad>
1074       <start>Close</start>
1075       <back>PreviousMenu</back>
1076       <B>PreviousMenu</B>
1077       <black>CodecInfo</black>
1078       <white>Info</white>
1079       <leftanalogtrigger>AnalogRewind</leftanalogtrigger>
1080       <rightanalogtrigger>AnalogFastForward</rightanalogtrigger>
1081     </gamepad>
1082
1083     <joystick name="Microsoft Xbox Controller S">
1084       <altname>Mad Catz MicroCON</altname>
1085       <altname>Logitech Xbox Cordless Controller</altname>
1086       <button id="9">Close</button>
1087       <button id="17">PreviousMenu</button>
1088       <button id="2">PreviousMenu</button>
1089     </joystick>
1090
1091     <joystick name="WiiRemote">
1092       <button id="6">Close</button>
1093     </joystick>
1094
1095     <joystick name="AppleRemote">
1096       <button id="6">Close</button>
1097     </joystick>
1098
1099     <remote>
1100       <back>PreviousMenu</back>
1101       <menu>Close</menu>
1102       <start>Close</start>
1103     </remote>
1104
1105     <keyboard>
1106       <backspace>Close</backspace>
1107       <escape>Close</escape>
1108       <m>Close</m>
1109       <i>Info</i>
1110       <o>CodecInfo</o>
1111     </keyboard>
1112   </VideoOSD>
1113
1114   <VideoMenu>
1115     <gamepad>
1116       <Y>AspectRatio</Y>
1117       <B>Stop</B>
1118       <start>OSD</start>
1119       <back>PreviousMenu</back>
1120       <white>Info</white>
1121       <black>CodecInfo</black>
1122       <leftanalogtrigger>AnalogRewind</leftanalogtrigger>
1123       <rightanalogtrigger>AnalogFastForward</rightanalogtrigger>      
1124     </gamepad>
1125
1126     <joystick name="Microsoft Xbox Controller S">
1127       <altname>Mad Catz MicroCON</altname>
1128       <altname>Logitech Xbox Cordless Controller</altname>
1129       <button id="5">AspectRatio</button>
1130       <button id="2">Stop</button>
1131       <button id="9">OSD</button>
1132       <button id="17">PreviousMenu</button>
1133       <button id="6">Info</button>
1134       <button id="3">CodecInfo</button>
1135     </joystick>
1136
1137     <joystick name="WiiRemote">
1138       <button id="5">OSD</button>
1139       <button id="10">Info</button>
1140       <button id="11">AspectRatio</button>
1141     </joystick>
1142
1143     <joystick name="AppleRemote">
1144       <button id="5">OSD</button>
1145     </joystick>
1146
1147     <remote>
1148       <menu>OSD</menu>
1149       <back>PreviousMenu</back>
1150       <info>Info</info>
1151       <title>CodecInfo</title>
1152       <zero>Number0</zero>
1153       <one>Number1</one>
1154       <two>Number2</two>
1155       <three>Number3</three>
1156       <four>Number4</four>
1157       <five>Number5</five>
1158       <six>Number6</six>
1159       <seven>Number7</seven>
1160       <eight>Number8</eight>
1161       <nine>Number9</nine>
1162     </remote>
1163
1164     <keyboard>
1165       <return>Select</return>
1166       <enter>Select</enter>
1167       <backspace>PreviousMenu</backspace>
1168     </keyboard>
1169   </VideoMenu>
1170
1171
1172   <OSDVideoSettings>
1173     <gamepad>
1174       <X></X>
1175       <Y>AspectRatio</Y>
1176       <B>Close</B>
1177       <back>Close</back>
1178       <start>Close</start>
1179       <black>CodecInfo</black>
1180       <white>Info</white>
1181       <leftanalogtrigger>AnalogRewind</leftanalogtrigger>
1182       <rightanalogtrigger>AnalogFastForward</rightanalogtrigger>
1183     </gamepad>
1184
1185     <joystick name="Microsoft Xbox Controller S">
1186       <altname>Mad Catz MicroCON</altname>
1187       <altname>Logitech Xbox Cordless Controller</altname>
1188       <button id="4"></button>
1189       <button id="5">AspectRatio</button>
1190       <button id="2">Close</button>
1191       <button id="17">Close</button>
1192       <button id="19">Close</button>
1193     </joystick>
1194
1195     <joystick name="WiiRemote">
1196       <button id="6">Close</button>
1197     </joystick>
1198
1199     <joystick name="AppleRemote">
1200       <button id="6">Close</button>
1201     </joystick>
1202
1203     <remote>
1204       <back>Close</back>
1205       <menu>Close</menu>
1206       <start>Close</start>
1207     </remote>
1208
1209     <keyboard>
1210       <backspace>Close</backspace>
1211       <escape>Close</escape>
1212       <i>Info</i>
1213       <o>CodecInfo</o>
1214     </keyboard>
1215   </OSDVideoSettings>
1216
1217   <OSDAudioSettings>
1218     <gamepad>
1219       <X></X>
1220       <Y>AspectRatio</Y>
1221       <B>Close</B>
1222       <back>Close</back>
1223       <start>Close</start>
1224       <black>CodecInfo</black>
1225       <white>Info</white>
1226       <leftanalogtrigger>AnalogRewind</leftanalogtrigger>
1227       <rightanalogtrigger>AnalogFastForward</rightanalogtrigger>
1228     </gamepad>
1229
1230     <joystick name="Microsoft Xbox Controller S">
1231       <altname>Mad Catz MicroCON</altname>
1232       <altname>Logitech Xbox Cordless Controller</altname>
1233       <button id="4"></button>
1234       <button id="5">AspectRatio</button>
1235       <button id="2">Close</button>
1236       <button id="17">Close</button>
1237       <button id="19">Close</button>
1238     </joystick>
1239
1240     <joystick name="WiiRemote">
1241       <button id="6">Close</button>
1242     </joystick>
1243
1244     <joystick name="AppleRemote">
1245       <button id="6">Close</button>
1246     </joystick>
1247
1248     <remote>
1249       <back>Close</back>
1250       <menu>Close</menu>
1251       <start>Close</start>
1252     </remote>
1253
1254     <keyboard>
1255       <backspace>Close</backspace>
1256       <escape>Close</escape>
1257       <i>Info</i>
1258       <o>CodecInfo</o>
1259     </keyboard>
1260   </OSDAudioSettings>
1261
1262   <VideoBookmarks>
1263     <gamepad>
1264       <X></X>
1265       <Y>Delete</Y>
1266       <B>Close</B>
1267       <back>Close</back>
1268       <start>Close</start>
1269       <leftanalogtrigger>AnalogRewind</leftanalogtrigger>
1270       <rightanalogtrigger>AnalogFastForward</rightanalogtrigger>
1271     </gamepad>
1272
1273     <joystick name="Microsoft Xbox Controller S">
1274       <altname>Mad Catz MicroCON</altname>
1275       <altname>Logitech Xbox Cordless Controller</altname>
1276       <button id="4"></button>
1277       <button id="5">Delete</button>
1278       <button id="2">Close</button>
1279       <button id="17">Close</button>
1280       <button id="19">Close</button>
1281     </joystick>
1282
1283     <joystick name="WiiRemote">
1284       <button id="6">Close</button>
1285       <button id="11">Delete</button>
1286     </joystick>
1287
1288     <joystick name="AppleRemote">
1289       <button id="6">Close</button>
1290     </joystick>
1291
1292     <remote>
1293       <back>Close</back>
1294       <menu>Close</menu>
1295       <start>Close</start>
1296       <zero>Delete</zero>
1297     </remote>
1298
1299     <keyboard>
1300       <backspace>Close</backspace>
1301       <escape>Close</escape>
1302     </keyboard>
1303   </VideoBookmarks>
1304   
1305
1306   <MyVideoLibrary>
1307     <gamepad>
1308       <black>Delete</black>
1309     </gamepad>
1310
1311     <joystick name="Microsoft Xbox Controller S">
1312       <altname>Mad Catz MicroCON</altname>
1313       <altname>Logitech Xbox Cordless Controller</altname>
1314       <button id="3">Delete</button>
1315     </joystick>
1316
1317     <joystick name="WiiRemote">
1318       <button id="6">ParentDir</button>
1319       <button id="11">Playlist</button>
1320     </joystick>
1321
1322     <joystick name="AppleRemote">
1323       <button id="6">ParentDir</button>
1324     </joystick>
1325
1326     <remote>
1327       <zero>Queue</zero>
1328       <clear>Delete</clear>
1329       <three>VolumeUp</three>
1330       <six>VolumeDown</six>
1331       <nine>Mute</nine>
1332     </remote>
1333
1334     <keyboard>
1335       <delete>Delete</delete>
1336       <space>Playlist</space>
1337       <w>ToggleWatched</w>
1338     </keyboard>
1339   </MyVideoLibrary>
1340
1341
1342   <MyVideoFiles>
1343     <gamepad>
1344       <Y>Queue</Y>
1345       <black>Playlist</black>
1346     </gamepad>
1347
1348     <joystick name="Microsoft Xbox Controller S">
1349       <altname>Mad Catz MicroCON</altname>
1350       <altname>Logitech Xbox Cordless Controller</altname>
1351       <button id="5">Queue</button>
1352       <button id="3">Playlist</button>
1353     </joystick>
1354
1355     <joystick name="WiiRemote">
1356       <button id="6">ParentDir</button>
1357       <button id="11">Playlist</button>
1358     </joystick>
1359
1360     <joystick name="AppleRemote">
1361       <button id="6">ParentDir</button>
1362     </joystick>
1363
1364     <remote>
1365       <zero>Queue</zero>
1366       <star>Queue</star>
1367       <three>VolumeUp</three>
1368       <six>VolumeDown</six>
1369       <nine>Mute</nine>
1370     </remote>
1371
1372     <keyboard>
1373       <space>Playlist</space>
1374       <q>Queue</q>
1375     </keyboard>
1376   </MyVideoFiles>
1377
1378
1379   <MyVideoPlaylist>
1380     <gamepad>
1381       <Y>Delete</Y>
1382       <black>Playlist</black> <!-- Close playlist -->
1383       <back>Playlist</back>   <!-- Close playlist -->
1384       <B>Playlist</B>
1385     </gamepad>
1386
1387     <joystick name="Microsoft Xbox Controller S">
1388       <altname>Mad Catz MicroCON</altname>
1389       <altname>Logitech Xbox Cordless Controller</altname>
1390       <button id="5">Delete</button>
1391       <button id="3">Playlist</button>
1392       <button id="17">Playlist</button>
1393       <button id="2">Playlist</button>
1394     </joystick>
1395
1396     <joystick name="WiiRemote">
1397       <button id="6">Playlist</button>
1398       <button id="7">MoveItemDown</button>
1399       <button id="9">MoveItemUp</button>
1400       <button id="11">Delete</button>
1401     </joystick>
1402
1403     <joystick name="AppleRemote">
1404       <button id="6">Playlist</button>
1405     </joystick>
1406
1407     <remote>
1408       <back>Playlist</back> <!-- Close playlist -->
1409       <clear>Delete</clear>
1410       <zero>Delete</zero>
1411       <two>MoveItemUp</two>
1412       <five>MoveItemDown</five>
1413       <three>VolumeUp</three>
1414       <six>VolumeDown</six>
1415       <nine>Mute</nine>
1416     </remote>
1417
1418     <keyboard>
1419       <backspace>Playlist</backspace> <!-- Close playlist -->
1420       <space>Playlist</space> <!-- Close playlist -->
1421       <delete>Delete</delete>
1422       <u>MoveItemUp</u>
1423       <d>MoveItemDown</d>
1424     </keyboard>
1425   </MyVideoPlaylist>
1426
1427
1428   <VirtualKeyboard>
1429     <gamepad>
1430       <start>Enter</start>
1431       <B>BackSpace</B>
1432       <Y>Shift</Y>
1433       <X>Symbols</X>
1434       <lefttrigger>CursorLeft</lefttrigger>
1435       <righttrigger>CursorRight</righttrigger>
1436     </gamepad>
1437
1438     <joystick name="Microsoft Xbox Controller S">
1439       <altname>Mad Catz MicroCON</altname>
1440       <altname>Logitech Xbox Cordless Controller</altname>
1441       <button id="9">Enter</button>
1442       <button id="2">BackSpace</button>
1443       <button id="5">Shift</button>
1444       <button id="4">Symbols</button>
1445     </joystick>
1446
1447     <joystick name="WiiRemote">
1448       <button id="6">Shift</button>
1449       <button id="7">CursorLeft</button>
1450       <button id="9">CursorRight</button>
1451       <button id="10">Symbols</button>
1452       <button id="11">BackSpace</button>
1453     </joystick>
1454
1455
1456     <joystick name="AppleRemote">
1457       <button id="6">Close</button>
1458     </joystick>
1459
1460     <remote>
1461       <back>BackSpace</back>
1462       <star>Shift</star>
1463       <hash>Symbols</hash>
1464       <zero>Number0</zero>
1465       <one>Number1</one>
1466       <two>Number2</two>
1467       <three>Number3</three>
1468       <four>Number4</four>
1469       <five>Number5</five>
1470       <six>Number6</six>
1471       <seven>Number7</seven>
1472       <eight>Number8</eight>
1473       <nine>Number9</nine>
1474       <pageminus>CursorLeft</pageminus>
1475       <pageplus>CursorRight</pageplus>
1476     </remote>
1477   </VirtualKeyboard>
1478
1479
1480   <ContextMenu>
1481     <gamepad>
1482       <white>Close</white>
1483       <B>Close</B>
1484     </gamepad>
1485
1486     <joystick name="Microsoft Xbox Controller S">
1487       <altname>Mad Catz MicroCON</altname>
1488       <altname>Logitech Xbox Cordless Controller</altname>
1489       <button id="6">Close</button>
1490       <button id="2">Close</button>
1491     </joystick>
1492
1493     <joystick name="WiiRemote">
1494       <button id="6">Close</button>
1495     </joystick>
1496
1497     <remote>
1498       <title>Close</title>
1499       <back>Close</back>
1500     </remote>
1501
1502     <joystick name="AppleRemote">
1503       <button id="6">Close</button>
1504     </joystick>
1505
1506     <keyboard>
1507       <c>Close</c>
1508       <menu>Close</menu>
1509       <backspace>Close</backspace>
1510     </keyboard>
1511   </ContextMenu>
1512
1513   <FileStackingDialog>
1514     <remote>
1515       <back>Close</back>
1516     </remote>
1517
1518     <joystick name="AppleRemote">
1519       <button id="6">Close</button>
1520     </joystick>
1521
1522     <keyboard>
1523       <backspace>Close</backspace>
1524     </keyboard>
1525   </FileStackingDialog>
1526
1527
1528
1529
1530   <Scripts>
1531     <gamepad>
1532       <black>XBMC.ActivateWindow(ScriptsDebugInfo)</black>
1533     </gamepad>
1534
1535     <joystick name="Microsoft Xbox Controller S">
1536       <altname>Mad Catz MicroCON</altname>
1537       <altname>Logitech Xbox Cordless Controller</altname>
1538       <button id="3">XBMC.ActivateWindow(ScriptsDebugInfo)</button>
1539     </joystick>
1540
1541     <joystick name="WiiRemote">
1542       <button id="11">XBMC.ActivateWindow(ScriptsDebugInfo)</button>
1543     </joystick>
1544
1545     <remote>
1546       <info>XBMC.ActivateWindow(ScriptsDebugInfo)</info>
1547     </remote>
1548
1549     <keyboard>
1550       <i>XBMC.ActivateWindow(ScriptsDebugInfo)</i>
1551     </keyboard>
1552   </Scripts>
1553
1554
1555   <ScriptsDebugInfo>
1556     <gamepad>
1557       <white>Info</white> <!-- clears debug python info -->
1558     </gamepad>
1559
1560     <remote>
1561       <info>Info</info> <!-- clears debug python info -->
1562     </remote>
1563
1564     <keyboard>
1565       <i>Info</i> <!-- clears debug python info -->
1566     </keyboard>
1567
1568     <joystick name="WiiRemote">
1569       <button id="11">Info</button>
1570     </joystick>
1571   </ScriptsDebugInfo>
1572
1573
1574   <NumericInput>
1575     <gamepad>
1576       <B>BackSpace</B>
1577       <start>Enter</start>
1578       <lefttrigger>SkipPrevious</lefttrigger>
1579       <righttrigger>SkipNext</righttrigger>
1580     </gamepad>
1581
1582     <joystick name="Microsoft Xbox Controller S">
1583       <altname>Mad Catz MicroCON</altname>
1584       <altname>Logitech Xbox Cordless Controller</altname>
1585       <button id="2">BackSpace</button>
1586       <button id="9">Enter</button>
1587     </joystick>
1588
1589     <joystick name="WiiRemote">
1590       <button id="7">SkipPrevious</button>
1591       <button id="9">SkipNext</button>
1592       <button id="10">Enter</button>
1593       <button id="11">BackSpace</button>
1594     </joystick>
1595
1596     <remote>
1597       <zero>Number0</zero>
1598       <one>Number1</one>
1599       <two>Number2</two>
1600       <three>Number3</three>
1601       <four>Number4</four>
1602       <five>Number5</five>
1603       <six>Number6</six>
1604       <seven>Number7</seven>
1605       <eight>Number8</eight>
1606       <nine>Number9</nine>
1607       <back>BackSpace</back>
1608     </remote>
1609   </NumericInput>
1610
1611
1612   <GamepadInput>
1613     <gamepad>
1614       <start>Stop</start> <!-- Enter Password -->
1615     </gamepad>
1616
1617     <joystick name="Microsoft Xbox Controller S">
1618       <altname>Mad Catz MicroCON</altname>
1619       <altname>Logitech Xbox Cordless Controller</altname>
1620       <button id="9">Stop</button> <!-- Enter Password -->
1621     </joystick>
1622   </GamepadInput>
1623
1624   <Weather>
1625     <gamepad>
1626       <B>PreviousMenu</B>
1627     </gamepad>
1628
1629     <joystick name="Microsoft Xbox Controller S">
1630       <altname>Mad Catz MicroCON</altname>
1631       <altname>Logitech Xbox Cordless Controller</altname>
1632       <button id="2">PreviousMenu</button>
1633     </joystick>
1634
1635     <remote>
1636       <back>PreviousMenu</back>
1637     </remote>
1638
1639     <keyboard>
1640       <backspace>PreviousMenu</backspace>
1641       <key id="65446">PreviousMenu</key>
1642     </keyboard>
1643   </Weather>
1644
1645   <Settings>
1646     <gamepad>
1647       <B>PreviousMenu</B>
1648     </gamepad>
1649
1650     <joystick name="Microsoft Xbox Controller S">
1651       <altname>Mad Catz MicroCON</altname>
1652       <altname>Logitech Xbox Cordless Controller</altname>
1653       <button id="2">PreviousMenu</button>
1654     </joystick>
1655
1656     <remote>
1657       <back>PreviousMenu</back>
1658     </remote>
1659
1660     <keyboard>
1661       <backspace>PreviousMenu</backspace>
1662     </keyboard>
1663   </Settings>
1664
1665   <MyPicturesSettings>
1666     <gamepad>
1667       <B>PreviousMenu</B>
1668     </gamepad>
1669
1670     <joystick name="Microsoft Xbox Controller S">
1671       <altname>Mad Catz MicroCON</altname>
1672       <altname>Logitech Xbox Cordless Controller</altname>
1673       <button id="2">PreviousMenu</button>
1674     </joystick>
1675
1676     <remote>
1677       <back>PreviousMenu</back>
1678     </remote>
1679
1680     <keyboard>
1681       <backspace>PreviousMenu</backspace>
1682     </keyboard>
1683   </MyPicturesSettings>
1684
1685   <MyProgramsSettings>
1686     <gamepad>
1687       <B>PreviousMenu</B>
1688     </gamepad>
1689
1690     <joystick name="Microsoft Xbox Controller S">
1691       <altname>Mad Catz MicroCON</altname>
1692       <altname>Logitech Xbox Cordless Controller</altname>
1693       <button id="2">PreviousMenu</button>
1694     </joystick>
1695
1696     <remote>
1697       <back>PreviousMenu</back>
1698     </remote>
1699
1700     <keyboard>
1701       <backspace>PreviousMenu</backspace>
1702     </keyboard>
1703   </MyProgramsSettings>
1704
1705   <MyWeatherSettings>
1706     <gamepad>
1707       <B>PreviousMenu</B>
1708     </gamepad>
1709
1710     <joystick name="Microsoft Xbox Controller S">
1711       <altname>Mad Catz MicroCON</altname>
1712       <altname>Logitech Xbox Cordless Controller</altname>
1713       <button id="2">PreviousMenu</button>
1714     </joystick>
1715
1716     <remote>
1717       <back>PreviousMenu</back>
1718     </remote>
1719
1720     <keyboard>
1721       <backspace>PreviousMenu</backspace>
1722     </keyboard>
1723   </MyWeatherSettings>
1724
1725   <MyMusicSettings>
1726     <gamepad>
1727       <B>PreviousMenu</B>
1728     </gamepad>
1729
1730     <joystick name="Microsoft Xbox Controller S">
1731       <altname>Mad Catz MicroCON</altname>
1732       <altname>Logitech Xbox Cordless Controller</altname>
1733       <button id="2">PreviousMenu</button>
1734     </joystick>
1735
1736     <remote>
1737       <back>PreviousMenu</back>
1738     </remote>
1739
1740     <keyboard>
1741       <backspace>PreviousMenu</backspace>
1742     </keyboard>
1743   </MyMusicSettings>
1744
1745   <SystemSettings>
1746     <gamepad>
1747       <B>PreviousMenu</B>
1748     </gamepad>
1749
1750     <joystick name="Microsoft Xbox Controller S">
1751       <altname>Mad Catz MicroCON</altname>
1752       <altname>Logitech Xbox Cordless Controller</altname>
1753       <button id="2">PreviousMenu</button>
1754     </joystick>
1755
1756     <remote>
1757       <back>PreviousMenu</back>
1758     </remote>
1759
1760     <keyboard>
1761       <backspace>PreviousMenu</backspace>
1762     </keyboard>
1763   </SystemSettings>
1764
1765   <MyVideosSettings>
1766     <gamepad>
1767       <B>PreviousMenu</B>
1768     </gamepad>
1769
1770     <joystick name="Microsoft Xbox Controller S">
1771       <altname>Mad Catz MicroCON</altname>
1772       <altname>Logitech Xbox Cordless Controller</altname>
1773       <button id="2">PreviousMenu</button>
1774     </joystick>
1775
1776     <remote>
1777       <back>PreviousMenu</back>
1778     </remote>
1779
1780     <keyboard>
1781       <backspace>PreviousMenu</backspace>
1782     </keyboard>
1783   </MyVideosSettings>
1784
1785   <NetworkSettings>
1786     <gamepad>
1787       <B>PreviousMenu</B>
1788     </gamepad>
1789
1790     <joystick name="Microsoft Xbox Controller S">
1791       <altname>Mad Catz MicroCON</altname>
1792       <altname>Logitech Xbox Cordless Controller</altname>
1793       <button id="2">PreviousMenu</button>
1794     </joystick>
1795
1796     <remote>
1797       <back>PreviousMenu</back>
1798     </remote>
1799
1800     <keyboard>
1801       <backspace>PreviousMenu</backspace>
1802     </keyboard>
1803   </NetworkSettings>
1804
1805   <AppearanceSettings>
1806     <gamepad>
1807       <B>PreviousMenu</B>
1808     </gamepad>
1809
1810     <joystick name="Microsoft Xbox Controller S">
1811       <altname>Mad Catz MicroCON</altname>
1812       <altname>Logitech Xbox Cordless Controller</altname>
1813       <button id="2">PreviousMenu</button>
1814     </joystick>
1815
1816     <remote>
1817       <back>PreviousMenu</back>
1818     </remote>
1819
1820     <keyboard>
1821       <backspace>PreviousMenu</backspace>
1822     </keyboard>
1823   </AppearanceSettings>
1824
1825   <Profiles>
1826     <gamepad>
1827       <B>PreviousMenu</B>
1828     </gamepad>
1829
1830     <joystick name="Microsoft Xbox Controller S">
1831       <altname>Mad Catz MicroCON</altname>
1832       <altname>Logitech Xbox Cordless Controller</altname>
1833       <button id="2">PreviousMenu</button>
1834     </joystick>
1835
1836     <remote>
1837       <back>PreviousMenu</back>
1838     </remote>
1839
1840     <keyboard>
1841       <backspace>PreviousMenu</backspace>
1842     </keyboard>
1843   </Profiles>
1844
1845   <systeminfo>
1846     <gamepad>
1847       <B>PreviousMenu</B>       
1848     </gamepad>
1849
1850     <joystick name="Microsoft Xbox Controller S">
1851       <altname>Mad Catz MicroCON</altname>
1852       <altname>Logitech Xbox Cordless Controller</altname>
1853       <button id="2">PreviousMenu</button>
1854     </joystick>
1855
1856     <remote>
1857       <back>PreviousMenu</back>
1858     </remote>
1859
1860     <keyboard>
1861       <backspace>PreviousMenu</backspace>
1862     </keyboard>
1863   </systeminfo>
1864
1865   <shutdownmenu>
1866     <gamepad>
1867       <B>PreviousMenu</B>       
1868     </gamepad>
1869
1870     <joystick name="Microsoft Xbox Controller S">
1871       <altname>Mad Catz MicroCON</altname>
1872       <altname>Logitech Xbox Cordless Controller</altname>
1873       <button id="2">PreviousMenu</button>
1874     </joystick>
1875
1876     <remote>
1877       <back>PreviousMenu</back>
1878     </remote>
1879
1880     <keyboard>
1881       <backspace>PreviousMenu</backspace>
1882     </keyboard>
1883   </shutdownmenu>
1884
1885   <submenu>
1886     <gamepad>
1887       <B>PreviousMenu</B>       
1888     </gamepad>
1889
1890     <joystick name="Microsoft Xbox Controller S">
1891       <altname>Mad Catz MicroCON</altname>
1892       <altname>Logitech Xbox Cordless Controller</altname>
1893       <button id="2">PreviousMenu</button>
1894     </joystick>
1895
1896     <remote>
1897       <back>PreviousMenu</back>
1898     </remote>
1899
1900     <keyboard>
1901       <backspace>PreviousMenu</backspace>
1902     </keyboard>
1903   </submenu>
1904
1905   <MusicInformation>
1906     <gamepad>
1907       <B>Close</B>      
1908     </gamepad>
1909
1910     <joystick name="Microsoft Xbox Controller S">
1911       <altname>Mad Catz MicroCON</altname>
1912       <altname>Logitech Xbox Cordless Controller</altname>
1913       <button id="2">Close</button>
1914     </joystick>
1915
1916     <joystick name="WiiRemote">
1917       <button id="6">Close</button>
1918     </joystick>
1919
1920     <joystick name="AppleRemote">
1921       <button id="6">Close</button>
1922     </joystick>
1923
1924     <remote>
1925       <back>Close</back>
1926     </remote>
1927
1928     <keyboard>
1929       <backspace>Close</backspace>
1930       <key id="65446">Close</key>
1931     </keyboard>
1932   </MusicInformation>
1933
1934   <MovieInformation>
1935     <gamepad>
1936       <B>Close</B>      
1937     </gamepad>
1938
1939     <joystick name="Microsoft Xbox Controller S">
1940       <altname>Mad Catz MicroCON</altname>
1941       <altname>Logitech Xbox Cordless Controller</altname>
1942       <button id="2">Close</button>
1943     </joystick>
1944
1945     <joystick name="WiiRemote">
1946       <button id="6">Close</button>
1947     </joystick>
1948
1949     <joystick name="AppleRemote">
1950       <button id="6">Close</button>
1951     </joystick>
1952
1953     <remote>
1954       <back>Close</back>
1955     </remote>
1956
1957     <keyboard>
1958       <backspace>Close</backspace>
1959       <key id="65446">Close</key>
1960     </keyboard>
1961   </MovieInformation>
1962
1963   <LockSettings>
1964     <gamepad>
1965       <start>Close</start>
1966       <B>PreviousMenu</B>
1967       <back>PreviousMenu</back>
1968     </gamepad>
1969
1970     <joystick name="Microsoft Xbox Controller S">
1971       <altname>Mad Catz MicroCON</altname>
1972       <altname>Logitech Xbox Cordless Controller</altname>
1973       <button id="9">Close</button>
1974       <button id="2">PreviousMenu</button>
1975       <button id="17">PreviousMenu</button>
1976     </joystick>
1977
1978     <remote>
1979       <menu>Close</menu>
1980       <back>PreviousMenu</back>
1981     </remote>
1982
1983     <keyboard>
1984       <escape>Close</escape>
1985       <backspace>PreviousMenu</backspace>
1986     </keyboard>
1987   </LockSettings>
1988
1989   <ProfileSettings>
1990     <gamepad>
1991       <start>Close</start>
1992       <B>PreviousMenu</B>
1993       <back>PreviousMenu</back>
1994     </gamepad>
1995
1996     <joystick name="Microsoft Xbox Controller S">
1997       <altname>Mad Catz MicroCON</altname>
1998       <altname>Logitech Xbox Cordless Controller</altname>
1999       <button id="9">Close</button>
2000       <button id="2">PreviousMenu</button>
2001       <button id="17">PreviousMenu</button>
2002     </joystick>
2003
2004     <remote>
2005       <menu>Close</menu>
2006       <back>PreviousMenu</back>
2007     </remote>
2008
2009     <keyboard>
2010       <escape>Close</escape>
2011       <backspace>PreviousMenu</backspace>
2012     </keyboard>
2013   </ProfileSettings>
2014
2015   <PictureInfo>
2016     <gamepad>
2017       <dpadleft>PreviousPicture</dpadleft>
2018       <dpadright>NextPicture</dpadright>
2019       <black>Close</black>
2020     </gamepad>
2021
2022     <remote>
2023       <skipplus>NextPicture</skipplus>
2024       <skipminus>PreviousPicture</skipminus>
2025       <info>Close</info>
2026       <back>Close</back> 
2027     </remote>
2028
2029     <joystick name="WiiRemote">
2030       <button id="3">PreviousPicture</button>
2031       <button id="4">NextPicture</button>
2032       <button id="6">Close</button>
2033     </joystick>
2034
2035     <joystick name="AppleRemote">
2036       <button id="3">Left</button>
2037       <button id="4">Right</button>
2038       <button id="6">Close</button>
2039     </joystick>
2040
2041     <keyboard>
2042       <period>NextPicture</period>
2043       <comma>PreviousPicture</comma>
2044       <i>Close</i>
2045       <backspace>Close</backspace>
2046       <space>Pause</space>
2047     </keyboard>
2048   </PictureInfo>
2049 </keymap>
2050
2051