]>
Commit | Line | Data |
---|---|---|
1 | { | |
2 | "global": { | |
3 | "ask_for_confirmation_before_quitting": true, | |
4 | "check_for_updates_on_startup": true, | |
5 | "show_in_menu_bar": true, | |
6 | "show_profile_name_in_menu_bar": false, | |
7 | "unsafe_ui": false | |
8 | }, | |
9 | "profiles": [ | |
10 | { | |
11 | "complex_modifications": { | |
12 | "parameters": { | |
13 | "basic.simultaneous_threshold_milliseconds": 50, | |
14 | "basic.to_delayed_action_delay_milliseconds": 500, | |
15 | "basic.to_if_alone_timeout_milliseconds": 1000, | |
16 | "basic.to_if_held_down_threshold_milliseconds": 500, | |
17 | "mouse_motion_to_scroll.speed": 100 | |
18 | }, | |
19 | "rules": [ | |
20 | { | |
21 | "description": "print_screen to command+shift+4", | |
22 | "manipulators": [ | |
23 | { | |
24 | "from": { | |
25 | "key_code": "print_screen" | |
26 | }, | |
27 | "to": [ | |
28 | { | |
29 | "key_code": "4", | |
30 | "modifiers": [ | |
31 | "left_gui", | |
32 | "left_shift" | |
33 | ], | |
34 | "repeat": false | |
35 | } | |
36 | ], | |
37 | "type": "basic" | |
38 | } | |
39 | ] | |
40 | }, | |
41 | { | |
42 | "description": "pause to ctrl+command+q", | |
43 | "manipulators": [ | |
44 | { | |
45 | "from": { | |
46 | "key_code": "pause" | |
47 | }, | |
48 | "to": [ | |
49 | { | |
50 | "key_code": "q", | |
51 | "modifiers": [ | |
52 | "left_gui", | |
53 | "left_control" | |
54 | ], | |
55 | "repeat": false | |
56 | } | |
57 | ], | |
58 | "type": "basic" | |
59 | } | |
60 | ] | |
61 | }, | |
62 | { | |
63 | "description": "Insert to Ctrl+Cmd+Alt+N", | |
64 | "manipulators": [ | |
65 | { | |
66 | "from": { | |
67 | "key_code": "insert" | |
68 | }, | |
69 | "to": [ | |
70 | { | |
71 | "key_code": "n", | |
72 | "modifiers": [ | |
73 | "left_control", | |
74 | "left_alt", | |
75 | "left_gui" | |
76 | ], | |
77 | "repeat": true | |
78 | } | |
79 | ], | |
80 | "type": "basic" | |
81 | } | |
82 | ] | |
83 | } | |
84 | ] | |
85 | }, | |
86 | "devices": [ | |
87 | { | |
88 | "disable_built_in_keyboard_if_exists": false, | |
89 | "fn_function_keys": [], | |
90 | "identifiers": { | |
91 | "is_keyboard": true, | |
92 | "is_pointing_device": false, | |
93 | "product_id": 25903, | |
94 | "vendor_id": 3141 | |
95 | }, | |
96 | "ignore": false, | |
97 | "manipulate_caps_lock_led": false, | |
98 | "simple_modifications": [], | |
99 | "treat_as_built_in_keyboard": false | |
100 | }, | |
101 | { | |
102 | "disable_built_in_keyboard_if_exists": false, | |
103 | "fn_function_keys": [], | |
104 | "identifiers": { | |
105 | "is_keyboard": true, | |
106 | "is_pointing_device": false, | |
107 | "product_id": 834, | |
108 | "vendor_id": 1452 | |
109 | }, | |
110 | "ignore": false, | |
111 | "manipulate_caps_lock_led": true, | |
112 | "simple_modifications": [ | |
113 | { | |
114 | "from": { | |
115 | "key_code": "non_us_backslash" | |
116 | }, | |
117 | "to": [ | |
118 | { | |
119 | "key_code": "grave_accent_and_tilde" | |
120 | } | |
121 | ] | |
122 | }, | |
123 | { | |
124 | "from": { | |
125 | "key_code": "grave_accent_and_tilde" | |
126 | }, | |
127 | "to": [ | |
128 | { | |
129 | "key_code": "non_us_backslash" | |
130 | } | |
131 | ] | |
132 | } | |
133 | ], | |
134 | "treat_as_built_in_keyboard": false | |
135 | }, | |
136 | { | |
137 | "disable_built_in_keyboard_if_exists": false, | |
138 | "fn_function_keys": [], | |
139 | "identifiers": { | |
140 | "is_keyboard": true, | |
141 | "is_pointing_device": false, | |
142 | "product_id": 0, | |
143 | "vendor_id": 13 | |
144 | }, | |
145 | "ignore": false, | |
146 | "manipulate_caps_lock_led": true, | |
147 | "simple_modifications": [], | |
148 | "treat_as_built_in_keyboard": false | |
149 | }, | |
150 | { | |
151 | "disable_built_in_keyboard_if_exists": false, | |
152 | "fn_function_keys": [], | |
153 | "identifiers": { | |
154 | "is_keyboard": false, | |
155 | "is_pointing_device": true, | |
156 | "product_id": 834, | |
157 | "vendor_id": 1452 | |
158 | }, | |
159 | "ignore": true, | |
160 | "manipulate_caps_lock_led": false, | |
161 | "simple_modifications": [], | |
162 | "treat_as_built_in_keyboard": false | |
163 | } | |
164 | ], | |
165 | "fn_function_keys": [ | |
166 | { | |
167 | "from": { | |
168 | "key_code": "f1" | |
169 | }, | |
170 | "to": [ | |
171 | { | |
172 | "consumer_key_code": "display_brightness_decrement" | |
173 | } | |
174 | ] | |
175 | }, | |
176 | { | |
177 | "from": { | |
178 | "key_code": "f2" | |
179 | }, | |
180 | "to": [ | |
181 | { | |
182 | "consumer_key_code": "display_brightness_increment" | |
183 | } | |
184 | ] | |
185 | }, | |
186 | { | |
187 | "from": { | |
188 | "key_code": "f3" | |
189 | }, | |
190 | "to": [ | |
191 | { | |
192 | "key_code": "mission_control" | |
193 | } | |
194 | ] | |
195 | }, | |
196 | { | |
197 | "from": { | |
198 | "key_code": "f4" | |
199 | }, | |
200 | "to": [ | |
201 | { | |
202 | "key_code": "launchpad" | |
203 | } | |
204 | ] | |
205 | }, | |
206 | { | |
207 | "from": { | |
208 | "key_code": "f5" | |
209 | }, | |
210 | "to": [ | |
211 | { | |
212 | "key_code": "illumination_decrement" | |
213 | } | |
214 | ] | |
215 | }, | |
216 | { | |
217 | "from": { | |
218 | "key_code": "f6" | |
219 | }, | |
220 | "to": [ | |
221 | { | |
222 | "key_code": "illumination_increment" | |
223 | } | |
224 | ] | |
225 | }, | |
226 | { | |
227 | "from": { | |
228 | "key_code": "f7" | |
229 | }, | |
230 | "to": [ | |
231 | { | |
232 | "consumer_key_code": "rewind" | |
233 | } | |
234 | ] | |
235 | }, | |
236 | { | |
237 | "from": { | |
238 | "key_code": "f8" | |
239 | }, | |
240 | "to": [ | |
241 | { | |
242 | "consumer_key_code": "play_or_pause" | |
243 | } | |
244 | ] | |
245 | }, | |
246 | { | |
247 | "from": { | |
248 | "key_code": "f9" | |
249 | }, | |
250 | "to": [ | |
251 | { | |
252 | "consumer_key_code": "fast_forward" | |
253 | } | |
254 | ] | |
255 | }, | |
256 | { | |
257 | "from": { | |
258 | "key_code": "f10" | |
259 | }, | |
260 | "to": [ | |
261 | { | |
262 | "consumer_key_code": "mute" | |
263 | } | |
264 | ] | |
265 | }, | |
266 | { | |
267 | "from": { | |
268 | "key_code": "f11" | |
269 | }, | |
270 | "to": [ | |
271 | { | |
272 | "consumer_key_code": "volume_decrement" | |
273 | } | |
274 | ] | |
275 | }, | |
276 | { | |
277 | "from": { | |
278 | "key_code": "f12" | |
279 | }, | |
280 | "to": [ | |
281 | { | |
282 | "consumer_key_code": "volume_increment" | |
283 | } | |
284 | ] | |
285 | } | |
286 | ], | |
287 | "name": "Default profile", | |
288 | "parameters": { | |
289 | "delay_milliseconds_before_open_device": 1000 | |
290 | }, | |
291 | "selected": true, | |
292 | "simple_modifications": [], | |
293 | "virtual_hid_keyboard": { | |
294 | "country_code": 0, | |
295 | "indicate_sticky_modifier_keys_state": true, | |
296 | "mouse_key_xy_scale": 100 | |
297 | } | |
298 | } | |
299 | ] | |
300 | } |