Skip to content

Commit fff2cd1

Browse files
committed
changes
1 parent 3f316c9 commit fff2cd1

File tree

4 files changed

+400
-89
lines changed

4 files changed

+400
-89
lines changed
Lines changed: 290 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,290 @@
1+
{
2+
"global": {
3+
"ask_for_confirmation_before_quitting": true,
4+
"check_for_updates_on_startup": true,
5+
"show_in_menu_bar": false,
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+
"devices": [
22+
{
23+
"disable_built_in_keyboard_if_exists": false,
24+
"fn_function_keys": [],
25+
"identifiers": {
26+
"is_keyboard": true,
27+
"is_pointing_device": false,
28+
"product_id": 45133,
29+
"vendor_id": 7185
30+
},
31+
"ignore": false,
32+
"manipulate_caps_lock_led": true,
33+
"simple_modifications": [
34+
{
35+
"from": {
36+
"key_code": "caps_lock"
37+
},
38+
"to": [
39+
{
40+
"key_code": "left_control"
41+
}
42+
]
43+
},
44+
{
45+
"from": {
46+
"key_code": "left_command"
47+
},
48+
"to": [
49+
{
50+
"key_code": "left_option"
51+
}
52+
]
53+
},
54+
{
55+
"from": {
56+
"key_code": "left_control"
57+
},
58+
"to": [
59+
{
60+
"key_code": "right_option"
61+
}
62+
]
63+
},
64+
{
65+
"from": {
66+
"key_code": "left_option"
67+
},
68+
"to": [
69+
{
70+
"key_code": "left_command"
71+
}
72+
]
73+
}
74+
],
75+
"treat_as_built_in_keyboard": false
76+
},
77+
{
78+
"disable_built_in_keyboard_if_exists": false,
79+
"fn_function_keys": [],
80+
"identifiers": {
81+
"is_keyboard": true,
82+
"is_pointing_device": false,
83+
"product_id": 834,
84+
"vendor_id": 1452
85+
},
86+
"ignore": false,
87+
"manipulate_caps_lock_led": true,
88+
"simple_modifications": [
89+
{
90+
"from": {
91+
"key_code": "caps_lock"
92+
},
93+
"to": [
94+
{
95+
"key_code": "left_control"
96+
}
97+
]
98+
},
99+
{
100+
"from": {
101+
"key_code": "left_control"
102+
},
103+
"to": [
104+
{
105+
"key_code": "right_option"
106+
}
107+
]
108+
}
109+
],
110+
"treat_as_built_in_keyboard": false
111+
},
112+
{
113+
"disable_built_in_keyboard_if_exists": false,
114+
"fn_function_keys": [],
115+
"identifiers": {
116+
"is_keyboard": false,
117+
"is_pointing_device": true,
118+
"product_id": 834,
119+
"vendor_id": 1452
120+
},
121+
"ignore": true,
122+
"manipulate_caps_lock_led": false,
123+
"simple_modifications": [],
124+
"treat_as_built_in_keyboard": false
125+
},
126+
{
127+
"disable_built_in_keyboard_if_exists": false,
128+
"fn_function_keys": [],
129+
"identifiers": {
130+
"is_keyboard": false,
131+
"is_pointing_device": true,
132+
"product_id": 45133,
133+
"vendor_id": 7185
134+
},
135+
"ignore": true,
136+
"manipulate_caps_lock_led": false,
137+
"simple_modifications": [],
138+
"treat_as_built_in_keyboard": false
139+
},
140+
{
141+
"disable_built_in_keyboard_if_exists": false,
142+
"fn_function_keys": [],
143+
"identifiers": {
144+
"is_keyboard": false,
145+
"is_pointing_device": true,
146+
"product_id": 9488,
147+
"vendor_id": 2362
148+
},
149+
"ignore": true,
150+
"manipulate_caps_lock_led": false,
151+
"simple_modifications": [],
152+
"treat_as_built_in_keyboard": false
153+
}
154+
],
155+
"fn_function_keys": [
156+
{
157+
"from": {
158+
"key_code": "f1"
159+
},
160+
"to": [
161+
{
162+
"consumer_key_code": "display_brightness_decrement"
163+
}
164+
]
165+
},
166+
{
167+
"from": {
168+
"key_code": "f2"
169+
},
170+
"to": [
171+
{
172+
"consumer_key_code": "display_brightness_increment"
173+
}
174+
]
175+
},
176+
{
177+
"from": {
178+
"key_code": "f3"
179+
},
180+
"to": [
181+
{
182+
"apple_vendor_keyboard_key_code": "mission_control"
183+
}
184+
]
185+
},
186+
{
187+
"from": {
188+
"key_code": "f4"
189+
},
190+
"to": [
191+
{
192+
"apple_vendor_keyboard_key_code": "spotlight"
193+
}
194+
]
195+
},
196+
{
197+
"from": {
198+
"key_code": "f5"
199+
},
200+
"to": [
201+
{
202+
"consumer_key_code": "dictation"
203+
}
204+
]
205+
},
206+
{
207+
"from": {
208+
"key_code": "f6"
209+
},
210+
"to": [
211+
{
212+
"key_code": "f6"
213+
}
214+
]
215+
},
216+
{
217+
"from": {
218+
"key_code": "f7"
219+
},
220+
"to": [
221+
{
222+
"consumer_key_code": "rewind"
223+
}
224+
]
225+
},
226+
{
227+
"from": {
228+
"key_code": "f8"
229+
},
230+
"to": [
231+
{
232+
"consumer_key_code": "play_or_pause"
233+
}
234+
]
235+
},
236+
{
237+
"from": {
238+
"key_code": "f9"
239+
},
240+
"to": [
241+
{
242+
"consumer_key_code": "fast_forward"
243+
}
244+
]
245+
},
246+
{
247+
"from": {
248+
"key_code": "f10"
249+
},
250+
"to": [
251+
{
252+
"consumer_key_code": "mute"
253+
}
254+
]
255+
},
256+
{
257+
"from": {
258+
"key_code": "f11"
259+
},
260+
"to": [
261+
{
262+
"consumer_key_code": "volume_decrement"
263+
}
264+
]
265+
},
266+
{
267+
"from": {
268+
"key_code": "f12"
269+
},
270+
"to": [
271+
{
272+
"consumer_key_code": "volume_increment"
273+
}
274+
]
275+
}
276+
],
277+
"name": "Default profile",
278+
"parameters": {
279+
"delay_milliseconds_before_open_device": 1000
280+
},
281+
"selected": true,
282+
"simple_modifications": [],
283+
"virtual_hid_keyboard": {
284+
"country_code": 0,
285+
"indicate_sticky_modifier_keys_state": true,
286+
"mouse_key_xy_scale": 100
287+
}
288+
}
289+
]
290+
}

karabiner/.config/karabiner/karabiner.json

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -478,8 +478,8 @@
478478
"identifiers": {
479479
"is_keyboard": true,
480480
"is_pointing_device": false,
481-
"product_id": 620,
482-
"vendor_id": 1452
481+
"product_id": 32785,
482+
"vendor_id": 12851
483483
},
484484
"ignore": false,
485485
"manipulate_caps_lock_led": true,
@@ -503,6 +503,26 @@
503503
"key_code": "right_option"
504504
}
505505
]
506+
},
507+
{
508+
"from": {
509+
"key_code": "left_option"
510+
},
511+
"to": [
512+
{
513+
"key_code": "left_command"
514+
}
515+
]
516+
},
517+
{
518+
"from": {
519+
"key_code": "left_command"
520+
},
521+
"to": [
522+
{
523+
"key_code": "left_option"
524+
}
525+
]
506526
}
507527
],
508528
"treat_as_built_in_keyboard": false
@@ -513,8 +533,8 @@
513533
"identifiers": {
514534
"is_keyboard": false,
515535
"is_pointing_device": true,
516-
"product_id": 617,
517-
"vendor_id": 76
536+
"product_id": 32785,
537+
"vendor_id": 12851
518538
},
519539
"ignore": true,
520540
"manipulate_caps_lock_led": false,
@@ -527,7 +547,7 @@
527547
"identifiers": {
528548
"is_keyboard": true,
529549
"is_pointing_device": false,
530-
"product_id": 4876,
550+
"product_id": 4907,
531551
"vendor_id": 8916
532552
},
533553
"ignore": false,
@@ -541,7 +561,7 @@
541561
"identifiers": {
542562
"is_keyboard": false,
543563
"is_pointing_device": true,
544-
"product_id": 4876,
564+
"product_id": 4907,
545565
"vendor_id": 8916
546566
},
547567
"ignore": true,

0 commit comments

Comments
 (0)