[settings] switch zeroconf setting to standard
[vuplus_xbmc] / system / keymaps / joystick.WiiRemote.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="WiiRemote">
41       <button id="1">Up</button>
42       <button id="2">Down</button>
43       <button id="3">Left</button>
44       <button id="4">Right</button>
45       <button id="5">Select</button>
46       <button id="6">Back</button>
47       <button id="7">VolumeDown</button>
48       <button id="8">XBMC.ActivateWindow(Home)</button>
49       <button id="9">VolumeUp</button>
50       <button id="10">ContextMenu</button>
51       <button id="11">XBMC.ActivateWindow(PlayerControls)</button>
52     </joystick>
53   </global>
54   <Home>
55     <joystick name="WiiRemote">
56       <button id="8">Fullscreen</button>
57       <button id="10">XBMC.ActivateWindow(Favourites)</button>
58       <button id="11">XBMC.ActivateWindow(ShutdownMenu)</button>
59     </joystick>
60   </Home>
61   <MyFiles>
62     <joystick name="WiiRemote">
63       <button id="7">Move</button>
64       <button id="9">Copy</button>
65       <button id="11">Highlight</button>
66     </joystick>
67   </MyFiles>
68   <MyMusicPlaylist>
69     <joystick name="WiiRemote">
70       <button id="7">MoveItemUp</button>
71       <button id="9">MoveItemDown</button>
72       <button id="11">Delete</button>
73     </joystick>
74   </MyMusicPlaylist>
75   <MyMusicPlaylistEditor>
76     <joystick name="WiiRemote">
77       <button id="7">MoveItemUp</button>
78       <button id="9">MoveItemDown</button>
79       <button id="11">Delete</button>
80     </joystick>
81   </MyMusicPlaylistEditor>
82   <MyMusicFiles>
83     <joystick name="WiiRemote">
84       <button id="11">Playlist</button>
85     </joystick>
86   </MyMusicFiles>
87   <MyMusicLibrary>
88     <joystick name="WiiRemote">
89       <button id="11">Playlist</button>
90     </joystick>
91   </MyMusicLibrary>
92   <FullscreenVideo>
93     <joystick name="WiiRemote">
94       <button id="1">Pause</button>
95       <button id="2">Stop</button>
96       <button id="3">StepBack</button>
97       <button id="4">StepForward</button>
98       <button id="5">OSD</button>
99       <button id="6">Info</button>
100       <button id="10">CodecInfo</button>
101       <button id="11">AspectRatio</button>
102     </joystick>
103   </FullscreenVideo>
104   <FullscreenLiveTV>
105     <joystick name="WiiRemote">
106       <button id="3">ChannelDown</button>
107       <button id="4">ChannelUp</button>
108     </joystick>
109   </FullscreenLiveTV>
110   <FullscreenInfo>
111     <joystick name="WiiRemote">
112       <button id="5">CodecInfo</button>
113     </joystick>
114   </FullscreenInfo>
115   <Visualisation>
116     <joystick name="WiiRemote">
117       <button id="1">Pause</button>
118       <button id="2">Stop</button>
119       <button id="3">SkipNext</button>
120       <button id="4">SkipPrevious</button>
121       <button id="5">OSD</button>
122       <button id="6">Info</button>
123       <button id="8">XBMC.ActivateWindow(music)</button>
124       <button id="10">IncreaseRating</button>
125       <button id="11">DecreaseRating</button>
126     </joystick>
127   </Visualisation>
128   <MusicOSD>
129     <joystick name="WiiRemote">
130       <button id="10">CodecInfo</button>
131       <button id="11">Info</button>
132     </joystick>
133   </MusicOSD>
134   <VisualisationSettings>
135     <joystick name="WiiRemote">
136       <button id="10">XBMC.ActivateWindow(VisualisationPresetList)</button>
137       <button id="11">XBMC.ActivateWindow(MusicPlaylist)</button>
138     </joystick>
139   </VisualisationSettings>
140   <SlideShow>
141     <joystick name="WiiRemote">
142       <button id="1">Pause</button>
143       <button id="2">Stop</button>
144       <button id="3">PreviousPicture</button>
145       <button id="4">NextPicture</button>
146       <button id="5">CodecInfo</button>
147       <button id="6">Info</button>
148       <button id="10">ZoomIn</button>
149       <button id="11">ZoomOut</button>
150     </joystick>
151   </SlideShow>
152   <ScreenCalibration>
153     <joystick name="WiiRemote">
154       <button id="5">NextCalibration</button>
155       <button id="10">NextResolution</button>
156       <button id="11">ResetResolution</button>
157     </joystick>
158   </ScreenCalibration>
159   <VideoMenu>
160     <joystick name="WiiRemote">
161       <button id="5">Select</button>
162       <button id="10">Info</button>
163       <button id="11">AspectRatio</button>
164     </joystick>
165   </VideoMenu>
166   <VideoBookmarks>
167     <joystick name="WiiRemote">
168       <button id="11">Delete</button>
169     </joystick>
170   </VideoBookmarks>
171   <MyVideoLibrary>
172     <joystick name="WiiRemote">
173       <button id="11">Playlist</button>
174     </joystick>
175   </MyVideoLibrary>
176   <MyVideoFiles>
177     <joystick name="WiiRemote">
178       <button id="11">Playlist</button>
179     </joystick>
180   </MyVideoFiles>
181   <MyVideoPlaylist>
182     <joystick name="WiiRemote">
183       <button id="7">MoveItemDown</button>
184       <button id="9">MoveItemUp</button>
185       <button id="11">Delete</button>
186     </joystick>
187   </MyVideoPlaylist>
188   <VirtualKeyboard>
189     <joystick name="WiiRemote">
190       <button id="6">Shift</button>
191       <button id="7">CursorLeft</button>
192       <button id="9">CursorRight</button>
193       <button id="10">Symbols</button>
194       <button id="11">BackSpace</button>
195     </joystick>
196   </VirtualKeyboard>
197   <Scripts>
198     <joystick name="WiiRemote">
199       <button id="11">info</button>
200     </joystick>
201   </Scripts>
202   <NumericInput>
203     <joystick name="WiiRemote">
204       <button id="7">SkipPrevious</button>
205       <button id="9">SkipNext</button>
206       <button id="10">Enter</button>
207       <button id="11">BackSpace</button>
208     </joystick>
209   </NumericInput>
210   <PictureInfo>
211     <joystick name="WiiRemote">
212       <button id="3">PreviousPicture</button>
213       <button id="4">NextPicture</button>
214     </joystick>
215   </PictureInfo>
216 </keymap>