Skip to content

Commit 9910124

Browse files
committed
Refactor keyboard configuration for improved caps lock handling and device management
1 parent 3161ead commit 9910124

1 file changed

Lines changed: 107 additions & 107 deletions

File tree

Lines changed: 107 additions & 107 deletions
Original file line numberDiff line numberDiff line change
@@ -1,111 +1,111 @@
11
{
2-
"global": { "check_for_updates_on_startup": false },
3-
"profiles": [
2+
"global": { "check_for_updates_on_startup": false },
3+
"profiles": [
4+
{
5+
"devices": [
46
{
5-
"devices": [
6-
{
7-
"identifiers": {
8-
"is_keyboard": true,
9-
"product_id": 321,
10-
"vendor_id": 2131
11-
},
12-
"manipulate_caps_lock_led": false,
13-
"simple_modifications": [
14-
{
15-
"from": { "key_code": "caps_lock" },
16-
"to": [{ "key_code": "left_control" }]
17-
},
18-
{
19-
"from": { "key_code": "japanese_pc_nfer" },
20-
"to": [{ "key_code": "japanese_eisuu" }]
21-
},
22-
{
23-
"from": { "key_code": "japanese_pc_xfer" },
24-
"to": [{ "key_code": "japanese_kana" }]
25-
},
26-
{
27-
"from": { "key_code": "left_control" },
28-
"to": [{ "key_code": "left_command" }]
29-
}
30-
]
31-
},
32-
{
33-
"identifiers": {
34-
"is_keyboard": true,
35-
"product_id": 50475,
36-
"vendor_id": 1133
37-
},
38-
"ignore": true,
39-
"manipulate_caps_lock_led": false
40-
},
41-
{
42-
"identifiers": {
43-
"is_keyboard": true,
44-
"product_id": 6496,
45-
"vendor_id": 2821
46-
},
47-
"ignore": true
48-
},
49-
{
50-
"identifiers": {
51-
"is_keyboard": true,
52-
"product_id": 45929,
53-
"vendor_id": 1133
54-
},
55-
"simple_modifications": [
56-
{
57-
"from": { "key_code": "left_control" },
58-
"to": [{ "key_code": "left_command" }]
59-
}
60-
]
61-
},
62-
{
63-
"identifiers": { "is_keyboard": true },
64-
"simple_modifications": [
65-
{
66-
"from": { "key_code": "caps_lock" },
67-
"to": [{ "key_code": "left_command" }]
68-
}
69-
]
70-
},
71-
{
72-
"identifiers": {
73-
"is_keyboard": true,
74-
"product_id": 666,
75-
"vendor_id": 1452
76-
},
77-
"simple_modifications": [
78-
{
79-
"from": { "key_code": "caps_lock" },
80-
"to": [{ "key_code": "left_command" }]
81-
}
82-
]
83-
}
84-
],
85-
"fn_function_keys": [
86-
{
87-
"from": { "key_code": "f3" },
88-
"to": [{ "key_code": "mission_control" }]
89-
},
90-
{
91-
"from": { "key_code": "f4" },
92-
"to": [{ "key_code": "launchpad" }]
93-
},
94-
{
95-
"from": { "key_code": "f5" },
96-
"to": [{ "key_code": "illumination_decrement" }]
97-
},
98-
{
99-
"from": { "key_code": "f6" },
100-
"to": [{ "key_code": "illumination_increment" }]
101-
}
102-
],
103-
"name": "Default profile",
104-
"selected": true,
105-
"virtual_hid_keyboard": {
106-
"country_code": 0,
107-
"keyboard_type_v2": "jis"
7+
"identifiers": {
8+
"is_keyboard": true,
9+
"product_id": 321,
10+
"vendor_id": 2131
11+
},
12+
"manipulate_caps_lock_led": false,
13+
"simple_modifications": [
14+
{
15+
"from": { "key_code": "caps_lock" },
16+
"to": [{ "key_code": "left_control" }]
17+
},
18+
{
19+
"from": { "key_code": "japanese_pc_nfer" },
20+
"to": [{ "key_code": "japanese_eisuu" }]
21+
},
22+
{
23+
"from": { "key_code": "japanese_pc_xfer" },
24+
"to": [{ "key_code": "japanese_kana" }]
25+
},
26+
{
27+
"from": { "key_code": "left_control" },
28+
"to": [{ "key_code": "left_command" }]
10829
}
30+
]
31+
},
32+
{
33+
"identifiers": {
34+
"is_keyboard": true,
35+
"product_id": 50475,
36+
"vendor_id": 1133
37+
},
38+
"ignore": true,
39+
"manipulate_caps_lock_led": false
40+
},
41+
{
42+
"identifiers": {
43+
"is_keyboard": true,
44+
"product_id": 6496,
45+
"vendor_id": 2821
46+
},
47+
"ignore": true
48+
},
49+
{
50+
"identifiers": {
51+
"is_keyboard": true,
52+
"product_id": 45929,
53+
"vendor_id": 1133
54+
},
55+
"simple_modifications": [
56+
{
57+
"from": { "key_code": "left_control" },
58+
"to": [{ "key_code": "left_command" }]
59+
}
60+
]
61+
},
62+
{
63+
"identifiers": { "is_keyboard": true },
64+
"simple_modifications": [
65+
{
66+
"from": { "key_code": "caps_lock" },
67+
"to": [{ "key_code": "left_command" }]
68+
}
69+
]
70+
},
71+
{
72+
"identifiers": {
73+
"is_keyboard": true,
74+
"product_id": 666,
75+
"vendor_id": 1452
76+
},
77+
"simple_modifications": [
78+
{
79+
"from": { "key_code": "caps_lock" },
80+
"to": [{ "key_code": "left_command" }]
81+
}
82+
]
83+
}
84+
],
85+
"fn_function_keys": [
86+
{
87+
"from": { "key_code": "f3" },
88+
"to": [{ "key_code": "mission_control" }]
89+
},
90+
{
91+
"from": { "key_code": "f4" },
92+
"to": [{ "key_code": "launchpad" }]
93+
},
94+
{
95+
"from": { "key_code": "f5" },
96+
"to": [{ "key_code": "illumination_decrement" }]
97+
},
98+
{
99+
"from": { "key_code": "f6" },
100+
"to": [{ "key_code": "illumination_increment" }]
109101
}
110-
]
111-
}
102+
],
103+
"name": "Default profile",
104+
"selected": true,
105+
"virtual_hid_keyboard": {
106+
"country_code": 0,
107+
"keyboard_type_v2": "jis"
108+
}
109+
}
110+
]
111+
}

0 commit comments

Comments
 (0)