diff options
Diffstat (limited to 'misc/kobo/settings/gestures.lua')
-rw-r--r-- | misc/kobo/settings/gestures.lua | 358 |
1 files changed, 358 insertions, 0 deletions
diff --git a/misc/kobo/settings/gestures.lua b/misc/kobo/settings/gestures.lua new file mode 100644 index 0000000..a15d344 --- /dev/null +++ b/misc/kobo/settings/gestures.lua | |||
@@ -0,0 +1,358 @@ | |||
1 | -- we can read Lua syntax here! | ||
2 | return { | ||
3 | ["custom_multiswipes"] = {}, | ||
4 | ["gesture_fm"] = { | ||
5 | ["hold_bottom_left_corner"] = { | ||
6 | ["history"] = true, | ||
7 | ["settings"] = { | ||
8 | ["order"] = { | ||
9 | [1] = "history", | ||
10 | }, | ||
11 | }, | ||
12 | }, | ||
13 | ["hold_bottom_right_corner"] = { | ||
14 | ["settings"] = { | ||
15 | ["order"] = { | ||
16 | [1] = "suspend", | ||
17 | }, | ||
18 | }, | ||
19 | ["suspend"] = true, | ||
20 | }, | ||
21 | ["hold_top_left_corner"] = { | ||
22 | ["exit"] = true, | ||
23 | ["settings"] = { | ||
24 | ["order"] = { | ||
25 | [1] = "exit", | ||
26 | }, | ||
27 | }, | ||
28 | }, | ||
29 | ["hold_top_right_corner"] = { | ||
30 | ["settings"] = { | ||
31 | ["order"] = { | ||
32 | [1] = "terminal", | ||
33 | }, | ||
34 | }, | ||
35 | ["terminal"] = true, | ||
36 | }, | ||
37 | ["multiswipe"] = {}, | ||
38 | ["multiswipe_east_north"] = { | ||
39 | ["history"] = true, | ||
40 | }, | ||
41 | ["multiswipe_east_north_west"] = {}, | ||
42 | ["multiswipe_east_north_west_east"] = {}, | ||
43 | ["multiswipe_east_south"] = { | ||
44 | ["go_to"] = true, | ||
45 | }, | ||
46 | ["multiswipe_east_south_west_north"] = { | ||
47 | ["full_refresh"] = true, | ||
48 | }, | ||
49 | ["multiswipe_east_west"] = {}, | ||
50 | ["multiswipe_east_west_east"] = { | ||
51 | ["favorites"] = true, | ||
52 | }, | ||
53 | ["multiswipe_north_east"] = {}, | ||
54 | ["multiswipe_north_south"] = { | ||
55 | ["folder_up"] = true, | ||
56 | }, | ||
57 | ["multiswipe_north_south_north"] = {}, | ||
58 | ["multiswipe_north_west"] = { | ||
59 | ["folder_shortcuts"] = true, | ||
60 | }, | ||
61 | ["multiswipe_northwest_southwest_northwest"] = { | ||
62 | ["toggle_wifi"] = true, | ||
63 | }, | ||
64 | ["multiswipe_south_east"] = {}, | ||
65 | ["multiswipe_south_east_north"] = {}, | ||
66 | ["multiswipe_south_east_north_south"] = {}, | ||
67 | ["multiswipe_south_north"] = {}, | ||
68 | ["multiswipe_south_north_south"] = {}, | ||
69 | ["multiswipe_south_west"] = { | ||
70 | ["show_frontlight_dialog"] = true, | ||
71 | }, | ||
72 | ["multiswipe_southeast_northeast"] = {}, | ||
73 | ["multiswipe_southeast_northeast_northwest"] = { | ||
74 | ["wifi_on"] = true, | ||
75 | }, | ||
76 | ["multiswipe_southeast_southwest_northwest"] = { | ||
77 | ["wifi_off"] = true, | ||
78 | }, | ||
79 | ["multiswipe_west_east"] = {}, | ||
80 | ["multiswipe_west_east_west"] = { | ||
81 | ["open_previous_document"] = true, | ||
82 | }, | ||
83 | ["multiswipe_west_north"] = {}, | ||
84 | ["multiswipe_west_south"] = { | ||
85 | ["back"] = true, | ||
86 | }, | ||
87 | ["one_finger_swipe_right_edge_down"] = { | ||
88 | ["full_refresh"] = true, | ||
89 | ["settings"] = { | ||
90 | ["order"] = { | ||
91 | [1] = "full_refresh", | ||
92 | }, | ||
93 | }, | ||
94 | }, | ||
95 | ["one_finger_swipe_right_edge_up"] = { | ||
96 | ["full_refresh"] = true, | ||
97 | ["settings"] = { | ||
98 | ["order"] = { | ||
99 | [1] = "full_refresh", | ||
100 | }, | ||
101 | }, | ||
102 | }, | ||
103 | ["pinch_gesture"] = { | ||
104 | ["folder_up"] = true, | ||
105 | ["settings"] = { | ||
106 | ["order"] = { | ||
107 | [1] = "folder_up", | ||
108 | }, | ||
109 | }, | ||
110 | }, | ||
111 | ["short_diagonal_swipe"] = { | ||
112 | ["settings"] = { | ||
113 | ["order"] = { | ||
114 | [1] = "show_menu", | ||
115 | }, | ||
116 | }, | ||
117 | ["show_menu"] = true, | ||
118 | }, | ||
119 | ["spread_gesture"] = { | ||
120 | ["open_previous_document"] = true, | ||
121 | ["settings"] = { | ||
122 | ["order"] = { | ||
123 | [1] = "open_previous_document", | ||
124 | }, | ||
125 | }, | ||
126 | }, | ||
127 | ["tap_left_bottom_corner"] = { | ||
128 | ["settings"] = { | ||
129 | ["order"] = { | ||
130 | [1] = "show_frontlight_dialog", | ||
131 | }, | ||
132 | }, | ||
133 | ["show_frontlight_dialog"] = true, | ||
134 | }, | ||
135 | ["two_finger_swipe_east"] = { | ||
136 | ["settings"] = { | ||
137 | ["order"] = { | ||
138 | [1] = "toggle_wifi", | ||
139 | }, | ||
140 | }, | ||
141 | ["toggle_wifi"] = true, | ||
142 | }, | ||
143 | ["two_finger_swipe_north"] = { | ||
144 | ["settings"] = { | ||
145 | ["order"] = { | ||
146 | [1] = "show_network_info", | ||
147 | }, | ||
148 | }, | ||
149 | ["show_network_info"] = true, | ||
150 | }, | ||
151 | ["two_finger_swipe_south"] = { | ||
152 | ["reboot"] = true, | ||
153 | ["settings"] = { | ||
154 | ["order"] = { | ||
155 | [1] = "reboot", | ||
156 | }, | ||
157 | }, | ||
158 | }, | ||
159 | ["two_finger_swipe_west"] = { | ||
160 | ["settings"] = { | ||
161 | ["order"] = { | ||
162 | [1] = "toggle_ssh_server", | ||
163 | }, | ||
164 | }, | ||
165 | ["toggle_ssh_server"] = true, | ||
166 | }, | ||
167 | }, | ||
168 | ["gesture_reader"] = { | ||
169 | ["double_tap_left_side"] = { | ||
170 | ["page_jmp"] = -10, | ||
171 | }, | ||
172 | ["double_tap_right_side"] = { | ||
173 | ["page_jmp"] = 10, | ||
174 | }, | ||
175 | ["hold_bottom_left_corner"] = { | ||
176 | ["history"] = true, | ||
177 | ["settings"] = { | ||
178 | ["order"] = { | ||
179 | [1] = "history", | ||
180 | }, | ||
181 | }, | ||
182 | }, | ||
183 | ["hold_bottom_right_corner"] = { | ||
184 | ["settings"] = { | ||
185 | ["order"] = { | ||
186 | [1] = "suspend", | ||
187 | }, | ||
188 | }, | ||
189 | ["suspend"] = true, | ||
190 | }, | ||
191 | ["hold_top_left_corner"] = { | ||
192 | ["screenshot"] = true, | ||
193 | ["settings"] = { | ||
194 | ["order"] = { | ||
195 | [1] = "screenshot", | ||
196 | }, | ||
197 | }, | ||
198 | }, | ||
199 | ["hold_top_right_corner"] = { | ||
200 | ["book_info"] = true, | ||
201 | ["settings"] = { | ||
202 | ["order"] = { | ||
203 | [1] = "book_info", | ||
204 | }, | ||
205 | }, | ||
206 | }, | ||
207 | ["multiswipe"] = {}, | ||
208 | ["multiswipe_east_north"] = { | ||
209 | ["history"] = true, | ||
210 | }, | ||
211 | ["multiswipe_east_north_west"] = { | ||
212 | ["zoom"] = "contentwidth", | ||
213 | }, | ||
214 | ["multiswipe_east_north_west_east"] = { | ||
215 | ["zoom"] = "pagewidth", | ||
216 | }, | ||
217 | ["multiswipe_east_south"] = { | ||
218 | ["go_to"] = true, | ||
219 | }, | ||
220 | ["multiswipe_east_south_west_north"] = { | ||
221 | ["full_refresh"] = true, | ||
222 | }, | ||
223 | ["multiswipe_east_west"] = { | ||
224 | ["latest_bookmark"] = true, | ||
225 | }, | ||
226 | ["multiswipe_east_west_east"] = { | ||
227 | ["favorites"] = true, | ||
228 | }, | ||
229 | ["multiswipe_north_east"] = { | ||
230 | ["toc"] = true, | ||
231 | }, | ||
232 | ["multiswipe_north_south"] = {}, | ||
233 | ["multiswipe_north_south_north"] = { | ||
234 | ["prev_chapter"] = true, | ||
235 | }, | ||
236 | ["multiswipe_north_west"] = { | ||
237 | ["bookmarks"] = true, | ||
238 | }, | ||
239 | ["multiswipe_northwest_southwest_northwest"] = { | ||
240 | ["toggle_wifi"] = true, | ||
241 | }, | ||
242 | ["multiswipe_south_east"] = { | ||
243 | ["toggle_reflow"] = true, | ||
244 | }, | ||
245 | ["multiswipe_south_east_north"] = { | ||
246 | ["zoom"] = "contentheight", | ||
247 | }, | ||
248 | ["multiswipe_south_east_north_south"] = { | ||
249 | ["zoom"] = "pageheight", | ||
250 | }, | ||
251 | ["multiswipe_south_north"] = { | ||
252 | ["skim"] = true, | ||
253 | }, | ||
254 | ["multiswipe_south_north_south"] = { | ||
255 | ["next_chapter"] = true, | ||
256 | }, | ||
257 | ["multiswipe_south_west"] = { | ||
258 | ["show_frontlight_dialog"] = true, | ||
259 | }, | ||
260 | ["multiswipe_southeast_northeast"] = { | ||
261 | ["follow_nearest_link"] = true, | ||
262 | }, | ||
263 | ["multiswipe_southeast_northeast_northwest"] = { | ||
264 | ["wifi_on"] = true, | ||
265 | }, | ||
266 | ["multiswipe_southeast_southwest_northwest"] = { | ||
267 | ["wifi_off"] = true, | ||
268 | }, | ||
269 | ["multiswipe_west_east"] = { | ||
270 | ["previous_location"] = true, | ||
271 | }, | ||
272 | ["multiswipe_west_east_west"] = { | ||
273 | ["open_previous_document"] = true, | ||
274 | }, | ||
275 | ["multiswipe_west_north"] = { | ||
276 | ["book_status"] = true, | ||
277 | }, | ||
278 | ["multiswipe_west_south"] = { | ||
279 | ["back"] = true, | ||
280 | }, | ||
281 | ["one_finger_swipe_right_edge_down"] = { | ||
282 | ["page_browser"] = true, | ||
283 | ["settings"] = { | ||
284 | ["order"] = { | ||
285 | [1] = "page_browser", | ||
286 | }, | ||
287 | }, | ||
288 | }, | ||
289 | ["one_finger_swipe_right_edge_up"] = { | ||
290 | ["book_map"] = true, | ||
291 | ["settings"] = { | ||
292 | ["order"] = { | ||
293 | [1] = "book_map", | ||
294 | }, | ||
295 | }, | ||
296 | }, | ||
297 | ["pinch_gesture"] = { | ||
298 | ["filemanager"] = true, | ||
299 | ["settings"] = { | ||
300 | ["order"] = { | ||
301 | [1] = "filemanager", | ||
302 | }, | ||
303 | }, | ||
304 | }, | ||
305 | ["short_diagonal_swipe"] = { | ||
306 | ["settings"] = { | ||
307 | ["order"] = { | ||
308 | [1] = "show_menu", | ||
309 | }, | ||
310 | }, | ||
311 | ["show_menu"] = true, | ||
312 | }, | ||
313 | ["spread_gesture"] = { | ||
314 | ["open_previous_document"] = true, | ||
315 | ["settings"] = { | ||
316 | ["order"] = { | ||
317 | [1] = "open_previous_document", | ||
318 | }, | ||
319 | }, | ||
320 | }, | ||
321 | ["tap_left_bottom_corner"] = { | ||
322 | ["settings"] = { | ||
323 | ["order"] = { | ||
324 | [1] = "show_frontlight_dialog", | ||
325 | }, | ||
326 | }, | ||
327 | ["show_frontlight_dialog"] = true, | ||
328 | }, | ||
329 | ["tap_top_left_corner"] = { | ||
330 | ["toggle_page_flipping"] = true, | ||
331 | }, | ||
332 | ["tap_top_right_corner"] = { | ||
333 | ["toggle_bookmark"] = true, | ||
334 | }, | ||
335 | ["two_finger_swipe_east"] = { | ||
336 | ["toc"] = true, | ||
337 | }, | ||
338 | ["two_finger_swipe_north"] = { | ||
339 | ["settings"] = { | ||
340 | ["order"] = { | ||
341 | [1] = "toggle_gsensor", | ||
342 | }, | ||
343 | }, | ||
344 | ["toggle_gsensor"] = true, | ||
345 | }, | ||
346 | ["two_finger_swipe_south"] = { | ||
347 | ["settings"] = { | ||
348 | ["order"] = { | ||
349 | [1] = "skim", | ||
350 | }, | ||
351 | }, | ||
352 | ["skim"] = true, | ||
353 | }, | ||
354 | ["two_finger_swipe_west"] = { | ||
355 | ["bookmarks"] = true, | ||
356 | }, | ||
357 | }, | ||
358 | } | ||