kmk_firmware/boards/jpconstantineau/vcolmx44/kb.py

25 lines
553 B
Python
Raw Normal View History

2021-10-20 06:44:02 +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-20 06:44:02 +02:00
class KMKKeyboard(_KMKKeyboard):
2021-10-22 02:07:52 +02:00
col_pins = (
2021-10-20 06:44:02 +02:00
board.GP20,
board.GP19,
board.GP18,
board.GP17,
board.GP16,
board.GP5,
board.GP4,
board.GP3,
board.GP2,
board.GP1,
board.GP0,
)
2021-10-22 02:07:52 +02:00
row_pins = (board.GP22, board.GP21, board.GP14, board.GP15)
2021-10-20 06:44:02 +02:00
diode_orientation = DiodeOrientation.COL2ROW
rgb_pixel_pin = board.GP28
rgb_num_pixels = 44