convert pm based boards to quickpin
This commit is contained in:
@@ -2,10 +2,12 @@
|
||||
|
||||

|
||||
|
||||
The Lily58 is a 58 key split keyboard design by kata0510, featuring a 6x4 columnar stagger and 4 thumb cluster keys on each hand. The Lily58 is a perfect choice for people who want to be on a split keyboard but still want to have a fairly standard amount of keys.
|
||||
The Lily58 is a 58 key split keyboard design by kata0510, featuring a 6x4
|
||||
columnar stagger and 4 thumb cluster keys on each hand. The Lily58 is a perfect
|
||||
choice for people who want to be on a split keyboard but still want to have a
|
||||
fairly standard amount of keys.
|
||||
|
||||
Hardware Availability: [PCB & Case Source](https://github.com/kata0510/Lily58)
|
||||
kb.py is designed to work with the nice!nano
|
||||
|
||||
Retailers (USA)
|
||||
[Boardsource](https://boardsource.xyz/store/5ec9df84c6b834480de6c3d0)
|
||||
@@ -18,3 +20,11 @@ Extensions enabled by default
|
||||
Common Extensions
|
||||
- [Split](/docs/split.md) Connects halves using a wire
|
||||
- [Power](/docs/power.md) Powersaving features for battery life
|
||||
|
||||
## Microcontroller support
|
||||
|
||||
Update this line in `kb.py` to any supported microcontroller in `kmk/quickpin/pro_micro`
|
||||
|
||||
```python
|
||||
from kmk.quickpin.pro_micro.boardsource_blok import pinout as pins
|
||||
```
|
||||
|
@@ -6,22 +6,28 @@ from kmk.scanners import DiodeOrientation
|
||||
|
||||
class KMKKeyboard(_KMKKeyboard):
|
||||
col_pins = (
|
||||
board.P0_02,
|
||||
board.P1_15,
|
||||
board.P1_13,
|
||||
board.P1_11,
|
||||
board.P0_10,
|
||||
board.P0_09,
|
||||
board.pins[17],
|
||||
board.pins[16],
|
||||
board.pins[15],
|
||||
board.pins[14],
|
||||
board.pins[13],
|
||||
board.pins[12],
|
||||
)
|
||||
row_pins = (
|
||||
board.pins[7],
|
||||
board.pins[8],
|
||||
board.pins[9],
|
||||
board.pins[10],
|
||||
board.pins[11],
|
||||
)
|
||||
row_pins = (board.P0_24, board.P1_00, board.P0_11, board.P1_04, board.P1_06)
|
||||
diode_orientation = DiodeOrientation.COLUMNS
|
||||
uart_pin = board.P0_08
|
||||
rgb_pixel_pin = board.P0_06
|
||||
data_pin = board.P0_08
|
||||
uart_pin = board.pins[1]
|
||||
rgb_pixel_pin = pins[0]
|
||||
data_pin = board.pins[1]
|
||||
i2c = board.I2C
|
||||
powersave_pin = board.P0_13
|
||||
|
||||
# flake8: noqa
|
||||
# fmt: off
|
||||
coord_mapping = [
|
||||
0, 1, 2, 3, 4, 5, 36, 35, 34, 33, 32, 31,
|
||||
6, 7, 8, 9, 10, 11, 42, 41, 40, 39, 38, 37,
|
||||
|
Reference in New Issue
Block a user