added gridmx47 keymap

This commit is contained in:
Pierre Constantineau
2021-10-26 18:55:50 -06:00
committed by Josh Klar
parent 9aa3a21900
commit f9dd03f207
3 changed files with 61 additions and 29 deletions

View File

@@ -5,20 +5,8 @@ from kmk.matrix import DiodeOrientation
class KMKKeyboard(_KMKKeyboard):
col_pins = (
board.GP11,
board.GP12,
board.GP13,
board.GP14,
board.GP15,
board.GP19,
board.GP20,
board.GP21,
board.GP22,
board.GP26,
board.GP27,
board.GP28,
)
col_pins = (board.GP11, board.GP12, board.GP13, board.GP14, board.GP15, board.GP19, board.GP20,
board.GP21, board.GP22, board.GP26, board.GP27, board.GP28)
row_pins = (board.GP7, board.GP8, board.GP9, board.GP10)
diode_orientation = DiodeOrientation.COL2ROW
rgb_pixel_pin = board.GP6

View File

@@ -5,21 +5,9 @@ from kmk.matrix import DiodeOrientation
class KMKKeyboard(_KMKKeyboard):
col_pins = (
board.GP11,
board.GP12,
board.GP13,
board.GP14,
board.GP15,
board.GP19,
board.GP20,
board.GP21,
board.GP22,
board.GP26,
board.GP27,
board.GP28,
)
col_pins = (board.GP11, board.GP12, board.GP13, board.GP14, board.GP15, board.GP19, board.GP20,
board.GP21, board.GP22, board.GP26, board.GP27, board.GP28)
row_pins = (board.GP7, board.GP8, board.GP9, board.GP10)
diode_orientation = DiodeOrientation.COL2ROW
rgb_pixel_pin = board.GP6
rgb_num_pixels = 47
rgb_num_pixels = 43