aboutsummaryrefslogtreecommitdiff
path: root/system/keymaps/joystick.Microsoft.Xbox.360.Controller.xml
blob: f559b0edc6c8ef21b6d877b905defdc00743297f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
<?xml version="1.0" encoding="UTF-8"?>
<!-- This file contains the mappings for a Microsoft Xbox 360 Controller to actions within XBMC    -->
<!-- The drivers for Linux and Windows do not always match. Mappings for Win32 will be presented   -->
<!-- first, with Linux alts second.                                                                -->
<!-- The <global> section is a fall through - they will only be used if the button is not          -->
<!-- used in the current window's section.  Note that there is only handling                       -->
<!-- for a single action per button at this stage.                                                 -->

<!-- The format of a mapping is:                                -->
<!--    <device name="name">                                    -->
<!--      <button id="x">action</button>                        -->
<!--      <axis id="x" limit="y">action</axis>                  -->
<!--      <hat id="1" position="left">action</hat>              -->
<!--    </device>                                               -->

<!-- Note that the action can be a built-in function.           -->
<!-- eg <button id="x">ActivateWindow(Home)</button>       -->
<!-- would automatically go to Home on the press of button 'x'. -->

<!-- Joystick Name: Xbox 360 Wireless Receiver                  -->

<!-- Button Mappings in Windows:               -->
<!--                                           -->
<!-- ID              Button                    -->
<!--                                           -->
<!-- 1               A                         -->
<!-- 2               B                         -->
<!-- 3               X                         -->
<!-- 4               Y                         -->
<!-- 5               Left Sholder              -->
<!-- 6               Right Sholder             -->
<!-- 7               Back                      -->
<!-- 8               Start                     -->
<!-- 9               Left Stick Button         -->
<!-- 10              Right Stick Button        -->
<!-- 11              D-Pad Up                  -->
<!-- 12              D-Pad Down                -->
<!-- 13              D-Pad Left                -->
<!-- 14              D-Pad Right               -->
<!-- 15              Back                      -->

<!-- Linux alterations for default Xpad Driver -->
<!-- 9               Guide                     -->
<!-- 10              Left Stick Button         -->
<!-- 11              Right Stick Button        -->
<!-- 12              D-Pad Left                -->
<!-- 13              D-Pad Right               -->
<!-- 14              D-Pad Up                  -->
<!-- 15              D-Pad Down                -->
<!-- Axis 3 +1/-1    Triggers left/right (win) -->
<!-- Axis 3          Left Trigger (linux)      -->
<!-- Axis 6          Right Trigger (linux)     -->

<!-- Axis Mappings:                   -->
<!--                                  -->
<!-- ID              Button           -->
<!--                                  -->
<!-- 1               Left Stick L/R   -->
<!-- 2               Left Stick U/D   -->
<!-- 3 limit +1      Left Trigger     -->
<!-- 3 limit -1      Right Trigger    -->
<!-- 4               Right Stick L/R  -->
<!-- 5               Right Stick U/D  -->

<!-- Hat Mappings for some drivers:   -->
<!--                                  -->
<!-- ID  Position    Button           -->
<!--                                  -->
<!-- 1   up          D-Pad Up         -->
<!-- 1   down        D-Pad Down       -->
<!-- 1   left        D-Pad Left       -->
<!-- 1   right       D-Pad Right      -->

<keymap>
  <joystickFamily name="Xbox 360 Controller (xpad)">
     <name>Microsoft X-Box 360 pad</name>
     <name>Xbox 360 Wireless Receiver (XBOX)</name>
     <name>Xbox 360 Wireless Receiver</name>
     <name>Thrustmaster Gamepad GP XID</name>
     <name>Logitech Gamepad F310</name>
     <name>Logitech Gamepad F510</name>
     <name>Logitech Gamepad F710</name>
     <name>Generic X-Box pad</name>
     <name>Logitech Chillstream Controller</name>
     <name>Mad Catz Wired Xbox 360 Controller</name>
     <name>Mad Catz Street Fighter IV FightStick SE</name>
     <name>Mad Catz Xbox 360 Controller</name>
     <name>Mad Catz Street Fighter IV FightPad</name>
     <name>Mad Catz Wired Xbox 360 Controller (SFIV)</name>
     <name>Mad Catz Beat Pad</name>
     <name>Mad Catz Xbox controller - MW2</name>
     <name>Mad Catz JOYTECH NEO SE Advanced GamePad</name>
     <name>Saitek Cyborg Rumble Pad - PC/Xbox 360</name>
     <name>Saitek P3200 Rumble Pad - PC/Xbox 360</name>
     <name>Super SFIV FightStick TE S</name>
     <name>HSM3 Xbox360 dancepad</name>
     <name>Afterglow AX.1 Gamepad for Xbox 360</name>
     <name>Pelican PL-3601 'TSZ' Wired Xbox 360 Controller</name>
     <name>Afterglow Gamepad for Xbox 360</name>
     <name>Rock Candy Gamepad for Xbox 360</name>
     <name>Logic3 Controller</name>
     <name>Logic3 Controller</name>
     <name>Hori Fighting Stick EX2</name>
     <name>Hori Real Arcade Pro.EX</name>
     <name>Honey Bee Xbox360 dancepad</name>
     <name>PDP AFTERGLOW AX.1</name>
     <name>RedOctane Guitar Hero X-plorer</name>
     <name>BigBen Interactive XBOX 360 Controller</name>
     <name>Razer Sabertooth</name>
     <name>Power A Mini Pro Elite</name>
     <name>Xbox Airflo wired controller</name>
     <name>Batarang Xbox 360 controller</name>
     <name>Joytech Neo-Se Take2</name>
     <name>Razer Onza Tournament Edition</name>
     <name>Razer Onza Classic Edition</name>
     <name>Razer Sabertooth</name>
     <name>Harmonix Rock Band Guitar</name>
     <name>Harmonix Rock Band Drumkit</name>
     <name>Mad Catz Xbox 360 Controller</name>
     <name>MLG Pro Circuit Controller (Xbox)</name>
     <name>Street Fighter IV FightPad</name>
     <name>Street Fighter IV FightStick TE</name>
     <name>Harmonix Xbox 360 Controller</name>
     <name>Gamestop Xbox 360 Controller</name>
     <name>Tron Xbox 360 controller</name>
     <name>Razer Atrox Arcade Stick</name>
     <name>PowerA MINI PROEX Controller</name>
     <name>Xbox Airflo wired controller</name>
     <name>Hori XBOX 360 EX 2 with Turbo</name>
     <name>Hori Real Arcade Pro VX-SA</name>
     <name>Hori SOULCALIBUR V Stick</name>
     <name>Thrustmaster, Inc. GPX Controller</name>
     <name>Thrustmaster Ferrari 458 Racing Wheel</name>
     <name>Microsoft X-Box One pad</name>  
  </joystickFamily>
  <joystickFamily name="Xbox 360 Controller (Windows)">
     <name>Afterglow Gamepad for Xbox 360 (Controller)</name>
     <name>Controller (Gamepad F310)</name>
     <name>Controller (Gamepad for Xbox 360)</name>
     <name>Controller (Rumble Gamepad F510)</name>
     <name>Controller (Wireless Gamepad F710)</name>
     <name>Controller (Xbox 360 Wireless Receiver for Windows)</name>
     <name>Controller (Xbox wireless receiver for windows)</name>
     <name>Controller (XBOX360 GAMEPAD)</name>
     <name>Controller (Batarang wired controller (XBOX))</name>
     <name>Wireless Gamepad F710 (Controller)</name>
     <name>XBOX 360 For Windows</name>
     <name>XBOX 360 For Windows (Controller)</name>
     <name>Xbox 360 Wireless Controller</name>
     <name>Xbox Receiver for Windows (Wireless Controller)</name>
     <name>Xbox wireless receiver for windows (Controller)</name>
     <name>Gamepad F310 (Controller)</name>
     <name>Razer Sabertooth Elite (Controller)</name>
     <name>Controller (Razer Sabertooth Elite)</name>
     <name>Controller (XBOX One For Windows)</name>
  </joystickFamily>  
  <global>
    <joystick family="Xbox 360 Controller (Windows)">
      <!-- A selects. B goes back. X gets context menu. Y goes fullscreen and back. -->
      <button id="1">Select</button>
      <button id="2">Back</button>
      <button id="3">ContextMenu</button>
      <button id="4">FullScreen</button>
      <!--Left Shoulder Queues videos. Right shoulder displays the current queue. -->
      <button id="5">Queue</button>
      <button id="6">Playlist</button>
      <button id="7">PreviousMenu</button>
      <button id="8">ActivateWindow(Home)</button>
      <!-- Left stick click activates the shutdown menu. -->
      <button id="9">ActivateWindow(ShutdownMenu)</button>
      <button id="10">ActivateWindow(PlayerControls)</button>
      <button id="11">Up</button>
      <button id="12">Down</button>
      <button id="13">Left</button>
      <button id="14">Right</button>
      <button id="15">PreviousMenu</button>
      <axis id="1" limit="-1">AnalogSeekBack</axis>
      <axis id="1" limit="+1">AnalogSeekForward</axis>
      <axis id="2" limit="-1">AnalogSeekForward</axis>
      <axis id="2" limit="+1">AnalogSeekBack</axis>
      <axis id="3" trigger="true" limit="+1">ScrollUp</axis>
      <axis id="3" trigger="true" limit="-1">ScrollDown</axis>
      <!-- Push up on the right stick for volueme up. Push down for volume down. -->
      <axis id="5" limit="-1">VolumeUp</axis>
      <axis id="5" limit="+1">VolumeDown</axis>
      <axis id="4" limit="-1">VolumeDown</axis>
      <axis id="4" limit="+1">VolumeUp</axis>
      <hat id="1" position="up">Up</hat>
      <hat id="1" position="down">Down</hat>
      <hat id="1" position="left">Left</hat>
      <hat id="1" position="right">Right</hat>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="1">Select</button>
      <button id="2">Back</button>
      <button id="3">ContextMenu</button>
      <button id="4">FullScreen</button>
      <button id="5">Queue</button>
      <button id="6">Playlist</button>
      <button id="7">PreviousMenu</button>
      <button id="8">ActivateWindow(Home)</button>
      <button id="9">ActivateWindow(Home)</button>
      <button id="10">ActivateWindow(ShutdownMenu)</button>
      <button id="11">ActivateWindow(PlayerControls)</button>
      <button id="12">Left</button>
      <button id="13">Right</button>
      <button id="14">Up</button>
      <button id="15">Down</button>
      <axis id="1" limit="-1">AnalogSeekBack</axis>
      <axis id="1" limit="+1">AnalogSeekForward</axis>
      <axis id="2" limit="-1">AnalogSeekForward</axis>
      <axis id="2" limit="+1">AnalogSeekBack</axis>
      <axis id="3" trigger="true" rest="-32768">ScrollUp</axis>
      <axis id="4" limit="-1">VolumeDown</axis>
      <axis id="4" limit="+1">VolumeUp</axis>
      <axis id="5" limit="-1">VolumeUp</axis>
      <axis id="5" limit="+1">VolumeDown</axis>
      <axis id="6" trigger="true" rest="-32768">ScrollDown</axis>
      <hat id="1" position="up">Up</hat>
      <hat id="1" position="down">Down</hat>
      <hat id="1" position="left">Left</hat>
      <hat id="1" position="right">Right</hat>
    </joystick>
  </global>
  <Home>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="8">Skin.ToggleSetting(HomeViewToggle)</button>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="8">Skin.ToggleSetting(HomeViewToggle)</button>
    </joystick>
  </Home>
  <MyFiles>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="6">Highlight</button>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="6">Highlight</button>
    </joystick>
  </MyFiles>
  <MyMusicPlaylist>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="5">Delete</button>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="5">Delete</button>
    </joystick>
  </MyMusicPlaylist>
  <MyMusicFiles>
  </MyMusicFiles>
  <MyMusicLibrary>
  </MyMusicLibrary>
  <FullscreenVideo>
    <joystick family="Xbox 360 Controller (Windows)">
      <!--
            A pauses and starts the video.
            B stops the video.
            X opens the onscreen display.
            Y switches in and out of full screen
            -->
      <button id="1">Pause</button>
      <button id="2">Stop</button>
      <button id="3">OSD</button>
      <!--
            Left shoulder changes aspect ratio.
            Right shoulder changes subtitles.
            Right stick changes Audio Language.
            Start button displays info.
            -->
      <button id="5">AspectRatio</button>
      <button id="6">ShowSubtitles</button>
      <button id="7">SmallStepBack</button>
      <button id="8">Info</button>
      <button id="10">AudioNextLanguage</button>
      <button id="11">ChapterOrBigStepForward</button>
      <button id="12">ChapterOrBigStepBack</button>
      <button id="13">StepBack</button>
      <button id="14">StepForward</button>
      <!-- D-pad does what you'd expect. Triggers fast forward and rewind. Left stick scans forward and back. -->
      <axis id="3" limit="+1">AnalogRewind</axis>
      <axis id="3" limit="-1">AnalogFastForward</axis>
      <hat id="1" position="up">ChapterOrBigStepForward</hat>
      <hat id="1" position="down">ChapterOrBigStepBack</hat>
      <hat id="1" position="left">StepBack</hat>
      <hat id="1" position="right">StepForward</hat>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="1">Pause</button>
      <button id="2">Stop</button>
      <button id="3">OSD</button>
      <button id="5">AspectRatio</button>
      <button id="6">ShowSubtitles</button>
      <button id="7">SmallStepBack</button>
      <button id="8">Info</button>
      <button id="9">ActivateWindow(Home)</button>  <!-- guide -->
      <button id="10">ActivateWindow(ShutdownMenu)</button>  <!-- left stick -->
      <button id="11">AudioNextLanguage</button>  <!-- right stick -->
      <button id="12">StepBack</button>
      <button id="13">StepForward</button>
      <button id="14">ChapterOrBigStepForward</button>
      <button id="15">ChapterOrBigStepBack</button>
      <axis id="3">AnalogRewind</axis>
      <axis id="6">AnalogFastForward</axis>
      <hat id="1" position="up">ChapterOrBigStepForward</hat>
      <hat id="1" position="down">ChapterOrBigStepBack</hat>
      <hat id="1" position="left">StepBack</hat>
      <hat id="1" position="right">StepForward</hat>
    </joystick>
  </FullscreenVideo>
  <FullscreenLiveTV>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="11">ChannelUp</button>
      <button id="12">ChannelDown</button>
      <button id="13">StepBack</button>
      <button id="14">StepForward</button>
      <hat id="1" position="up">ChannelUp</hat>
      <hat id="1" position="down">ChannelDown</hat>
      <hat id="1" position="left">StepBack</hat>
      <hat id="1" position="right">StepForward</hat>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="12">StepBack</button>
      <button id="13">StepForward</button>
      <button id="14">ChannelUp</button>
      <button id="15">ChannelDown</button>
      <hat id="1" position="up">ChannelUp</hat>
      <hat id="1" position="down">ChannelDown</hat>
      <hat id="1" position="left">StepBack</hat>
      <hat id="1" position="right">StepForward</hat>
    </joystick>
  </FullscreenLiveTV>
  <FullscreenRadio>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="11">ChannelUp</button>
      <button id="12">ChannelDown</button>
      <button id="13">StepBack</button>
      <button id="14">StepForward</button>
      <hat id="1" position="up">ChannelUp</hat>
      <hat id="1" position="down">ChannelDown</hat>
      <hat id="1" position="left">StepBack</hat>
      <hat id="1" position="right">StepForward</hat>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="12">StepBack</button>
      <button id="13">StepForward</button>
      <button id="14">ChannelUp</button>
      <button id="15">ChannelDown</button>
      <hat id="1" position="up">ChannelUp</hat>
      <hat id="1" position="down">ChannelDown</hat>
      <hat id="1" position="left">StepBack</hat>
      <hat id="1" position="right">StepForward</hat>
    </joystick>
  </FullscreenRadio>
  <FullscreenInfo>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="2">Close</button>
      <button id="3">OSD</button>
      <button id="8">Close</button>
      <axis id="3" limit="+1">AnalogRewind</axis>
      <axis id="3" limit="-1">AnalogFastForward</axis>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="2">Close</button>
      <button id="3">OSD</button>
      <button id="8">Close</button>
      <axis id="3">AnalogRewind</axis>
      <axis id="6">AnalogFastForward</axis>
    </joystick>
  </FullscreenInfo>
  <PlayerControls>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="3">Close</button>
      <button id="9">Close</button>
      <button id="10">Close</button>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="3">Close</button>
      <button id="10">Close</button>
      <button id="11">Close</button>
    </joystick>
  </PlayerControls>
  <Visualisation>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="1">Pause</button>
      <button id="2">Stop</button>
      <button id="3">ActivateWindow(MusicOSD)</button>
      <button id="5">ActivateWindow(VisualisationPresetList)</button>
      <button id="6">Info</button>
      <button id="10">ActivateWindow(MusicOSD)</button>
      <button id="11">SkipNext</button>
      <button id="12">SkipPrevious</button>
      <button id="13">PreviousPreset</button>
      <button id="14">NextPreset</button>
      <axis id="3" limit="+1">AnalogRewind</axis>
      <axis id="3" limit="-1">AnalogFastForward</axis>
      <hat id="1" position="up">SkipNext</hat>
      <hat id="1" position="down">SkipPrevious</hat>
      <hat id="1" position="left">StepBack</hat>
      <hat id="1" position="right">StepForward</hat>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="1">Pause</button>
      <button id="2">Stop</button>
      <button id="3">ActivateWindow(MusicOSD)</button>
      <button id="5">ActivateWindow(VisualisationPresetList)</button>
      <button id="6">Info</button>
      <button id="11">ActivateWindow(MusicOSD)</button>
      <button id="12">PreviousPreset</button>
      <button id="13">NextPreset</button>
      <button id="14">SkipPrevious</button>
      <button id="15">SkipNext</button>
      <axis id="3">AnalogRewind</axis>
      <axis id="6">AnalogFastForward</axis>
      <hat id="1" position="up">SkipNext</hat>
      <hat id="1" position="down">SkipPrevious</hat>
      <hat id="1" position="left">PreviousPreset</hat>
      <hat id="1" position="right">NextPreset</hat>
    </joystick>
  </Visualisation>
  <MusicOSD>
    <joystick family="Xbox 360 Controller (Windows)">

      <button id="3">Close</button>
      <button id="6">Info</button>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="3">Close</button>
      <button id="6">Info</button>
    </joystick>
  </MusicOSD>
  <VisualisationSettings>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="2">Close</button>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="2">Close</button>
    </joystick>
  </VisualisationSettings>
  <VisualisationPresetList>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="2">Close</button>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="2">Close</button>
    </joystick>
  </VisualisationPresetList>
  <SlideShow>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="1">Pause</button>
      <button id="2">Stop</button>
      <button id="4">ZoomNormal</button>
      <button id="5">Rotate</button>
      <button id="6">CodecInfo</button>
      <button id="11">ZoomIn</button>
      <button id="12">ZoomOut</button>
      <button id="13">PreviousPicture</button>
      <button id="14">NextPicture</button>
      <axis id="1">AnalogMoveX</axis>
      <axis id="2">AnalogMoveY</axis>
      <axis id="3" limit="+1">ZoomOut</axis>
      <axis id="3" limit="-1">ZoomIn</axis>
      <hat id="1" position="up">ZoomIn</hat>
      <hat id="1" position="down">ZoomOut</hat>
      <hat id="1" position="left">PreviousPicture</hat>
      <hat id="1" position="right">NextPicture</hat>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="1">Pause</button>
      <button id="2">Stop</button>
      <button id="4">ZoomNormal</button>
      <button id="5">Rotate</button>
      <button id="6">CodecInfo</button>
      <button id="12">PreviousPicture</button>
      <button id="13">NextPicture</button>
      <button id="14">ZoomIn</button>
      <button id="15">ZoomOut</button>
      <axis id="1">AnalogMoveX</axis>
      <axis id="2">AnalogMoveY</axis>
      <axis id="3">ZoomOut</axis>
      <axis id="6">ZoomIn</axis>
      <hat id="1" position="up">ZoomIn</hat>
      <hat id="1" position="down">ZoomOut</hat>
      <hat id="1" position="left">PreviousPicture</hat>
      <hat id="1" position="right">NextPicture</hat>
    </joystick>
  </SlideShow>
  <ScreenCalibration>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="3">ResetCalibration</button>
      <button id="5">NextResolution</button>
      <button id="6">NextCalibration</button>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="3">ResetCalibration</button>
      <button id="5">NextResolution</button>
      <button id="6">NextCalibration</button>
    </joystick>
  </ScreenCalibration>
  <GUICalibration>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="3">ResetCalibration</button>
      <button id="5">NextResolution</button>
      <button id="6">NextCalibration</button>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="3">ResetCalibration</button>
      <button id="5">NextResolution</button>
      <button id="6">NextCalibration</button>
    </joystick>
  </GUICalibration>
  <VideoOSD>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="3">Close</button>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="3">Close</button>
    </joystick>
  </VideoOSD>
  <VideoMenu>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="2">Stop</button>
      <button id="3">OSD</button>
      <button id="5">AspectRatio</button>
      <button id="8">Info</button>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="2">Stop</button>
      <button id="3">OSD</button>
      <button id="5">AspectRatio</button>
      <button id="8">Info</button>
    </joystick>
  </VideoMenu>
  <OSDVideoSettings>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="5">AspectRatio</button>
      <button id="3">Close</button>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="5">AspectRatio</button>
      <button id="3">Close</button>
    </joystick>
  </OSDVideoSettings>
  <OSDAudioSettings>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="5">AspectRatio</button>
      <button id="3">Close</button>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="5">AspectRatio</button>
      <button id="3">Close</button>
    </joystick>
  </OSDAudioSettings>
  <VideoBookmarks>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="5">Delete</button>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="5">Delete</button>
    </joystick>
  </VideoBookmarks>
  <MyVideoLibrary>
  </MyVideoLibrary>
  <MyVideoFiles>
  </MyVideoFiles>
  <MyVideoPlaylist>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="5">Delete</button>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="5">Delete</button>
    </joystick>
  </MyVideoPlaylist>
  <VirtualKeyboard>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="2">BackSpace</button>
      <button id="4">Symbols</button>
      <button id="5">Shift</button>
      <button id="9">Enter</button>
      <axis id="3" limit="+1">CursorLeft</axis>
      <axis id="3" limit="-1">CursorRight</axis>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="2">BackSpace</button>
      <button id="4">Symbols</button>
      <button id="5">Shift</button>
      <button id="10">Enter</button>
      <axis id="3">CursorLeft</axis>
      <axis id="6">CursorRight</axis>
    </joystick>
  </VirtualKeyboard>
  <ContextMenu>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="2">Close</button>
      <button id="3">Close</button>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="2">Close</button>
      <button id="3">Close</button>
    </joystick>
  </ContextMenu>
  <Scripts>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="3">Info</button>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="3">Info</button>
    </joystick>
  </Scripts>
  <Settings>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="2">PreviousMenu</button>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="2">PreviousMenu</button>
    </joystick>
  </Settings>
  <AddonInformation>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="2">Close</button>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="2">Close</button>
    </joystick>
  </AddonInformation>
  <AddonSettings>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="2">Close</button>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="2">Close</button>
    </joystick>
  </AddonSettings>
  <TextViewer>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="2">Close</button>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="2">Close</button>
    </joystick>
  </TextViewer>
  <shutdownmenu>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="2">PreviousMenu</button>
      <button id="9">PreviousMenu</button>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="2">PreviousMenu</button>
      <button id="10">PreviousMenu</button>
    </joystick>
  </shutdownmenu>
  <submenu>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="2">PreviousMenu</button>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="2">PreviousMenu</button>
    </joystick>
  </submenu>
  <MusicInformation>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="2">Close</button>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="2">Close</button>
    </joystick>
  </MusicInformation>
  <MovieInformation>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="2">Close</button>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="2">Close</button>
    </joystick>
  </MovieInformation>
  <NumericInput>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="2">BackSpace</button>
      <button id="9">Enter</button>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="2">BackSpace</button>
      <button id="10">Enter</button>
    </joystick>
  </NumericInput>
  <GamepadInput>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="9">Stop</button>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="11">Stop</button>
    </joystick>
  </GamepadInput>
  <LockSettings>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="2">PreviousMenu</button>
      <button id="9">Close</button>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="2">PreviousMenu</button>
      <button id="11">Close</button>
    </joystick>
  </LockSettings>
  <ProfileSettings>
    <joystick family="Xbox 360 Controller (Windows)">
      <button id="2">PreviousMenu</button>
      <button id="9">Close</button>
    </joystick>
    <joystick family="Xbox 360 Controller (xpad)">
      <button id="2">PreviousMenu</button>
      <button id="11">Close</button>
    </joystick>
  </ProfileSettings>
</keymap>