[filesystem][SpecialProtocol] Removed assert from GetPath
[xbmc.git] / system / keymaps / customcontroller.Harmony.xml
blob77f288dfc212fe8f4e48452124b0cc5be13da0f6
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- This file contains the mapping of keys to actions within Kodi.                       -->
3 <!--                                                                                      -->
4 <!-- The format is:                                                                       -->
5 <!--  <window>                                                                            -->
6 <!--    <device>                                                                          -->
7 <!--      <button>action</button>                                                         -->
8 <!--    </device>                                                                         -->
9 <!--  </window>                                                                           -->
10 <!--                                                                                      -->
11 <!-- The <global> section is a fall through - they will only be used if the button is     -->
12 <!-- not used in the current window's section.                                            -->
13 <!--                                                                                      -->
14 <!-- Actions can be built-in functions.                                                   -->
15 <!--  eg <button id="6">ActivateWindow(Music)</button>                                    -->
16 <!-- would automatically go to Music on the press of the "Menu" button.                   -->
17 <!--                                                                                      -->
18 <!--                                                                                      -->
19 <!-- An empty action removes the corresponding mapping from default and parent keymaps.   -->
20 <!-- This is different from a "noop" action, which disables a button.                     -->
21 <!--                                                                                      -->
22 <!-- More documentation on keymaps can be found on http://kodi.wiki/view/keymaps          -->
23 <!--                                                                                      -->
24 <!-- To map keys from other remotes using the RCA protocol, you may add                   -->
25 <!--   <customcontroller name="Harmony"> blocks.                                          -->
26 <!-- In this case, the tags used are <button id=""#> where # is the original button code  -->
27 <!-- (OBC) of the key.                                                                    -->
28 <!-- You set it up by adding a <customcontroller name="Harmony"> block to the window      -->
29 <!-- or <global> section:                                                                 -->
30 <!--    <customcontroller name="Harmony">                                                 -->
31 <!--       <button id="45">Stop</button>                                                  -->
32 <!--    </customcontroller>                                                               -->
33 <!--                                                                                      -->
34 <!--  Button Ids:                                                                         -->
35 <!--  'id' is the button ID used by SDL. The key ids recognized from your remote appears  -->
36 <!--  in the log file for each button pressed and when debug mode is enabled.             -->
37 <!--  Use your log to discover and map custom buttons to actions.                         -->
38 <keymap>
39   <global>
40     <customcontroller name="Harmony">
41       <!-- up           -->      <button id="101">Up</button>
42       <!-- down         -->      <button id="102">Down</button>
43       <!-- left         -->      <button id="103">Left</button>
44       <!-- right        -->      <button id="104">Right</button>
45       <!-- OK           -->      <button id="105">Select</button>
46       <!-- menu         -->      <button id="106">ContextMenu</button>
47       <!-- hold play    -->      <button id="107">FullScreen</button>
48       <!-- hold menu    -->      <button id="108">ContextMenu</button>
49       <!-- hold right   -->      <button id="109">Right</button>
50       <!-- hold left    -->      <button id="110">Left</button>
51       <!-- Stop         -->      <button id="115">Stop</button>
52       <!-- Stop Hold    -->      <key id="117"/>
53       <!-- Play         -->      <button id="116">Play</button>
54       <!-- Play Hold    -->      <key id="118"/>
55       <!-- Replay       -->      <button id="191">SkipPrevious</button>
56       <!-- Skip         -->      <button id="192">SkipNext</button>
57       <!-- Record       -->      <button id="152">Screenshot</button>
58       <!-- Rew          -->      <button id="141">Rewind</button>
59       <!-- Fwd          -->      <button id="142">FastForward</button>
60       <!-- Pause        -->      <button id="126">Pause</button>
61       <!-- Prev         -->      <button id="132">ParentDir</button>
62       <!-- Guide        -->      <button id="165">FullScreen</button>
63       <!-- Info         -->      <button id="131">Info</button>
64       <!-- Exit         -->      <button id="151">PreviousMenu</button>
65       <!-- Channel Up   -->      <button id="171">PageUp</button>
66       <!-- Channel Down -->      <button id="172">PageDown</button>
67       <!-- looks like buttons below are duplicates of those above
68       Arrow Up           <button id="171"></button>
69       Arrow Down         <button id="172"></button>
70           -->
71       <!-- Volume +     -->  <button id="121">VolumeUp</button>
72       <!-- Volume -     -->  <button id="122">VolumeDown</button>
73       <!-- 1            -->      <button id="111">Number1</button>
74       <!-- 2            -->      <button id="112">Number2</button>
75       <!-- 3            -->      <button id="113">Number3</button>
76       <!-- 4            -->      <button id="114">Number4</button>
77       <!-- 5            -->      <button id="123">Number5</button>
78       <!-- 6            -->      <button id="124">Number6</button>
79       <!-- 7            -->      <button id="133">Number7</button>
80       <!-- 8            -->      <button id="134">Number8</button>
81       <!-- 9            -->      <button id="143">Number9</button>
82       <!-- 0            -->      <button id="144">Number0</button>
83       <!-- * clear      -->      <button id="145">Back</button>
84       <!-- # enter      -->      <button id="136">Select</button>
85       <!-- Mute         -->      <button id="125">Mute</button>
86       <!-- Aspect       -->      <button id="161">AspectRatio</button>
87       <!-- F1           -->      <button id="153">ActivateWindow(Music)</button>
88       <!-- F3           -->      <button id="155">ActivateWindow(Videos,tvshowtitles,return)</button>
89       <!-- F2           -->      <button id="154">ActivateWindow(Videos,movietitles,return)</button>
90       <!-- F4           -->      <button id="156">ActivateWindow(Weather)</button>
91       <!-- F5                   -->  <button id="193">OSD</button>
92       <!-- F7                   -->  <button id="195">ActivateWindow(Home)</button>
93       <!-- F6                   -->  <button id="194">ActivateWindow(Programs)</button>
94       <!-- F8                   -->  <button id="196">ActivateWindow(FavouritesBrowser)</button>
95       <!-- F9                   -->  <button id="173">ShowVideoMenu</button>
96       <!-- F10                  -->  <button id="174">ShowSubtitles</button>
97       <!-- F11                  -->  <button id="175">NextSubtitle</button>
98       <!-- F12                  -->  <button id="176">ActivateWindow(Videos)</button>
99       <!-- F13                  -->  <button id="163">Playlist</button>
100       <!-- F14                  -->  <button id="164">AudioNextLanguage</button>
101       <!-- Large Down   -->  <button id="182">PageDown</button>
102       <!-- Large Up     -->      <button id="181">PageUp</button>
103       <!-- pwrToggle   -->   <button id="166">ShutDown()</button>
104       <!-- Queue        -->      <button id="162">Queue</button>
105       <!-- Sleep        -->      <button id="146">Suspend()</button>
106       <!-- Red          -->      <button id="183">PlayerProcessInfo</button>
107       <!-- Green        -->      <button id="184">ActivateWindow(Settings)</button>
108       <!-- Yellow       -->      <button id="185">ActivateWindow(SystemSettings)</button>
109       <!-- Blue         -->      <button id="186">ActivateWindow(SystemInfo)</button>
110     </customcontroller>
111   </global>
112   <Home>
113     <customcontroller name="Harmony">
114       <!-- menu         -->      <button id="106">ActivateWindow(PlayerControls)</button>
115       <!-- Info         -->      <button id="131">ActivateWindow(Settings)</button>
116       <!-- Exit         -->      <button id="151">ActivateWindow(ShutdownMenu)</button>
117       <!-- #enter       -->      <button id="136">ActivateWindow(SystemInfo)</button>
118       <!-- 1            -->      <button id="111">ToggleFullScreen</button>
119     </customcontroller>
120   </Home>
121   <FileManager>
122     <customcontroller name="Harmony">
123       <!-- 1            -->      <button id="111">Highlight</button>
124       <!-- 4            -->      <button id="114">Copy</button>
125       <!-- 7            -->      <button id="133">Move</button>
126       <!-- * clear      -->      <button id="145">Delete</button>
127     </customcontroller>
128   </FileManager>
129   <MusicPlaylist>
130     <customcontroller name="Harmony">
131       <!-- * clear      -->      <button id="145">Delete</button>
132       <!-- Channel Up   -->      <button id="171">MoveItemUp</button>
133       <!-- Channel Down -->      <button id="172">MoveItemDown</button>
134     </customcontroller>
135   </MusicPlaylist>
136   <Music>
137     <customcontroller name="Harmony">
138       <!-- 1            -->      <button id="111">number1</button>
139       <!-- 2            -->      <button id="112">JumpSMS2</button>
140       <!-- 3            -->      <button id="113">JumpSMS3</button>
141       <!-- 4            -->      <button id="114">JumpSMS4</button>
142       <!-- 5            -->      <button id="123">JumpSMS5</button>
143       <!-- 6            -->      <button id="124">JumpSMS6</button>
144       <!-- 7            -->      <button id="133">JumpSMS7</button>
145       <!-- 8            -->      <button id="134">JumpSMS8</button>
146       <!-- 9            -->      <button id="143">JumpSMS9</button>
147     </customcontroller>
148   </Music>
149   <FullscreenVideo>
150     <customcontroller name="Harmony">
151       <!-- up           -->      <button id="101">ChapterOrBigStepForward</button>
152       <!-- down         -->      <button id="102">ChapterOrBigStepBack</button>
153       <!-- left         -->      <button id="103">StepBack</button>
154       <!-- right        -->      <button id="104">StepForward</button>
155       <!-- menu         -->      <button id="106">OSD</button>
156       <!-- Prev         -->      <button id="132">SmallStepBack</button>
157     </customcontroller>
158   </FullscreenVideo>
159   <FullscreenLiveTV>
160     <customcontroller name="Harmony">
161       <!-- up           -->      <button id="101">ChannelUp</button>
162       <!-- down         -->      <button id="102">ChannelDown</button>
163       <!-- left         -->      <button id="103">PreviousChannelGroup</button>
164       <!-- right        -->      <button id="104">NextChannelGroup</button>
165     </customcontroller>
166   </FullscreenLiveTV>
167   <FullscreenRadio>
168     <customcontroller name="Harmony">
169       <!-- up           -->      <button id="101">ChannelUp</button>
170       <!-- down         -->      <button id="102">ChannelDown</button>
171       <!-- left         -->      <button id="103">PreviousChannelGroup</button>
172       <!-- right        -->      <button id="104">NextChannelGroup</button>
173     </customcontroller>
174   </FullscreenRadio>
175   <FullscreenInfo>
176     <customcontroller name="Harmony">
177       <!-- Info         -->      <button id="131">Back</button>
178     </customcontroller>
179   </FullscreenInfo>
180   <PlayerControls>
181     <customcontroller name="Harmony">
182       <!-- menu         -->      <button id="106">Back</button>
183     </customcontroller>
184   </PlayerControls>
185   <Visualisation>
186     <customcontroller name="Harmony">
187       <!-- up           -->      <button id="101">IncreaseRating</button>
188       <!-- minus        -->      <button id="102">DecreaseRating</button>
189       <!-- left         -->      <button id="103">PreviousPreset</button>
190       <!-- right        -->      <button id="104">NextPreset</button>
191       <!-- menu         -->      <button id="106">OSD</button>
192       <!-- Prev         -->      <button id="132">LockPreset</button>
193       <!-- F8           -->      <button id="196">ActivateWindow(VisualisationPresetList)</button>
194       <!-- F9           -->      <button id="173">ActivateWindow(AddonSettings)</button>
195     </customcontroller>
196   </Visualisation>
197   <MusicOSD>
198     <customcontroller name="Harmony">
199       <!-- menu         -->      <button id="106">Back</button>
200       <!-- Info         -->      <button id="131">PlayerProcessInfo</button>
201     </customcontroller>
202   </MusicOSD>
203   <AddonSettings>
204     <customcontroller name="Harmony">
205       <!-- menu         -->      <button id="106">Back</button>
206     </customcontroller>
207   </AddonSettings>
208   <VisualisationPresetList>
209     <customcontroller name="Harmony">
210       <!-- menu         -->      <button id="106">Back</button>
211     </customcontroller>
212   </VisualisationPresetList>
213   <SlideShow>
214     <customcontroller name="Harmony">
215       <!-- 1            -->      <button id="111">ZoomLevel1</button>
216       <!-- 2            -->      <button id="112">ZoomLevel2</button>
217       <!-- 3            -->      <button id="113">ZoomLevel3</button>
218       <!-- 4            -->      <button id="114">ZoomLevel4</button>
219       <!-- 5            -->      <button id="123">ZoomLevel5</button>
220       <!-- 6            -->      <button id="124">ZoomLevel6</button>
221       <!-- 7            -->      <button id="133">ZoomLevel7</button>
222       <!-- 8            -->      <button id="134">ZoomLevel8</button>
223       <!-- 9            -->      <button id="143">ZoomLevel9</button>
224       <!-- 0            -->      <button id="144">ZoomNormal</button>
225       <!-- Skip         -->      <button id="192">NextPicture</button>
226       <!-- Replay       -->      <button id="191">PreviousPicture</button>
227       <!-- OK           -->      <button id="105">Rotate</button>
228     </customcontroller>
229   </SlideShow>
230   <ScreenCalibration>
231     <customcontroller name="Harmony">
232       <!-- OK           -->      <button id="105">NextCalibration</button>
233       <!-- 0            -->      <button id="144">ResetCalibration</button>
234       <!-- # enter      -->      <button id="136">NextCalibration</button>
235       <!-- Guide        -->      <button id="165">NextResolution</button>
236     </customcontroller>
237   </ScreenCalibration>
238   <VideoOSD>
239     <customcontroller name="Harmony">
240       <!-- menu         -->      <button id="106">Back</button>
241     </customcontroller>
242   </VideoOSD>
243   <VideoMenu>
244     <customcontroller name="Harmony">
245       <!-- menu         -->      <button id="106">OSD</button>
246       <!-- Info         -->      <button id="131">Info</button>
247     </customcontroller>
248   </VideoMenu>
249   <OSDVideoSettings>
250     <customcontroller name="Harmony">
251       <!-- menu         -->      <button id="106">Back</button>
252     </customcontroller>
253   </OSDVideoSettings>
254   <OSDAudioSettings>
255     <customcontroller name="Harmony">
256       <!-- menu         -->      <button id="106">Back</button>
257     </customcontroller>
258   </OSDAudioSettings>
259   <VideoBookmarks>
260     <customcontroller name="Harmony">
261       <!-- menu         -->      <button id="106">Back</button>
262       <!-- * clear      -->      <button id="145">Delete</button>
263     </customcontroller>
264   </VideoBookmarks>
265   <Videos>
266     <customcontroller name="Harmony">
267       <!-- * clear      -->      <button id="145">Delete</button>
268       <!-- # enter      -->      <button id="136">ToggleWatched</button>
269       <!-- 1            -->      <button id="111">number1</button>
270       <!-- 2            -->      <button id="112">JumpSMS2</button>
271       <!-- 3            -->      <button id="113">JumpSMS3</button>
272       <!-- 4            -->      <button id="114">JumpSMS4</button>
273       <!-- 5            -->      <button id="123">JumpSMS5</button>
274       <!-- 6            -->      <button id="124">JumpSMS6</button>
275       <!-- 7            -->      <button id="133">JumpSMS7</button>
276       <!-- 8            -->      <button id="134">JumpSMS8</button>
277       <!-- 9            -->      <button id="143">JumpSMS9</button>
278     </customcontroller>
279   </Videos>
280   <VideoPlaylist>
281     <customcontroller name="Harmony">
282       <!-- * clear      -->      <button id="145">Delete</button>
283       <!-- Channel Up   -->      <button id="171">MoveItemUp</button>
284       <!-- Channel Down -->      <button id="172">MoveItemDown</button>
285     </customcontroller>
286   </VideoPlaylist>
287   <VirtualKeyboard>
288     <customcontroller name="Harmony">
289       <!-- Prev         -->      <button id="132">BackSpace</button>
290       <!-- * clear      -->      <button id="145">Shift</button>
291       <!-- # enter      -->      <button id="136">Symbols</button>
292       <!-- Rew          -->      <button id="141">CursorLeft</button>
293       <!-- Fwd          -->      <button id="142">CursorRight</button>
294     </customcontroller>
295   </VirtualKeyboard>
296   <Programs>
297     <customcontroller name="Harmony">
298       <!-- Info         -->      <button id="131">info</button>
299     </customcontroller>
300   </Programs>
301   <NumericInput>
302     <customcontroller name="Harmony">
303       <!-- 1            -->      <button id="111">Number1</button>
304       <!-- 2            -->      <button id="112">Number2</button>
305       <!-- 3            -->      <button id="113">Number3</button>
306       <!-- 4            -->      <button id="114">Number4</button>
307       <!-- 5            -->      <button id="123">Number5</button>
308       <!-- 6            -->      <button id="124">Number6</button>
309       <!-- 7            -->      <button id="133">Number7</button>
310       <!-- 8            -->      <button id="134">Number8</button>
311       <!-- 9            -->      <button id="143">Number9</button>
312       <!-- 0            -->      <button id="144">Number0</button>
313       <!-- Prev         -->      <button id="132">BackSpace</button>
314     </customcontroller>
315   </NumericInput>
316   <MusicInformation>
317     <customcontroller name="Harmony">
318       <!-- menu         -->      <button id="106">Back</button>
319     </customcontroller>
320   </MusicInformation>
321   <MovieInformation>
322     <customcontroller name="Harmony">
323       <!-- menu         -->      <button id="106">Back</button>
324     </customcontroller>
325   </MovieInformation>
326   <LockSettings>
327     <customcontroller name="Harmony">
328       <!-- menu         -->      <button id="106">Back</button>
329     </customcontroller>
330   </LockSettings>
331   <ProfileSettings>
332     <customcontroller name="Harmony">
333       <!-- menu         -->      <button id="106">Back</button>
334     </customcontroller>
335   </ProfileSettings>
336   <PictureInfo>
337     <customcontroller name="Harmony">
338       <!-- Replay       -->      <button id="191">PreviousPicture</button>
339       <!-- Skip         -->      <button id="192">NextPicture</button>
340       <!-- Info         -->      <button id="131">Back</button>
341     </customcontroller>
342   </PictureInfo>
343 </keymap>