Skip to content

Commit 902f6a6

Browse files
authored
Fixed grammatical mistakes, added clarification (#1022)
When I first wrote this doc, I made a ton of mistakes. Came back to it to clean it up a bit and it should make more sense now.
1 parent 50cf6cc commit 902f6a6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/en/combo_layers.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Combo Layers is when you hold down 2 or more `KC.MO()` or `KC.LM()` keys at a time, and it goes to a defined layer.
44

5-
By default combo layers is not activated. You can activate combo layers by adding this to your `main.py` file.
5+
By default, combo layers are not activated. You can activate combo layers by adding this to your `main.py` file.
66
The `combo_layers` NEEDS to be above the `keyboard.modules.append(Layers(`combo_layers`))`
77

88
```python
@@ -12,10 +12,10 @@ combo_layers = {
1212
keyboard.modules.append(Layers(combo_layers))
1313
```
1414

15-
In the above code, when layer 1 and 2 are held, layer 3 will activate. If you release 1 or 2 it will go to whatever key is still being held, if both are released it goes to the default (0) layer.
16-
You should also notice that if you already have the layers Module activated, you can just add combo layers into `(Layers())`
15+
In the above code, when layers 1 and 2 are held, layer 3 will activate. If you release 1 or 2 it will go to whatever key is still being held; if both are released, it will go to the default (0) layer.
16+
You may have noticed that if you already have the layers module activated, you can add combo layers into `(Layers())`
1717

18-
You can add more, and even add more than 2 layers at a time.
18+
You can even add more than 2 layers at a time.
1919

2020
```python
2121
combo_layers = {
@@ -26,7 +26,7 @@ combo_layers = {
2626

2727
## Limitations
2828

29-
There can only be one combo layer active at a time and for overlapping matches
29+
There can only be one combo layer active at a time, and when the combos are overlapping,
3030
the first matching combo in `combo_layers` takes precedence.
3131
Example:
3232
```python
@@ -38,13 +38,13 @@ layers.combo_layers = {
3838
keyboard.modules.append(Layers(combo_layers))
3939
```
4040
* If you activate layers 1 then 2, your active layer will be layer number 9.
41-
* If you activate layers 1 then 2, then 3, your active layer will be layer
41+
* If you activate layers 1, then 2, then 3, your active layer will be layer
4242
number 3 (because the layer combo `(1,2)` has been activated, but layer 3
4343
stacks on top).
4444
* deactivate 1: you're on layer 3
4545
* deactivate 2: you're on layer 3
4646
* deactivate 3: you're on layer 8
47-
* If you activate layers 3 then 1, then 2, your active layer will be layer
47+
* If you activate layers 3, then 1, then 2, your active layer will be layer
4848
number 8. Deactivate layer
4949
* deactivate any of 1/2/3: you're on layer 0
5050

0 commit comments

Comments
 (0)