Added navi10 by u/emdarcher

This commit is contained in:
dherrada
2021-12-20 16:51:27 -05:00
committed by Josh Klar
parent 410cf7af07
commit 7f207062e9
3 changed files with 72 additions and 0 deletions

15
boards/navi10/kb.py Normal file
View File

@@ -0,0 +1,15 @@
import board
from kmk.kmk_keyboard import KMKKeyboard as _KMKKeyboard
from kmk.matrix import DiodeOrientation
class KMKKeyboard(_KMKKeyboard):
row_pins = (board.D10, board.MOSI, board.MISO, board.D8)
col_pins = (
board.D4,
board.D7,
board.SCK,
)
diode_orientation = DiodeOrientation.COLUMNS
i2c = board.I2C