update docs and examples

This commit is contained in:
xs5871
2022-04-09 00:09:24 +00:00
committed by Kyle Brown
parent 7431192e95
commit 74fa1fb52e
44 changed files with 50 additions and 53 deletions

View File

@@ -5,7 +5,7 @@ Porting a board to KMK is quite simple, and follows this base format.
import board
from kmk.kmk_keyboard import KMKKeyboard as _KMKKeyboard
from kmk.matrix import DiodeOrientation
from kmk.scanners import DiodeOrientation
{EXTENSIONS_IMPORT}
class KMKKeyboard(_KMKKeyboard):
@@ -38,7 +38,7 @@ side, the right side being offset by the number of keys on the left side, as if
the rows were stacked.
That would look like this
```python
from kmk.matrix import intify_coordinate as ic
from kmk.scanners import intify_coordinate as ic
coord_mapping = []
coord_mapping.extend(ic(0, x, 6) for x in range(6))