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/en/scanners.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -184,7 +184,7 @@ class MyKeyboard(KMKKeyboard):
184
184
]
185
185
```
186
186
187
-
If your design requires symetrical encoders (e.g. one on each half of a split keyboard), see Multiple Scanners section below for more details.
187
+
If your design requires symmetrical encoders (e.g. one on each half of a split keyboard), see Multiple Scanners section below for more details.
188
188
189
189
190
190
## `Scanner` base class
@@ -223,7 +223,7 @@ class MyKeyboard(KMKKeyboard):
223
223
224
224
#### Adding Single-Pin Buttons or Rotary Encoders to Keymap Using Scanners and Split
225
225
226
-
In many cases, split keybaords are symetrical in form and function. Some split keyboards also have additional hardware like one or more rotary encoders, or non-matrix-connected media or macro buttons. In this case, you will want to configure multiple scanners.
226
+
In many cases, split keyboards are symmetrical in form and function. Some split keyboards also have additional hardware like one or more rotary encoders, or non-matrix-connected media or macro buttons. In this case, you will want to configure multiple scanners.
227
227
228
228
The `Split` class that you're probably already using creates the `coord_mapping` indexes automatically. However, the `add_buttons` argument will cause it to append any additional "buttons" (or encoder actions) to the `coord_mapping` for _each half_ of the keyboard.
229
229
@@ -271,7 +271,7 @@ if __name__ == '__main__':
271
271
272
272
#### Multiple Scanners `coord_mapping` and keymap changes
273
273
For a more manually-controlled configuration, you can add any other scanners that you need and create your `coord_mapping` in your own code (leaving off the `add_buttons` argument when initializing `Split`)
274
-
Creating and assigning a custom `coord_mapping` should be done before intitializing`Split` or any scanners.
274
+
Creating and assigning a custom `coord_mapping` should be done before initializing`Split` or any scanners.
275
275
276
276
The below examples illustrate how the additional encoder actions are assigned to the `coord_mapping`. Your configuration should follow this pattern.
277
277
@@ -309,4 +309,4 @@ Notice that, despite the visual layout, all of the encoder keys are at the **_en
309
309
Therefore, 4 more key codes can be added in the corresponding places in the `keyboard.keymap`, and they will be assigned to the encoders' actions.
310
310
311
311
312
-
Also note, it may be necessary to configure `Split().split_offset` when configuring your own `coord_mapping` to make sure that the encoders are assigned properly. The value will usually be the first/lowest index value of the right side. In the case of the second example above, the offset value would be 32, but this also depends on your `coord_mapping` layout.
312
+
Also note, it may be necessary to configure `Split().split_offset` when configuring your own `coord_mapping` to make sure that the encoders are assigned properly. The value will usually be the first/lowest index value of the right side. In the case of the second example above, the offset value would be 32, but this also depends on your `coord_mapping` layout.
0 commit comments