blob: 77f288dfc212fe8f4e48452124b0cc5be13da0f6 (
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
|
<?xml version="1.0" encoding="UTF-8"?>
<!-- This file contains the mapping of keys to actions within Kodi. -->
<!-- -->
<!-- The format is: -->
<!-- <window> -->
<!-- <device> -->
<!-- <button>action</button> -->
<!-- </device> -->
<!-- </window> -->
<!-- -->
<!-- The <global> section is a fall through - they will only be used if the button is -->
<!-- not used in the current window's section. -->
<!-- -->
<!-- Actions can be built-in functions. -->
<!-- eg <button id="6">ActivateWindow(Music)</button> -->
<!-- would automatically go to Music on the press of the "Menu" button. -->
<!-- -->
<!-- -->
<!-- An empty action removes the corresponding mapping from default and parent keymaps. -->
<!-- This is different from a "noop" action, which disables a button. -->
<!-- -->
<!-- More documentation on keymaps can be found on http://kodi.wiki/view/keymaps -->
<!-- -->
<!-- To map keys from other remotes using the RCA protocol, you may add -->
<!-- <customcontroller name="Harmony"> blocks. -->
<!-- In this case, the tags used are <button id=""#> where # is the original button code -->
<!-- (OBC) of the key. -->
<!-- You set it up by adding a <customcontroller name="Harmony"> block to the window -->
<!-- or <global> section: -->
<!-- <customcontroller name="Harmony"> -->
<!-- <button id="45">Stop</button> -->
<!-- </customcontroller> -->
<!-- -->
<!-- Button Ids: -->
<!-- 'id' is the button ID used by SDL. The key ids recognized from your remote appears -->
<!-- in the log file for each button pressed and when debug mode is enabled. -->
<!-- Use your log to discover and map custom buttons to actions. -->
<keymap>
<global>
<customcontroller name="Harmony">
<!-- up --> <button id="101">Up</button>
<!-- down --> <button id="102">Down</button>
<!-- left --> <button id="103">Left</button>
<!-- right --> <button id="104">Right</button>
<!-- OK --> <button id="105">Select</button>
<!-- menu --> <button id="106">ContextMenu</button>
<!-- hold play --> <button id="107">FullScreen</button>
<!-- hold menu --> <button id="108">ContextMenu</button>
<!-- hold right --> <button id="109">Right</button>
<!-- hold left --> <button id="110">Left</button>
<!-- Stop --> <button id="115">Stop</button>
<!-- Stop Hold --> <key id="117"/>
<!-- Play --> <button id="116">Play</button>
<!-- Play Hold --> <key id="118"/>
<!-- Replay --> <button id="191">SkipPrevious</button>
<!-- Skip --> <button id="192">SkipNext</button>
<!-- Record --> <button id="152">Screenshot</button>
<!-- Rew --> <button id="141">Rewind</button>
<!-- Fwd --> <button id="142">FastForward</button>
<!-- Pause --> <button id="126">Pause</button>
<!-- Prev --> <button id="132">ParentDir</button>
<!-- Guide --> <button id="165">FullScreen</button>
<!-- Info --> <button id="131">Info</button>
<!-- Exit --> <button id="151">PreviousMenu</button>
<!-- Channel Up --> <button id="171">PageUp</button>
<!-- Channel Down --> <button id="172">PageDown</button>
<!-- looks like buttons below are duplicates of those above
Arrow Up <button id="171"></button>
Arrow Down <button id="172"></button>
-->
<!-- Volume + --> <button id="121">VolumeUp</button>
<!-- Volume - --> <button id="122">VolumeDown</button>
<!-- 1 --> <button id="111">Number1</button>
<!-- 2 --> <button id="112">Number2</button>
<!-- 3 --> <button id="113">Number3</button>
<!-- 4 --> <button id="114">Number4</button>
<!-- 5 --> <button id="123">Number5</button>
<!-- 6 --> <button id="124">Number6</button>
<!-- 7 --> <button id="133">Number7</button>
<!-- 8 --> <button id="134">Number8</button>
<!-- 9 --> <button id="143">Number9</button>
<!-- 0 --> <button id="144">Number0</button>
<!-- * clear --> <button id="145">Back</button>
<!-- # enter --> <button id="136">Select</button>
<!-- Mute --> <button id="125">Mute</button>
<!-- Aspect --> <button id="161">AspectRatio</button>
<!-- F1 --> <button id="153">ActivateWindow(Music)</button>
<!-- F3 --> <button id="155">ActivateWindow(Videos,tvshowtitles,return)</button>
<!-- F2 --> <button id="154">ActivateWindow(Videos,movietitles,return)</button>
<!-- F4 --> <button id="156">ActivateWindow(Weather)</button>
<!-- F5 --> <button id="193">OSD</button>
<!-- F7 --> <button id="195">ActivateWindow(Home)</button>
<!-- F6 --> <button id="194">ActivateWindow(Programs)</button>
<!-- F8 --> <button id="196">ActivateWindow(FavouritesBrowser)</button>
<!-- F9 --> <button id="173">ShowVideoMenu</button>
<!-- F10 --> <button id="174">ShowSubtitles</button>
<!-- F11 --> <button id="175">NextSubtitle</button>
<!-- F12 --> <button id="176">ActivateWindow(Videos)</button>
<!-- F13 --> <button id="163">Playlist</button>
<!-- F14 --> <button id="164">AudioNextLanguage</button>
<!-- Large Down --> <button id="182">PageDown</button>
<!-- Large Up --> <button id="181">PageUp</button>
<!-- pwrToggle --> <button id="166">ShutDown()</button>
<!-- Queue --> <button id="162">Queue</button>
<!-- Sleep --> <button id="146">Suspend()</button>
<!-- Red --> <button id="183">PlayerProcessInfo</button>
<!-- Green --> <button id="184">ActivateWindow(Settings)</button>
<!-- Yellow --> <button id="185">ActivateWindow(SystemSettings)</button>
<!-- Blue --> <button id="186">ActivateWindow(SystemInfo)</button>
</customcontroller>
</global>
<Home>
<customcontroller name="Harmony">
<!-- menu --> <button id="106">ActivateWindow(PlayerControls)</button>
<!-- Info --> <button id="131">ActivateWindow(Settings)</button>
<!-- Exit --> <button id="151">ActivateWindow(ShutdownMenu)</button>
<!-- #enter --> <button id="136">ActivateWindow(SystemInfo)</button>
<!-- 1 --> <button id="111">ToggleFullScreen</button>
</customcontroller>
</Home>
<FileManager>
<customcontroller name="Harmony">
<!-- 1 --> <button id="111">Highlight</button>
<!-- 4 --> <button id="114">Copy</button>
<!-- 7 --> <button id="133">Move</button>
<!-- * clear --> <button id="145">Delete</button>
</customcontroller>
</FileManager>
<MusicPlaylist>
<customcontroller name="Harmony">
<!-- * clear --> <button id="145">Delete</button>
<!-- Channel Up --> <button id="171">MoveItemUp</button>
<!-- Channel Down --> <button id="172">MoveItemDown</button>
</customcontroller>
</MusicPlaylist>
<Music>
<customcontroller name="Harmony">
<!-- 1 --> <button id="111">number1</button>
<!-- 2 --> <button id="112">JumpSMS2</button>
<!-- 3 --> <button id="113">JumpSMS3</button>
<!-- 4 --> <button id="114">JumpSMS4</button>
<!-- 5 --> <button id="123">JumpSMS5</button>
<!-- 6 --> <button id="124">JumpSMS6</button>
<!-- 7 --> <button id="133">JumpSMS7</button>
<!-- 8 --> <button id="134">JumpSMS8</button>
<!-- 9 --> <button id="143">JumpSMS9</button>
</customcontroller>
</Music>
<FullscreenVideo>
<customcontroller name="Harmony">
<!-- up --> <button id="101">ChapterOrBigStepForward</button>
<!-- down --> <button id="102">ChapterOrBigStepBack</button>
<!-- left --> <button id="103">StepBack</button>
<!-- right --> <button id="104">StepForward</button>
<!-- menu --> <button id="106">OSD</button>
<!-- Prev --> <button id="132">SmallStepBack</button>
</customcontroller>
</FullscreenVideo>
<FullscreenLiveTV>
<customcontroller name="Harmony">
<!-- up --> <button id="101">ChannelUp</button>
<!-- down --> <button id="102">ChannelDown</button>
<!-- left --> <button id="103">PreviousChannelGroup</button>
<!-- right --> <button id="104">NextChannelGroup</button>
</customcontroller>
</FullscreenLiveTV>
<FullscreenRadio>
<customcontroller name="Harmony">
<!-- up --> <button id="101">ChannelUp</button>
<!-- down --> <button id="102">ChannelDown</button>
<!-- left --> <button id="103">PreviousChannelGroup</button>
<!-- right --> <button id="104">NextChannelGroup</button>
</customcontroller>
</FullscreenRadio>
<FullscreenInfo>
<customcontroller name="Harmony">
<!-- Info --> <button id="131">Back</button>
</customcontroller>
</FullscreenInfo>
<PlayerControls>
<customcontroller name="Harmony">
<!-- menu --> <button id="106">Back</button>
</customcontroller>
</PlayerControls>
<Visualisation>
<customcontroller name="Harmony">
<!-- up --> <button id="101">IncreaseRating</button>
<!-- minus --> <button id="102">DecreaseRating</button>
<!-- left --> <button id="103">PreviousPreset</button>
<!-- right --> <button id="104">NextPreset</button>
<!-- menu --> <button id="106">OSD</button>
<!-- Prev --> <button id="132">LockPreset</button>
<!-- F8 --> <button id="196">ActivateWindow(VisualisationPresetList)</button>
<!-- F9 --> <button id="173">ActivateWindow(AddonSettings)</button>
</customcontroller>
</Visualisation>
<MusicOSD>
<customcontroller name="Harmony">
<!-- menu --> <button id="106">Back</button>
<!-- Info --> <button id="131">PlayerProcessInfo</button>
</customcontroller>
</MusicOSD>
<AddonSettings>
<customcontroller name="Harmony">
<!-- menu --> <button id="106">Back</button>
</customcontroller>
</AddonSettings>
<VisualisationPresetList>
<customcontroller name="Harmony">
<!-- menu --> <button id="106">Back</button>
</customcontroller>
</VisualisationPresetList>
<SlideShow>
<customcontroller name="Harmony">
<!-- 1 --> <button id="111">ZoomLevel1</button>
<!-- 2 --> <button id="112">ZoomLevel2</button>
<!-- 3 --> <button id="113">ZoomLevel3</button>
<!-- 4 --> <button id="114">ZoomLevel4</button>
<!-- 5 --> <button id="123">ZoomLevel5</button>
<!-- 6 --> <button id="124">ZoomLevel6</button>
<!-- 7 --> <button id="133">ZoomLevel7</button>
<!-- 8 --> <button id="134">ZoomLevel8</button>
<!-- 9 --> <button id="143">ZoomLevel9</button>
<!-- 0 --> <button id="144">ZoomNormal</button>
<!-- Skip --> <button id="192">NextPicture</button>
<!-- Replay --> <button id="191">PreviousPicture</button>
<!-- OK --> <button id="105">Rotate</button>
</customcontroller>
</SlideShow>
<ScreenCalibration>
<customcontroller name="Harmony">
<!-- OK --> <button id="105">NextCalibration</button>
<!-- 0 --> <button id="144">ResetCalibration</button>
<!-- # enter --> <button id="136">NextCalibration</button>
<!-- Guide --> <button id="165">NextResolution</button>
</customcontroller>
</ScreenCalibration>
<VideoOSD>
<customcontroller name="Harmony">
<!-- menu --> <button id="106">Back</button>
</customcontroller>
</VideoOSD>
<VideoMenu>
<customcontroller name="Harmony">
<!-- menu --> <button id="106">OSD</button>
<!-- Info --> <button id="131">Info</button>
</customcontroller>
</VideoMenu>
<OSDVideoSettings>
<customcontroller name="Harmony">
<!-- menu --> <button id="106">Back</button>
</customcontroller>
</OSDVideoSettings>
<OSDAudioSettings>
<customcontroller name="Harmony">
<!-- menu --> <button id="106">Back</button>
</customcontroller>
</OSDAudioSettings>
<VideoBookmarks>
<customcontroller name="Harmony">
<!-- menu --> <button id="106">Back</button>
<!-- * clear --> <button id="145">Delete</button>
</customcontroller>
</VideoBookmarks>
<Videos>
<customcontroller name="Harmony">
<!-- * clear --> <button id="145">Delete</button>
<!-- # enter --> <button id="136">ToggleWatched</button>
<!-- 1 --> <button id="111">number1</button>
<!-- 2 --> <button id="112">JumpSMS2</button>
<!-- 3 --> <button id="113">JumpSMS3</button>
<!-- 4 --> <button id="114">JumpSMS4</button>
<!-- 5 --> <button id="123">JumpSMS5</button>
<!-- 6 --> <button id="124">JumpSMS6</button>
<!-- 7 --> <button id="133">JumpSMS7</button>
<!-- 8 --> <button id="134">JumpSMS8</button>
<!-- 9 --> <button id="143">JumpSMS9</button>
</customcontroller>
</Videos>
<VideoPlaylist>
<customcontroller name="Harmony">
<!-- * clear --> <button id="145">Delete</button>
<!-- Channel Up --> <button id="171">MoveItemUp</button>
<!-- Channel Down --> <button id="172">MoveItemDown</button>
</customcontroller>
</VideoPlaylist>
<VirtualKeyboard>
<customcontroller name="Harmony">
<!-- Prev --> <button id="132">BackSpace</button>
<!-- * clear --> <button id="145">Shift</button>
<!-- # enter --> <button id="136">Symbols</button>
<!-- Rew --> <button id="141">CursorLeft</button>
<!-- Fwd --> <button id="142">CursorRight</button>
</customcontroller>
</VirtualKeyboard>
<Programs>
<customcontroller name="Harmony">
<!-- Info --> <button id="131">info</button>
</customcontroller>
</Programs>
<NumericInput>
<customcontroller name="Harmony">
<!-- 1 --> <button id="111">Number1</button>
<!-- 2 --> <button id="112">Number2</button>
<!-- 3 --> <button id="113">Number3</button>
<!-- 4 --> <button id="114">Number4</button>
<!-- 5 --> <button id="123">Number5</button>
<!-- 6 --> <button id="124">Number6</button>
<!-- 7 --> <button id="133">Number7</button>
<!-- 8 --> <button id="134">Number8</button>
<!-- 9 --> <button id="143">Number9</button>
<!-- 0 --> <button id="144">Number0</button>
<!-- Prev --> <button id="132">BackSpace</button>
</customcontroller>
</NumericInput>
<MusicInformation>
<customcontroller name="Harmony">
<!-- menu --> <button id="106">Back</button>
</customcontroller>
</MusicInformation>
<MovieInformation>
<customcontroller name="Harmony">
<!-- menu --> <button id="106">Back</button>
</customcontroller>
</MovieInformation>
<LockSettings>
<customcontroller name="Harmony">
<!-- menu --> <button id="106">Back</button>
</customcontroller>
</LockSettings>
<ProfileSettings>
<customcontroller name="Harmony">
<!-- menu --> <button id="106">Back</button>
</customcontroller>
</ProfileSettings>
<PictureInfo>
<customcontroller name="Harmony">
<!-- Replay --> <button id="191">PreviousPicture</button>
<!-- Skip --> <button id="192">NextPicture</button>
<!-- Info --> <button id="131">Back</button>
</customcontroller>
</PictureInfo>
</keymap>
|