-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.json
99 lines (98 loc) · 2.25 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"usage0": "[overlays] key: the key to activate the overlay. 'disabled' to disable the overlay",
"usage1": "[mapping] mapping works as follows: when 'key_code' is pressed, 'mapped_keysym' is generated",
"usage2": "[mapped] you may also define a 'mapped_key_label' directly, which will be pressed instead of 'key_code'",
"usage3": "[xkb_code] a list of xkb_codes and their current mappings will be available after first execution",
"usage4": "[mode] if the overlay activation key should act in 'toggle' or 'hold' mode (RE-LOGIN required)",
"overlay1": {
"key": "CAPS",
"mode": "hold",
"mapping": [
{
"key_code": 16,
"mapped_keysym": "braceleft"
},
{
"key_code": 17,
"mapped_keysym": "bracketleft"
},
{
"key_code": 18,
"mapped_keysym": "bracketright"
},
{
"key_code": 19,
"mapped_keysym": "braceright"
},
{
"key_code": 20,
"mapped_keysym": "backslash"
},
{
"key_code": 30,
"mapped_key_label": "PGUP"
},
{
"key_code": 31,
"mapped_key_label": "UP"
},
{
"key_code": 32,
"mapped_key_label": "PGDN"
},
{
"key_code": 43,
"mapped_key_label": "HOME"
},
{
"key_code": 44,
"mapped_key_label": "LEFT"
},
{
"key_code": 45,
"mapped_key_label": "DOWN"
},
{
"key_code": 46,
"mapped_key_label": "RGHT"
},
{
"key_code": 47,
"mapped_key_label": "END"
},
{
"key_code": 11,
"mapped_sequences": {
"down": [
{"text": "\\glqq{} \\grqq{}"},
{"key": "Left", "times": 7}
]
}
},
{
"key_code": 12,
"mapped_sequences": {
"down": [
{"text": "\\flqq{} \\frqq{}"},
{"key": "Left", "times": 7}
]
}
},
{
"key_code": 38,
"mapped_sequences": {
"down": [
{"text": "\\par{}"},
{"key": "Down", "times": 1}
]
}
}
]
},
"overlay2": {
"mode": "hold",
"key": "disabled",
"mapping": [
]
}
}