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 -->
9 <!-- The format is: -->
11 <!-- <button>action</button> -->
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> -->
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. -->
25 <!-- Joysticks / Gamepads: -->
26 <!-- See the sample PS3 controller configuration below for the format. -->
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. -->
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. -->
36 <!-- Axis Ids / Analog Controls -->
44 <forward>FastForward</forward>
45 <reverse>Rewind</reverse>
50 <select>Select</select>
51 <enter>FullScreen</enter>
52 <pageplus>PageUp</pageplus>
53 <pageminus>PageDown</pageminus>
55 <menu>PreviousMenu</menu>
56 <title>ContextMenu</title>
58 <skipplus>SkipNext</skipplus>
59 <skipminus>SkipPrevious</skipminus>
60 <display>FullScreen</display>
61 <start>PreviousMenu</start>
62 <record>Record</record>
63 <volumeplus>VolumeUp</volumeplus>
64 <volumeminus>VolumeDown</volumeminus>
66 <power>XBMC.ShutDown()</power>
67 <myvideo>XBMC.ActivateWindow(MyVideos)</myvideo>
68 <mymusic>XBMC.ActivateWindow(MyMusic)</mymusic>
69 <mypictures>XBMC.ActivateWindow(MyPictures)</mypictures>
70 <mytv>XBMC.ActivateWindow(MyPVR)</mytv>
71 <guide>XBMC.ActivateWindowAndFocus(MyPVR, 31,0, 10,0)</guide>
72 <livetv>XBMC.ActivateWindowAndFocus(MyPVR, 32,0, 11,0)</livetv>
73 <liveradio>XBMC.ActivateWindowAndFocus(MyPVR, 33,0, 12,0)</liveradio>
74 <recordedtv>XBMC.ActivateWindowAndFocus(MyPVR, 34,0, 13,0)</recordedtv>
75 <epgsearch>XBMC.ActivateWindowAndFocus(MyPVR, 35,0, 14,0)</epgsearch>
76 <red>XBMC.ActivateWindow(MyPVR)</red>
77 <green>XBMC.ActivateWindow(MyVideos)</green>
78 <yellow>XBMC.ActivateWindow(MyMusic)</yellow>
79 <blue>XBMC.ActivateWindow(MyPictures)</blue>
83 <three>JumpSMS3</three>
87 <seven>JumpSMS7</seven>
88 <eight>JumpSMS8</eight>
94 <info>XBMC.ActivateWindow(SystemInfo)</info>
95 <clear>XBMC.ActivateWindow(Weather)</clear>
96 <hash>XBMC.ActivateWindow(Settings)</hash>
101 <clear>Delete</clear>
106 <clear>Delete</clear>
107 <zero>Highlight</zero>
114 <clear>Delete</clear>
118 <MyMusicPlaylistEditor>
122 </MyMusicPlaylistEditor>
140 <three>Number3</three>
144 <seven>Number7</seven>
145 <eight>Number8</eight>
147 <left>StepBack</left>
148 <right>StepForward</right>
149 <up>ChapterOrBigStepForward</up>
150 <down>ChapterOrBigStepBack</down>
155 <title>CodecInfo</title>
157 <guide>XBMC.ActivateWindow(PVROSDGuide)</guide>
158 <teletext>XBMC.ActivateWindow(Teletext)</teletext>
159 <subtitle>NextSubtitle</subtitle>
160 <star>NextSubtitle</star>
161 <language>AudioNextLanguage</language>
162 <playlist>Playlist</playlist>
163 <hash>AudioNextLanguage</hash>
164 <pageplus>SkipNext</pageplus>
165 <pageminus>SkipPrevious</pageminus>
170 <select>Select</select>
171 <enter>Select</enter>
176 <title>CodecInfo</title>
188 <left>PreviousPreset</left>
189 <right>NextPreset</right>
190 <up>IncreaseRating</up>
191 <down>DecreaseRating</down>
193 <title>CodecInfo</title>
194 <select>XBMC.ActivateWindow(VisualisationPresetList)</select>
198 <guide>XBMC.ActivateWindow(PVROSDGuide)</guide>
199 <playlist>XBMC.ActivateWindow(PVROSDChannels)</playlist>
206 <info>CodecInfo</info>
209 <VisualisationSettings>
213 </VisualisationSettings>
214 <VisualisationPresetList>
218 </VisualisationPresetList>
221 <zero>ZoomNormal</zero>
222 <one>ZoomLevel1</one>
223 <two>ZoomLevel2</two>
224 <three>ZoomLevel3</three>
225 <four>ZoomLevel4</four>
226 <five>ZoomLevel5</five>
227 <six>ZoomLevel6</six>
228 <seven>ZoomLevel7</seven>
229 <eight>ZoomLevel8</eight>
230 <nine>ZoomLevel9</nine>
231 <info>CodecInfo</info>
232 <skipplus>NextPicture</skipplus>
233 <skipminus>PreviousPicture</skipminus>
235 <select>Rotate</select>
240 <select>NextCalibration</select>
241 <zero>ResetCalibration</zero>
242 <display>NextResolution</display>
243 <xbox>NextResolution</xbox>
248 <select>NextCalibration</select>
249 <zero>ResetCalibration</zero>
262 <title>CodecInfo</title>
266 <three>Number3</three>
270 <seven>Number7</seven>
271 <eight>Number8</eight>
274 <pageplus>SkipNext</pageplus>
275 <pageminus>SkipPrevious</pageminus>
300 <clear>Delete</clear>
311 <clear>Delete</clear>
317 <back>BackSpace</back>
323 <three>Number3</three>
327 <seven>Number7</seven>
328 <eight>Number8</eight>
331 <pageminus>CursorLeft</pageminus>
332 <pageplus>CursorRight</pageplus>
350 <three>Number3</three>
354 <seven>Number7</seven>
355 <eight>Number8</eight>
358 <back>BackSpace</back>
363 <back>PreviousMenu</back>
370 <yellow>Yellow</yellow>
376 <back>PreviousMenu</back>
400 <back>PreviousMenu</back>
402 </MyPicturesSettings>
405 <back>PreviousMenu</back>
407 </MyProgramsSettings>
410 <back>PreviousMenu</back>
415 <back>PreviousMenu</back>
420 <back>PreviousMenu</back>
425 <back>PreviousMenu</back>
430 <back>PreviousMenu</back>
435 <back>PreviousMenu</back>
437 </AppearanceSettings>
440 <back>PreviousMenu</back>
445 <back>PreviousMenu</back>
450 <back>PreviousMenu</back>
455 <back>PreviousMenu</back>
480 <skipplus>NextPicture</skipplus>
481 <skipminus>PreviousPicture</skipminus>
490 <three>number3</three>
494 <seven>number7</seven>
495 <eight>number8</eight>
499 <yellow>Yellow</yellow>
504 <teletext>Back</teletext>
514 <left>StepBack</left>
515 <right>StepForward</right>
517 <down>ChannelDown</down>
525 <playlist>Close</playlist>
550 <back>PreviousMenu</back>
555 <clear>Delete</clear>