AppleMagicTrackpad
Attachment 'wishes.xml'
Download 1 <!--
2 Ginn Wishes better suited for Mutlitouch trackpad use, such as Apple Magic trackpad.
3 Douglas Baigrie <dbaigrie@gmail.com> - January 11 2011
4 -->
5 <ginn>
6 <global>
7 <!--Trackpad Buttons -->
8 <wish gesture="Tap" fingers="3">
9 <action name="rightclick" when="update">
10 <trigger prop="tap time" min="20" max="400"/>
11 <button>2</button>
12 </action>
13 </wish>
14 <wish gesture="Tap" fingers="2">
15 <action name="middleclick" when="update">
16 <trigger prop="tap time" min="20" max="400"/>
17 <button>3</button>
18 </action>
19 </wish>
20 <!-- Application control -->
21 <wish gesture="Drag" fingers="2">
22 <action name="down" when="update">
23 <trigger prop="delta y" min="20" max="80"/>
24 <!-- <key>Down</key> -->
25 <button>5</button>
26 </action>
27 </wish>
28 <wish gesture="Drag" fingers="2">
29 <action name="up" when="update">
30 <trigger prop="delta y" min="-80" max="-20"/>
31 <!-- <key>Up</key> -->
32 <button>4</button>
33 </action>
34 </wish>
35 <wish gesture="Drag" fingers="2">
36 <action name="left" when="update">
37 <trigger prop="delta x" min="20" max="80"/>
38 <!-- <key>Left</key> -->
39 <button>7</button>
40 </action>
41 </wish>
42 <wish gesture="Drag" fingers="2">
43 <action name="right" when="update">
44 <trigger prop="delta x" min="-80" max="-20"/>
45 <!-- <key>Right</key> -->
46 <button>6</button>
47 </action>
48 </wish>
49
50 <!-- Windows control -->
51 <wish gesture="Pinch" fingers="3">
52 <action name="action1" when="update">
53 <trigger prop="radius delta" min="-80" max="-20"/>
54 <key modifier1="Alt_L">F10</key>
55 </action>
56 </wish>
57 <wish gesture="Pinch" fingers="3">
58 <action name="action1" when="update">
59 <trigger prop="radius delta" min="20" max="80"/>
60 <key modifier1="Alt_L">F10</key>
61 </action>
62 </wish>
63 <wish gesture="Drag" fingers="3">
64 <action name="ringswitcher" when="finish">
65 <trigger prop="delta x" min="100" max="800"/>
66 <key modifier1="Shift_L" modifier2="Super_L">s</key>
67 <!--<key modifier1="Super_L">Tab</key>-->
68 </action>
69 </wish>
70 <wish gesture="Drag" fingers="3">
71 <action name="previouswindow" when="update">
72 <trigger prop="delta x" min="-600" max="-200"/>
73 <key modifier1="Super_L" modifier2="Shift_L">Tab</key>
74 </action>
75 </wish>
76
77
78
79 <!-- System wide - control desktop -->="
80 <wish gesture="Tap" fingers="4">
81 <action name="action1" when="update">
82 <trigger prop="tap time" min="20" max="400"/>
83 <key modifier1="Super_L">E</key>
84 </action>
85 </wish>
86 <wish gesture="Pinch" fingers="4">
87 <action name="zoomout" when="update">
88 <trigger prop="radius delta" min="-80" max="-50"/>
89 <!-- <key modifier1="Super_L">W</key> -->
90 <button modifier1="Super_L">5</button>
91 </action>
92 </wish>
93 <wish gesture="Pinch" fingers="4">
94 <action name="zoomin" when="update">
95 <trigger prop="radius delta" min="50" max="80"/>
96 <button modifier1="Super_L">4</button>
97 </action>
98 </wish>
99 <wish gesture="Drag" fingers="4">
100 <action name="action3" when="finish">
101 <trigger prop="delta x" min="80" max="600"/>
102 <key modifier1="Control_L" modifier2="Alt_L">Left</key>
103 </action>
104 </wish>
105 <wish gesture="Drag" fingers="4">
106 <action name="action4" when="finish">
107 <trigger prop="delta x" min="-600" max="-80"/>
108 <key modifier1="Control_L" modifier2="Alt_L">Right</key>
109 </action>
110 </wish>
111 </global>
112
113 <!-- Applications specific gestures -->
114 <applications>
115 <application name="inkscape">
116 <wish gesture="Pinch" fingers="2">
117 <action name="action1" when="update">
118 <trigger prop="radius delta" min="-200" max="-40"/>
119 <key>KP_Subtract</key>
120 </action>
121 </wish>
122 <wish gesture="Pinch" fingers="2">
123 <action name="action1" when="update">
124 <trigger prop="radius delta" min="40" max="200"/>
125 <key>KP_Add</key>
126 </action>
127 </wish>
128 <wish gesture="Drag" fingers="2">
129 <action name="action5" when="update">
130 <trigger prop="delta x" min="20" max="80"/>
131 <key modifier1="Control_L">Left</key>
132 </action>
133 </wish>
134 <wish gesture="Drag" fingers="2">
135 <action name="action6" when="update">
136 <trigger prop="delta x" min="-80" max="-20"/>
137 <key modifier1="Control_L">Right</key>
138 </action>
139 </wish>
140 <wish gesture="Drag" fingers="2">
141 <action name="action5" when="update">
142 <trigger prop="delta y" min="20" max="80"/>
143 <key modifier1="Control_L">Up</key>
144 </action>
145 </wish>
146 <wish gesture="Drag" fingers="2">
147 <action name="action6" when="update">
148 <trigger prop="delta y" min="-80" max="-20"/>
149 <key modifier1="Control_L">Down</key>
150 </action>
151 </wish>
152 </application>
153
154 <application name="evince">
155 <!--
156 <wish gesture="Drag" fingers="2">
157 <action name="action5" when="update">
158 <trigger prop="delta y" min="20" max="80"/>
159 <key>Page_Up</key>
160 </action>
161 </wish>
162 <wish gesture="Drag" fingers="2">
163 <action name="action6" when="update">
164 <trigger prop="delta y" min="-80" max="-20"/>
165 <key>Page_Down</key>
166 </action>
167 </wish>
168 -->
169 <wish gesture="Pinch" fingers="2">
170 <action name="action1" when="update">
171 <trigger prop="radius delta" min="-200" max="-40"/>
172 <key modifier1="Control_L">KP_Subtract</key>
173 </action>
174 </wish>
175 <wish gesture="Pinch" fingers="2">
176 <action name="action1" when="update">
177 <trigger prop="radius delta" min="40" max="200"/>
178 <key modifier1="Control_L">KP_Add</key>
179 </action>
180 </wish>
181 <!--
182 <wish gesture="Drag" fingers="2">
183 <action name="action5" when="update">
184 <trigger prop="delta x" min="20" max="80"/>
185 <key>Left</key>
186 </action>
187 </wish>
188 <wish gesture="Drag" fingers="2">
189 <action name="action6" when="update">
190 <trigger prop="delta x" min="-80" max="-20"/>
191 <key>Right</key>
192 </action>
193 </wish>
194 -->
195 <wish gesture="Rotate" fingers="2">
196 <action name="rotatecw" when="finish">
197 <trigger prop="angle delta" min="0.03" max="1.5"/>
198 <key modifier1="Control_L">Right</key>
199 </action>
200 </wish>
201 <wish gesture="Rotate" fingers="2">
202 <action name="rotateccw" when="finish">
203 <trigger prop="angle delta" min="-1.5" max="-0.03"/>
204 <key modifier1="Control_L">Left</key>
205 </action>
206 </wish>
207 </application>
208
209 <application name="okular">
210 <wish gesture="Pinch" fingers="2">
211 <action name="action1" when="update">
212 <trigger prop="radius delta" min="-200" max="-40"/>
213 <key modifier1="Control_L">KP_Subtract</key>
214 </action>
215 </wish>
216 <wish gesture="Pinch" fingers="2">
217 <action name="action1" when="update">
218 <trigger prop="radius delta" min="40" max="200"/>
219 <key modifier1="Control_L">KP_Add</key>
220 </action>
221 </wish>
222 </application>
223
224 <application name="openoffice.org-writer">
225 <wish gesture="Pinch" fingers="2">
226 <action name="action1" when="update">
227 <trigger prop="radius delta" min="40" max="200"/>
228 <button modifier1="Control_L">4</button>
229 </action>
230 </wish>
231 <wish gesture="Pinch" fingers="2">
232 <action name="action1" when="update">
233 <trigger prop="radius delta" min="-200" max="-40"/>
234 <button modifier1="Control_L">5</button>
235 </action>
236 </wish>
237 </application>
238
239 <application name="eog">
240 <wish gesture="Pinch" fingers="2">
241 <action name="action1" when="update">
242 <trigger prop="radius delta" min="-200" max="-40"/>
243 <key>KP_Subtract</key>
244 </action>
245 </wish>
246 <wish gesture="Pinch" fingers="2">
247 <action name="action1" when="update">
248 <trigger prop="radius delta" min="40" max="200"/>
249 <key>KP_Add</key>
250 </action>
251 </wish>
252 <wish gesture="Drag" fingers="2">
253 <action name="action5" when="update">
254 <trigger prop="delta y" min="20" max="80"/>
255 <key>Page_Up</key>
256 </action>
257 </wish>
258 <wish gesture="Drag" fingers="2">
259 <action name="action6" when="update">
260 <trigger prop="delta y" min="-80" max="-20"/>
261 <key>Page_Down</key>
262 </action>
263 </wish>
264 <wish gesture="Rotate" fingers="2">
265 <action name="rotatecw" when="finish">
266 <trigger prop="angle delta" min="0.08" max="1.5"/>
267 <key modifier1="Control_L">R</key>
268 </action>
269 </wish>
270 <wish gesture="Rotate" fingers="2">
271 <action name="rotateccw" when="finish">
272 <trigger prop="angle delta" min="-1.5" max="-0.08"/>
273 <key modifier1="Control_L" modifier2="Shift_L">R</key>
274 </action>
275 </wish>
276 </application>
277 <application name="fennec">
278 <wish gesture="Pinch" fingers="2">
279 <action name="action1" when="update">
280 <trigger prop="radius delta" min="-200" max="-40"/>
281 <key modifier1="Control_L">Down</key>
282 </action>
283 </wish>
284 <wish gesture="Pinch" fingers="2">
285 <action name="action1" when="update">
286 <trigger prop="radius delta" min="40" max="200"/>
287 <key modifier1="Control_L">Up</key>
288 </action>
289 </wish>
290 </application>
291
292 <application name="firefox">
293 <!--
294 <wish gesture="Drag" fingers="2">
295 <action name="action5" when="update">
296 <trigger prop="delta y" min="20" max="80"/>
297 <key>Page_Up</key>
298 </action>
299 </wish>
300 <wish gesture="Drag" fingers="2">
301 <action name="action6" when="update">
302 <trigger prop="delta y" min="-80" max="-20"/>
303 <key>Page_Down</key>
304 </action>
305 </wish>
306 <wish gesture="Drag" fingers="2">
307 <action name="action5" when="update">
308 <trigger prop="delta x" min="20" max="80"/>
309 <key>Left</key>
310 </action>
311 </wish>
312 <wish gesture="Drag" fingers="2">
313 <action name="action6" when="update">
314 <trigger prop="delta x" min="-80" max="-20"/>
315 <key>Right</key>
316 </action>
317 </wish>
318 -->
319 <wish gesture="Drag" fingers="5">
320 <action name="historyforward" when="finish">
321 <trigger prop="delta x" min="20" max="80"/>
322 <key modifier1="Alt_L">Right</key>
323 </action>
324 </wish>
325 <wish gesture="Drag" fingers="5">
326 <action name="historyback" when="finish">
327 <trigger prop="delta x" min="-80" max="-20"/>
328 <key modifier="Alt_L">Left</key>
329 </action>
330 </wish>
331 <wish gesture="Pinch" fingers="2">
332 <action name="action1" when="update">
333 <trigger prop="radius delta" min="-200" max="-40"/>
334 <key modifier1="Control_L">KP_Subtract</key>
335 </action>
336 </wish>
337 <wish gesture="Pinch" fingers="2">
338 <action name="action1" when="update">
339 <trigger prop="radius delta" min="40" max="200"/>
340 <key modifier1="Control_L">KP_Add</key>
341 </action>
342 </wish>
343 </application>
344
345 </applications>
346 </ginn>
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.