Merge pull request #4735 from cg110/fix_web_server_mem_leak
[vuplus_xbmc] / system / keymaps / joystick.PS3.Remote.Keyboard.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="PLAYSTATION(R)3 Remote Keyboard">
41       <altname>PS3 Remote Keyboard</altname>
42       <altname>MoSart PS3 Remote Keyboard</altname>
43       <button id="1">Info</button>
44       <button id="2">Select</button>
45       <button id="3">Back</button>
46       <button id="4">ContextMenu</button>
47       <button id="5">SkipPrevious</button>
48       <button id="6">SkipNext</button>
49       <button id="9">Select</button>
50       <button id="10">FullScreen</button>
51       <button id="12">VolumeUp</button>
52       <button id="11">VolumeDown</button>
53       <button id="13">XBMC.ActivateWindow(Home)</button>
54       <hat    id="1" position="left">Left</hat>
55       <hat    id="1" position="right">Right</hat>
56       <hat    id="1" position="up">Up</hat>
57       <hat    id="1" position="down">Down</hat>
58       <axis limit="+1" id="4">VolumeDown</axis>
59       <axis limit="-1" id="4">VolumeUp</axis>
60       <axis limit="+1" id="1">AnalogSeekForward</axis>
61       <axis limit="-1" id="1">AnalogSeekBack</axis>
62       <axis limit="+1" id="13">ScrollUp</axis>
63       <axis limit="+1" id="14">ScrollDown</axis>
64     </joystick>
65   </global>
66   
67   <Visualisation>
68     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
69       <altname>PS3 Remote Keyboard</altname>
70       <altname>MoSart PS3 Remote Keyboard</altname>
71       <button id="4">OSD</button>
72       <button id="1">Info</button>
73       <button id="2">Play</button>
74       <button id="3">Stop</button>
75       <hat    id="1" position="left">SkipPrevious</hat>
76       <hat    id="1" position="right">SkipNext</hat>
77       <hat    id="1" position="up">IncreaseRating</hat>
78       <hat    id="1" position="down">DecreaseRating</hat>
79     </joystick>
80   </Visualisation>
81   
82   <MusicOSD>
83     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
84       <altname>PS3 Remote Keyboard</altname>
85       <altname>MoSart PS3 Remote Keyboard</altname>
86       <button id="4">Back</button>
87     </joystick>
88   </MusicOSD>
89
90   <FullscreenVideo>
91     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
92       <altname>PS3 Remote Keyboard</altname>
93       <altname>MoSart PS3 Remote Keyboard</altname>
94       <button id="2">Play</button>
95       <button id="3">Stop</button>
96       <button id="4">OSD</button>
97       <button id="7">Rewind</button>
98       <button id="8">FastForward</button>
99       <hat    id="1" position="left">StepBack</hat>
100       <hat    id="1" position="right">StepForward</hat>
101       <hat    id="1" position="up">ChapterOrBigStepForward</hat>
102       <hat    id="1" position="down">ChapterOrBigStepBack</hat>
103     </joystick>
104   </FullscreenVideo>
105
106   <FullscreenLiveTV>
107     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
108       <hat    id="1" position="left">PreviousChannelGroup</hat>
109       <hat    id="1" position="right">NextChannelGroup</hat>
110       <hat    id="1" position="up">ChannelUp</hat>
111       <hat    id="1" position="down">ChannelDown</hat>
112     </joystick>
113   </FullscreenLiveTV>
114
115   <VideoOSD>
116     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
117       <altname>PS3 Remote Keyboard</altname>
118       <altname>MoSart PS3 Remote Keyboard</altname>
119       <button id="1">Info</button>
120       <button id="4">OSD</button>
121     </joystick>
122   </VideoOSD>
123   
124   <PictureInfo>
125     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
126       <altname>PS3 Remote Keyboard</altname>
127       <altname>MoSart PS3 Remote Keyboard</altname>
128       <hat    id="1" position="left">PreviousPicture</hat>
129       <hat    id="1" position="right">NextPicture</hat>
130     </joystick>
131   </PictureInfo>
132  
133   <FullscreenInfo>
134     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
135       <altname>PS3 Remote Keyboard</altname>
136       <altname>MoSart PS3 Remote Keyboard</altname>
137       <button id="1">Back</button>
138       <button id="4">OSD</button>
139     </joystick>
140   </FullscreenInfo>
141
142 </keymap>