convert pm based boards to quickpin
This commit is contained in:
@@ -11,3 +11,11 @@ Retailers (USA)
|
||||
|
||||
Extensions enabled by default
|
||||
- [Layers](/docs/layers.md) Need more keys than switches? Use layers.
|
||||
|
||||
## 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
|
||||
```
|
||||
|
@@ -3,9 +3,9 @@
|
||||

|
||||

|
||||
|
||||
The 4x12 ortholinear keyboard is an extremely common and beloved layout within the keyboard community. Made popular by Jack's Planck from OLKB, the 4x12 ortholinear layout is possibly the most popular non-stagger layout available.
|
||||
|
||||
kb.py is designed to work with the nice!nano
|
||||
The 4x12 ortholinear keyboard is an extremely common and beloved layout within
|
||||
the keyboard community. Made popular by Jack's Planck from OLKB, the 4x12
|
||||
ortholinear layout is possibly the most popular non-stagger layout available.
|
||||
|
||||
Retailers (USA)
|
||||
4x12
|
||||
@@ -19,3 +19,10 @@ Extensions enabled by default
|
||||
|
||||
Common Extensions
|
||||
- [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
|
||||
|
@@ -1,25 +1,25 @@
|
||||
import board
|
||||
|
||||
from kmk.kmk_keyboard import KMKKeyboard as _KMKKeyboard
|
||||
from kmk.quickpin.pro_micro.boardsource_blok import pinout as pins
|
||||
from kmk.scanners import DiodeOrientation
|
||||
|
||||
|
||||
class KMKKeyboard(_KMKKeyboard):
|
||||
row_pins = (board.P0_08, board.P0_06, board.P0_17, board.P0_20)
|
||||
row_pins = (board.pins[1], pins[0], board.pins[4], board.pins[5])
|
||||
col_pins = (
|
||||
board.P0_31,
|
||||
board.P0_29,
|
||||
board.P0_02,
|
||||
board.P1_15,
|
||||
board.P1_13,
|
||||
board.P1_11,
|
||||
board.P0_10,
|
||||
board.P0_09,
|
||||
board.P1_06,
|
||||
board.P1_04,
|
||||
board.P0_11,
|
||||
board.P1_00,
|
||||
board.pins[19],
|
||||
board.pins[18],
|
||||
board.pins[17],
|
||||
board.pins[16],
|
||||
board.pins[15],
|
||||
board.pins[14],
|
||||
board.pins[13],
|
||||
board.pins[12],
|
||||
board.pins[11],
|
||||
board.pins[10],
|
||||
board.pins[9],
|
||||
board.pins[8],
|
||||
)
|
||||
diode_orientation = DiodeOrientation.COLUMNS
|
||||
i2c = board.I2C
|
||||
powersave_pin = board.P0_13
|
||||
|
@@ -3,9 +3,12 @@
|
||||

|
||||

|
||||
|
||||
5x12 ortholinear -- for when just really don't want to give up your number row. The 5x12 ortholinear keyboard is a common ortholinear layout that many people prefer because it includes a number row. Made popular by Jack's Preonic from OLKB, the 5x12 ortholinear layout is a great option for those who want to try ortholinear but feel they aren't ready to make the jump to a 40%. The 5x12 Ortho is an approachable keyboard with hotswap compatibility.
|
||||
|
||||
kb.py is designed to work with the nice!nano
|
||||
5x12 ortholinear -- for when just really don't want to give up your number row.
|
||||
The 5x12 ortholinear keyboard is a common ortholinear layout that many people
|
||||
prefer because it includes a number row. Made popular by Jack's Preonic from
|
||||
OLKB, the 5x12 ortholinear layout is a great option for those who want to try
|
||||
ortholinear but feel they aren't ready to make the jump to a 40%. The 5x12 Ortho
|
||||
is an approachable keyboard with hotswap compatibility.
|
||||
|
||||
Retailers (USA)
|
||||
5x12
|
||||
@@ -19,3 +22,10 @@ Extensions enabled by default
|
||||
|
||||
Common Extensions
|
||||
- [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
|
||||
|
@@ -1,25 +1,25 @@
|
||||
import board
|
||||
|
||||
from kmk.kmk_keyboard import KMKKeyboard as _KMKKeyboard
|
||||
from kmk.quickpin.pro_micro.boardsource_blok import pinout as pins
|
||||
from kmk.scanners import DiodeOrientation
|
||||
|
||||
|
||||
class KMKKeyboard(_KMKKeyboard):
|
||||
row_pins = (board.P0_08, board.P0_06, board.P0_17, board.P0_20, board.P0_22)
|
||||
row_pins = (board.pins[1], pins[0], board.pins[4], board.pins[5], board.pins[6])
|
||||
col_pins = (
|
||||
board.P0_31,
|
||||
board.P0_29,
|
||||
board.P0_02,
|
||||
board.P1_15,
|
||||
board.P1_13,
|
||||
board.P1_11,
|
||||
board.P0_10,
|
||||
board.P0_09,
|
||||
board.P1_06,
|
||||
board.P1_04,
|
||||
board.P0_11,
|
||||
board.P1_00,
|
||||
board.pins[19],
|
||||
board.pins[18],
|
||||
board.pins[17],
|
||||
board.pins[16],
|
||||
board.pins[15],
|
||||
board.pins[14],
|
||||
board.pins[13],
|
||||
board.pins[12],
|
||||
board.pins[11],
|
||||
board.pins[10],
|
||||
board.pins[9],
|
||||
board.pins[8],
|
||||
)
|
||||
diode_orientation = DiodeOrientation.COLUMNS
|
||||
i2c = board.I2C
|
||||
powersave_pin = board.P0_13
|
||||
|
@@ -2,9 +2,9 @@
|
||||
|
||||

|
||||
|
||||
The Microdox is is a feature-packed 30% split columnar staggered keyboard. Even though the Microdox is an extremely small keyboard it offers tons of features from larger boards while maintaining a tiny footprint.
|
||||
|
||||
kb.py is designed to work with the nice!nano
|
||||
The Microdox is is a feature-packed 30% split columnar staggered keyboard. Even
|
||||
though the Microdox is an extremely small keyboard it offers tons of features
|
||||
from larger boards while maintaining a tiny footprint.
|
||||
|
||||
Retailers (USA)
|
||||
[Boardsource](https://boardsource.xyz/store/5f2e7e4a2902de7151494f92)
|
||||
@@ -17,3 +17,11 @@ Extensions enabled by default
|
||||
Common Extensions
|
||||
- [Split](/docs/split_keyboards.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
|
||||
```
|
||||
|
@@ -1,21 +1,28 @@
|
||||
import board
|
||||
|
||||
from kmk.kmk_keyboard import KMKKeyboard as _KMKKeyboard
|
||||
from kmk.quickpin.pro_micro.boardsource_blok import pinout as pins
|
||||
from kmk.scanners import DiodeOrientation
|
||||
|
||||
|
||||
class KMKKeyboard(_KMKKeyboard):
|
||||
col_pins = (board.P0_31, board.P0_29, board.P0_02, board.P1_15, board.P1_13)
|
||||
row_pins = (board.P0_10, board.P0_09, board.P1_04, board.P1_06)
|
||||
col_pins = (
|
||||
board.pins[19],
|
||||
board.pins[18],
|
||||
board.pins[17],
|
||||
board.pins[16],
|
||||
board.pins[15],
|
||||
)
|
||||
row_pins = (board.pins[13], board.pins[12], board.pins[10], board.pins[11])
|
||||
diode_orientation = DiodeOrientation.COLUMNS
|
||||
data_pin = board.P0_08
|
||||
rgb_pixel_pin = board.P0_06
|
||||
data_pin = board.pins[1]
|
||||
rgb_pixel_pin = pins[0]
|
||||
rgb_num_pixels = 12
|
||||
i2c = board.I2C
|
||||
powersave_pin = board.P0_13
|
||||
|
||||
# NOQA
|
||||
# flake8: noqa
|
||||
# fmt: off
|
||||
coord_mapping = [
|
||||
0, 1, 2, 3, 4, 20, 21, 22, 23, 24,
|
||||
5, 6, 7, 8, 9, 25, 26, 27, 28, 29,
|
||||
|
Reference in New Issue
Block a user