kmk_firmware/boards/crowboard/kb.py

27 lines
519 B
Python
Raw Normal View History

2022-05-22 20:21:07 +02:00
import board
from kmk.kmk_keyboard import KMKKeyboard as _KMKKeyboard
from kmk.scanners import DiodeOrientation
class KMKKeyboard(_KMKKeyboard):
col_pins = (
board.GP6,
board.GP7,
board.GP8,
board.GP9,
board.GP10,
board.GP18,
board.GP19,
board.GP20,
board.GP21,
board.GP22,
)
row_pins = (
board.GP14,
board.GP15,
board.GP16,
board.GP17,
)
diode_orientation = DiodeOrientation.COL2ROW