kmk_firmware/boards/jpconstantineau/Batreus44/kb_BlueMicro840.py

24 lines
540 B
Python
Raw Normal View History

2021-10-22 22:42:44 +02:00
import board
from kmk.kmk_keyboard import KMKKeyboard as _KMKKeyboard
2022-04-09 02:09:24 +02:00
from kmk.scanners import DiodeOrientation
2021-10-22 22:42:44 +02:00
class KMKKeyboard(_KMKKeyboard):
col_pins = (
2021-10-22 22:42:44 +02:00
board.P0_15,
board.P0_17,
board.P0_20,
board.P0_13,
board.P0_24,
board.P0_09,
board.P0_03,
board.P1_13,
board.P0_02,
board.P0_29,
board.P0_26,
board.P0_30,
2021-10-22 22:42:44 +02:00
)
row_pins = (board.P0_28, board.P1_11, board.P0_10, board.P1_06)
diode_orientation = DiodeOrientation.COL2ROW