Merge pull request #4401 from Jalle19/fix-recording-thumbnail
[vuplus_xbmc] / system / keymaps / joystick.Microsoft.Xbox.Controller.S.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- This file contains the mapping of keys (gamepad, remote, and keyboard) to actions within XBMC -->
3 <!-- The <global> section is a fall through - they will only be used if the button is not          -->
4 <!-- used in the current window's section.  Note that there is only handling                       -->
5 <!-- for a single action per button at this stage.                                                 -->
6 <!-- For joystick/gamepad configuration under linux/win32, see below as it differs from xbox       -->
7 <!-- gamepads.                                                                                     -->
8
9 <!-- The format is:                      -->
10 <!--    <device>                         -->
11 <!--      <button>action</button>        -->
12 <!--    </device>                        -->
13
14 <!-- To map keys from other remotes using the RCA protocol, you may add <universalremote> blocks -->
15 <!-- In this case, the tags used are <obc#> where # is the original button code (OBC) of the key -->
16 <!-- You set it up by adding a <universalremote> block to the window or <global> section:       -->
17 <!--    <universalremote>             -->
18 <!--       <obc45>Stop</obc45>         -->
19 <!--    </universalremote>            -->
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 <keymap>
39   <global>
40     <joystick name="Microsoft Xbox Controller S">
41       <altname>Mad Catz MicroCON</altname>
42       <altname>Logitech Xbox Cordless Controller</altname>
43       <altname>Microsoft X-Box pad (Japan)</altname> 
44       <button id="1">Select</button>
45       <button id="2">Back</button>
46       <button id="3"/>
47       <button id="4">FullScreen</button>
48       <button id="5">Queue</button>
49       <button id="6">ContextMenu</button>
50       <button id="7"/>
51       <button id="8"/>
52       <button id="9">XBMC.ActivateWindow(PlayerControls)</button>
53       <button id="10"/>
54       <button id="11">Screenshot</button>
55       <button id="12">XBMC.ActivateWindow(ShutdownMenu)</button>
56       <button id="13">Up</button>
57       <button id="14">Right</button>
58       <button id="15">Down</button>
59       <button id="16">Left</button>
60       <button id="17">PreviousMenu</button>
61       <axis limit="-1" id="5">VolumeDown</axis>
62       <axis limit="+1" id="5">VolumeUp</axis>
63       <axis limit="-1" id="4">AnalogSeekBack</axis>
64       <axis limit="+1" id="4">AnalogSeekForward</axis>
65       <axis limit="0" id="3">ScrollUp</axis>
66       <axis limit="0" id="6">ScrollDown</axis>
67     </joystick>
68   </global>
69   <Home>
70     <joystick name="Microsoft Xbox Controller S">
71       <altname>Mad Catz MicroCON</altname>
72       <altname>Logitech Xbox Cordless Controller</altname>
73       <altname>Microsoft X-Box pad (Japan)</altname> 
74       <button id="3">XBMC.Skin.ToggleSetting(HomeViewToggle)</button>
75     </joystick>
76   </Home>
77   <MyFiles>
78     <joystick name="Microsoft Xbox Controller S">
79       <altname>Mad Catz MicroCON</altname>
80       <altname>Logitech Xbox Cordless Controller</altname>
81       <altname>Microsoft X-Box pad (Japan)</altname> 
82       <button id="5">Highlight</button>
83     </joystick>
84   </MyFiles>
85   <MyMusicPlaylist>
86     <joystick name="Microsoft Xbox Controller S">
87       <altname>Mad Catz MicroCON</altname>
88       <altname>Logitech Xbox Cordless Controller</altname>
89       <altname>Microsoft X-Box pad (Japan)</altname> 
90       <button id="3">Back</button>
91       <button id="5">Delete</button>
92     </joystick>
93   </MyMusicPlaylist>
94   <MyMusicFiles>
95     <joystick name="Microsoft Xbox Controller S">
96       <altname>Mad Catz MicroCON</altname>
97       <altname>Logitech Xbox Cordless Controller</altname>
98       <altname>Microsoft X-Box pad (Japan)</altname> 
99       <button id="3">Playlist</button>
100       <button id="5">Queue</button>
101     </joystick>
102   </MyMusicFiles>
103   <MyMusicLibrary>
104     <joystick name="Microsoft Xbox Controller S">
105       <altname>Mad Catz MicroCON</altname>
106       <altname>Logitech Xbox Cordless Controller</altname>
107       <altname>Microsoft X-Box pad (Japan)</altname> 
108       <button id="3">Playlist</button>
109       <button id="5">Queue</button>
110     </joystick>
111   </MyMusicLibrary>
112   <FullscreenVideo>
113     <joystick name="Microsoft Xbox Controller S">
114       <altname>Mad Catz MicroCON</altname>
115       <altname>Logitech Xbox Cordless Controller</altname>
116       <altname>Microsoft X-Box pad (Japan)</altname> 
117       <button id="1">Pause</button>
118       <button id="2">Stop</button>
119       <button id="3">CodecInfo</button>
120       <button id="5">AspectRatio</button>
121       <button id="6">Info</button>
122       <button id="9">OSD</button>
123       <button id="13">ChapterOrBigStepForward</button>
124       <button id="14">ChapterOrStepForward</button>
125       <button id="15">BigStepBack</button>
126       <button id="16">StepBack</button>
127       <button id="17">SmallStepBack</button>
128       <axis limit="0" id="3">AnalogRewind</axis>
129       <axis limit="0" id="6">AnalogFastForward</axis>
130     </joystick>
131   </FullscreenVideo>
132   <FullscreenLiveTV>
133     <joystick name="Microsoft Xbox Controller S">
134       <altname>Mad Catz MicroCON</altname>
135       <altname>Logitech Xbox Cordless Controller</altname>
136       <altname>Microsoft X-Box pad (Japan)</altname> 
137       <button id="13">ChannelUp</button>
138       <button id="14">NextChannelGroup</button>
139       <button id="15">ChannelDown</button>
140       <button id="16">PreviousChannelGroup</button>
141     </joystick>
142   </FullscreenLiveTV>
143   <FullscreenInfo>
144     <joystick name="Microsoft Xbox Controller S">
145       <altname>Mad Catz MicroCON</altname>
146       <altname>Logitech Xbox Cordless Controller</altname>
147       <altname>Microsoft X-Box pad (Japan)</altname> 
148       <button id="3">CodecInfo</button>
149       <button id="6">Back</button>
150       <button id="9">OSD</button>
151       <axis limit="0" id="3">AnalogRewind</axis>
152       <axis limit="0" id="6">AnalogFastForward</axis>
153     </joystick>
154   </FullscreenInfo>
155   <PlayerControls>
156     <joystick name="Microsoft Xbox Controller S">
157       <altname>Mad Catz MicroCON</altname>
158       <altname>Logitech Xbox Cordless Controller</altname>
159       <altname>Microsoft X-Box pad (Japan)</altname> 
160       <button id="9">Back</button>
161     </joystick>
162   </PlayerControls>
163   <Visualisation>
164     <joystick name="Microsoft Xbox Controller S">
165       <altname>Mad Catz MicroCON</altname>
166       <altname>Logitech Xbox Cordless Controller</altname>
167       <altname>Microsoft X-Box pad (Japan)</altname> 
168       <button id="1">Pause</button>
169       <button id="2">Stop</button>
170       <button id="3">CodecInfo</button>
171       <button id="5">XBMC.ActivateWindow(VisualisationPresetList)</button>
172       <button id="6">Info</button>
173       <button id="9">OSD</button>
174       <button id="13">NextPreset</button>
175       <button id="14">SkipNext</button>
176       <button id="15">PreviousPreset</button>
177       <button id="16">SkipPrevious</button>
178       <axis limit="0" id="3">AnalogRewind</axis>
179       <axis limit="0" id="6">AnalogFastForward</axis>
180     </joystick>
181   </Visualisation>
182   <MusicOSD>
183     <joystick name="Microsoft Xbox Controller S">
184       <altname>Mad Catz MicroCON</altname>
185       <altname>Logitech Xbox Cordless Controller</altname>
186       <altname>Microsoft X-Box pad (Japan)</altname> 
187       <button id="19">Back</button>
188       <button id="3">CodecInfo</button>
189       <button id="6">Info</button>
190     </joystick>
191   </MusicOSD>
192   <VisualisationSettings>
193     <joystick name="Microsoft Xbox Controller S">
194       <altname>Mad Catz MicroCON</altname>
195       <altname>Logitech Xbox Cordless Controller</altname>
196       <altname>Microsoft X-Box pad (Japan)</altname> 
197       <button id="3">Back</button>
198       <button id="9">Back</button>
199     </joystick>
200   </VisualisationSettings>
201   <VisualisationPresetList>
202     <joystick name="Microsoft Xbox Controller S">
203       <altname>Mad Catz MicroCON</altname>
204       <altname>Logitech Xbox Cordless Controller</altname>
205       <altname>Microsoft X-Box pad (Japan)</altname> 
206       <button id="3">Back</button>
207       <button id="5">Back</button>
208       <button id="9">Back</button>
209     </joystick>
210   </VisualisationPresetList>
211   <SlideShow>
212     <joystick name="Microsoft Xbox Controller S">
213       <altname>Mad Catz MicroCON</altname>
214       <altname>Logitech Xbox Cordless Controller</altname>
215       <altname>Microsoft X-Box pad (Japan)</altname> 
216       <button id="1">Pause</button>
217       <button id="2">Stop</button>
218       <button id="3">CodecInfo</button>
219       <button id="4">ZoomNormal</button>
220       <button id="5">Rotate</button>
221       <button id="6">Info</button>
222       <button id="13">ZoomIn</button>
223       <button id="14">NextPicture</button>
224       <button id="15">ZoomOut</button>
225       <button id="16">PreviousPicture</button>
226       <button id="17">Stop</button>
227     </joystick>
228   </SlideShow>
229   <ScreenCalibration>
230     <joystick name="Microsoft Xbox Controller S">
231       <altname>Mad Catz MicroCON</altname>
232       <altname>Logitech Xbox Cordless Controller</altname>
233       <altname>Microsoft X-Box pad (Japan)</altname> 
234       <button id="1">NextCalibration</button>
235       <button id="3">ResetCalibration</button>
236       <button id="6">NextResolution</button>
237     </joystick>
238   </ScreenCalibration>
239   <GUICalibration>
240     <joystick name="Microsoft Xbox Controller S">
241       <altname>Mad Catz MicroCON</altname>
242       <altname>Logitech Xbox Cordless Controller</altname>
243       <altname>Microsoft X-Box pad (Japan)</altname> 
244       <button id="1">NextCalibration</button>
245       <button id="3">ResetCalibration</button>
246       <button id="6">NextResolution</button>
247     </joystick>
248   </GUICalibration>
249   <VideoOSD>
250     <joystick name="Microsoft Xbox Controller S">
251       <altname>Mad Catz MicroCON</altname>
252       <altname>Logitech Xbox Cordless Controller</altname>
253       <altname>Microsoft X-Box pad (Japan)</altname> 
254       <button id="9">Back</button>
255     </joystick>
256   </VideoOSD>
257   <VideoMenu>
258     <joystick name="Microsoft Xbox Controller S">
259       <altname>Mad Catz MicroCON</altname>
260       <altname>Logitech Xbox Cordless Controller</altname>
261       <altname>Microsoft X-Box pad (Japan)</altname> 
262       <button id="5">AspectRatio</button>
263       <button id="2">Stop</button>
264       <button id="9">OSD</button>
265       <button id="6">Info</button>
266       <button id="3">CodecInfo</button>
267     </joystick>
268   </VideoMenu>
269   <OSDVideoSettings>
270     <joystick name="Microsoft Xbox Controller S">
271       <altname>Mad Catz MicroCON</altname>
272       <altname>Logitech Xbox Cordless Controller</altname>
273       <altname>Microsoft X-Box pad (Japan)</altname> 
274       <button id="4"/>
275       <button id="5">AspectRatio</button>
276       <button id="19">Back</button>
277     </joystick>
278   </OSDVideoSettings>
279   <OSDAudioSettings>
280     <joystick name="Microsoft Xbox Controller S">
281       <altname>Mad Catz MicroCON</altname>
282       <altname>Logitech Xbox Cordless Controller</altname>
283       <altname>Microsoft X-Box pad (Japan)</altname> 
284       <button id="4"/>
285       <button id="5">AspectRatio</button>
286       <button id="19">Back</button>
287     </joystick>
288   </OSDAudioSettings>
289   <VideoBookmarks>
290     <joystick name="Microsoft Xbox Controller S">
291       <altname>Mad Catz MicroCON</altname>
292       <altname>Logitech Xbox Cordless Controller</altname>
293       <altname>Microsoft X-Box pad (Japan)</altname> 
294       <button id="4"/>
295       <button id="5">Delete</button>
296       <button id="19">Back</button>
297     </joystick>
298   </VideoBookmarks>
299   <MyVideoLibrary>
300     <joystick name="Microsoft Xbox Controller S">
301       <altname>Mad Catz MicroCON</altname>
302       <altname>Logitech Xbox Cordless Controller</altname>
303       <altname>Microsoft X-Box pad (Japan)</altname> 
304       <button id="3">Delete</button>
305     </joystick>
306   </MyVideoLibrary>
307   <MyVideoFiles>
308     <joystick name="Microsoft Xbox Controller S">
309       <altname>Mad Catz MicroCON</altname>
310       <altname>Logitech Xbox Cordless Controller</altname>
311       <altname>Microsoft X-Box pad (Japan)</altname> 
312       <button id="5">Queue</button>
313       <button id="3">Playlist</button>
314     </joystick>
315   </MyVideoFiles>
316   <MyVideoPlaylist>
317     <joystick name="Microsoft Xbox Controller S">
318       <altname>Mad Catz MicroCON</altname>
319       <altname>Logitech Xbox Cordless Controller</altname>
320       <altname>Microsoft X-Box pad (Japan)</altname> 
321       <button id="5">Delete</button>
322       <button id="3">Back</button>
323     </joystick>
324   </MyVideoPlaylist>
325   <VirtualKeyboard>
326     <joystick name="Microsoft Xbox Controller S">
327       <altname>Mad Catz MicroCON</altname>
328       <altname>Logitech Xbox Cordless Controller</altname>
329       <altname>Microsoft X-Box pad (Japan)</altname> 
330       <button id="9">Enter</button>
331       <button id="2">BackSpace</button>
332       <button id="5">Shift</button>
333       <button id="4">Symbols</button>
334     </joystick>
335   </VirtualKeyboard>
336   <ContextMenu>
337     <joystick name="Microsoft Xbox Controller S">
338       <altname>Mad Catz MicroCON</altname>
339       <altname>Logitech Xbox Cordless Controller</altname>
340       <altname>Microsoft X-Box pad (Japan)</altname> 
341       <button id="6">Back</button>
342     </joystick>
343   </ContextMenu>
344   <Scripts>
345     <joystick name="Microsoft Xbox Controller S">
346       <altname>Mad Catz MicroCON</altname>
347       <altname>Logitech Xbox Cordless Controller</altname>
348       <altname>Microsoft X-Box pad (Japan)</altname> 
349       <button id="3">info</button>
350     </joystick>
351   </Scripts>
352   <NumericInput>
353     <joystick name="Microsoft Xbox Controller S">
354       <altname>Mad Catz MicroCON</altname>
355       <altname>Logitech Xbox Cordless Controller</altname>
356       <altname>Microsoft X-Box pad (Japan)</altname> 
357       <button id="2">BackSpace</button>
358       <button id="9">Enter</button>
359     </joystick>
360   </NumericInput>
361   <GamepadInput>
362     <joystick name="Microsoft Xbox Controller S">
363       <altname>Mad Catz MicroCON</altname>
364       <altname>Logitech Xbox Cordless Controller</altname>
365       <altname>Microsoft X-Box pad (Japan)</altname> 
366       <button id="9">Stop</button>      <!-- Enter Password -->
367     </joystick>
368   </GamepadInput>
369   <LockSettings>
370     <joystick name="Microsoft Xbox Controller S">
371       <altname>Mad Catz MicroCON</altname>
372       <altname>Logitech Xbox Cordless Controller</altname>
373       <altname>Microsoft X-Box pad (Japan)</altname> 
374       <button id="9">Back</button>
375     </joystick>
376   </LockSettings>
377   <ProfileSettings>
378     <joystick name="Microsoft Xbox Controller S">
379       <altname>Mad Catz MicroCON</altname>
380       <altname>Logitech Xbox Cordless Controller</altname>
381       <altname>Microsoft X-Box pad (Japan)</altname> 
382       <button id="9">Back</button>
383     </joystick>
384   </ProfileSettings>
385 </keymap>