You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/configuration.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,13 +97,13 @@ keyboard.run()
97
97
98
98
The `keymap` variable can contains multiple layers of keycodes. The `macro_handler` is used to handle all macros. The `pairs_handler` is used to handle any pair-keys.
99
99
100
-
**When `code.py` is saved, the keyboard will reload it. If `code.py` has a syntax error, the keyboard will stop working. But, don't worry, it wouldn't damage the hardware. Use another keyboard to fix the error and save it, then the keyboard will recover.**
100
+
**When `code.py` is saved, the keyboard will reload it. If `code.py` has a syntax error, the keyboard will stop working. But, don't worry, it will not damage the hardware. Just use another keyboard to fix the error and save the file, and then the keyboard will recover.**
101
101
102
102
## Examples
103
103
104
104
If you already Python, configuring the keyboard is simple. If not, here are some examples to get started.
105
105
106
-
1.To swap the positions of <kbd>Caps</kbd> and <kbd>LCtrl</kbd>, just swap `CAPS` and `LCTRL` in `layer 0` of `keymap`:
106
+
1.Swap the positions of <kbd>Caps</kbd> and <kbd>LCtrl</kbd>. To do this, just swap `CAPS` and `LCTRL` in `layer 0` of `keymap`:
107
107
108
108
```python
109
109
# layer 0
@@ -116,7 +116,7 @@ If you already Python, configuring the keyboard is simple. If not, here are some
116
116
),
117
117
```
118
118
119
-
2. Instead of <kbd>D</kbd>, use <kbd>Caps</kbd>as a Tap-key to activate navigation functions. Only need to change `layer 0` to:
119
+
2. IUse <kbd>Caps</kbd>as a Tap-key to activate navigation functions, instead of <kbd>D</kbd>. To implement this, you only need to change `layer 0` to:
120
120
121
121
```python
122
122
# layer 0
@@ -129,7 +129,7 @@ If you already Python, configuring the keyboard is simple. If not, here are some
129
129
),
130
130
```
131
131
132
-
3. Add a new macro. Use <kbd>Fn</kbd>and<kbd>Enter</kbd> to trigger No.1 macro. Just add `MACRO(1)` to `layer 1`:
132
+
3. Add a new macro. For example, the below uses <kbd>Fn</kbd>and<kbd>Enter</kbd> to trigger macro number 1 (the second macro, after macro number 0). Just add `MACRO(1)` to `layer 1`:
133
133
134
134
```python
135
135
# layer 1
@@ -144,7 +144,7 @@ If you already Python, configuring the keyboard is simple. If not, here are some
144
144
145
145
To define the function of the macro, please follow [the macro guide](macro.md)
146
146
147
-
4. Use <kbd>RShift</kbd>, <kbd>RGUI</kbd>, <kbd>Fn</kbd>and<kbd>RCtrl</kbd>as Tap-keys. Tapping them outputs arrows keys (press & release quickly). Just change `layer 0` to:
147
+
4. Use <kbd>RShift</kbd>, <kbd>RGUI</kbd>, <kbd>Fn</kbd>and<kbd>RCtrl</kbd>as Tap-keys, so that tapping them outputs arrows keys (press & release quickly). To do this, just change `layer 0` to:
0 commit comments