desktop.controller.amgp (raw)
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 |
<?xml version="1.0" encoding="UTF-8"?> <gamecontroller configversion="19" appversion="3.3.4"> <!--The SDL name for a joystick is included for informational purposes only.--> <sdlname>Afterglow Gamepad for PS3</sdlname> <!--The Unique ID for a joystick is included for informational purposes only.--> <uniqueID>0300d3b76f0e000011010000110100003695273</uniqueID> <stickAxisAssociation index="2" xAxis="3" yAxis="4"/> <stickAxisAssociation index="1" xAxis="1" yAxis="2"/> <vdpadButtonAssociations index="1"> <vdpadButtonAssociation axis="0" button="12" direction="1"/> <vdpadButtonAssociation axis="0" button="13" direction="4"/> <vdpadButtonAssociation axis="0" button="14" direction="8"/> <vdpadButtonAssociation axis="0" button="15" direction="2"/> </vdpadButtonAssociations> <names> <controlstickname index="2">Stick 2</controlstickname> <controlstickname index="1">Stick 1</controlstickname> </names> <sets> <!-- main set is for general GUI operations --> <set index="1"> <!-- right stick scrolls --> <stick index="2"> <stickbutton index="7"> <slots> <slot> <code>6</code> <mode>mousebutton</mode> </slot> </slots> </stickbutton> <stickbutton index="5"> <slots> <slot> <code>5</code> <mode>mousebutton</mode> </slot> </slots> </stickbutton> <stickbutton index="3"> <slots> <slot> <code>7</code> <mode>mousebutton</mode> </slot> </slots> </stickbutton> <stickbutton index="1"> <slots> <slot> <code>4</code> <mode>mousebutton</mode> </slot> </slots> </stickbutton> </stick> <!-- left stick moves the mouse pointer --> <stick index="1"> <stickbutton index="7"> <slots> <slot> <code>3</code> <mode>mousemovement</mode> </slot> </slots> </stickbutton> <stickbutton index="5"> <slots> <slot> <code>2</code> <mode>mousemovement</mode> </slot> </slots> </stickbutton> <stickbutton index="3"> <slots> <slot> <code>4</code> <mode>mousemovement</mode> </slot> </slots> </stickbutton> <stickbutton index="1"> <slots> <slot> <code>1</code> <mode>mousemovement</mode> </slot> </slots> </stickbutton> </stick> <!-- dpad is mapped to arrow keys --> <dpad index="1"> <dpadbutton index="8"> <slots> <slot> <code>0x1000012</code> <mode>keyboard</mode> </slot> </slots> </dpadbutton> <dpadbutton index="4"> <slots> <slot> <code>0x1000015</code> <mode>keyboard</mode> </slot> </slots> </dpadbutton> <dpadbutton index="2"> <slots> <slot> <code>0x1000014</code> <mode>keyboard</mode> </slot> </slots> </dpadbutton> <dpadbutton index="1"> <slots> <slot> <code>0x1000013</code> <mode>keyboard</mode> </slot> </slots> </dpadbutton> </dpad> <!-- R&L 1&2 are modbuttons --> <trigger index="6"> <deadZone>2000</deadZone> <throttle>positivehalf</throttle> <triggerbutton index="2"> <slots> <slot> <code>0x1000023</code> <mode>keyboard</mode> </slot> </slots> </triggerbutton> </trigger> <trigger index="5"> <deadZone>2000</deadZone> <throttle>positivehalf</throttle> <triggerbutton index="2"> <slots> <slot> <code>0x1000020</code> <mode>keyboard</mode> </slot> </slots> </triggerbutton> </trigger> <button index="11"> <slots> <slot> <code>0x1000021</code> <mode>keyboard</mode> </slot> </slots> </button> <button index="10"> <slots> <slot> <code>0x1000022</code> <mode>keyboard</mode> </slot> </slots> </button> <!-- face buttons: { sqare: button1, x: button2, circle: button3, triangle: esc } --> <button index="4"> <slots> <slot> <code>0x1000000</code> <mode>keyboard</mode> </slot> </slots> </button> <button index="3"> <slots> <slot> <code>1</code> <mode>mousebutton</mode> </slot> </slots> </button> <button index="2"> <slots> <slot> <code>3</code> <mode>mousebutton</mode> </slot> </slots> </button> <button index="1"> <slots> <slot> <code>2</code> <mode>mousebutton</mode> </slot> </slots> </button> <!-- select = tab, start = enter --> <button index="7"> <slots> <slot> <code>0x1000004</code> <mode>keyboard</mode> </slot> </slots> </button> <button index="5"> <slots> <slot> <code>0x1000001</code> <mode>keyboard</mode> </slot> </slots> </button> <!-- R3 toggles svkbd --> <button index="9"> <slots> <slot> <path>/home/nilix/bin/togglekb.sh</path> <mode>execute</mode> </slot> </slots> </button> <!-- guide button changes to set 2 --> <button index="6"> <slots> <slot> <code>1</code> <mode>setchange</mode> </slot> </slots> </button> </set> <!-- this set is empty so that game configs can take over the controller bindings --> <set index="2"> <trigger index="6"> <throttle>positivehalf</throttle> </trigger> <trigger index="5"> <throttle>positivehalf</throttle> </trigger> <!-- guide button toggles back to set 1 --> <button index="6"> <slots> <slot> <code>0</code> <mode>setchange</mode> </slot> </slots> </button> </set> </sets> </gamecontroller> |