From 27104cc28dc06f650662c5a9b9e1cbbb073581a7 Mon Sep 17 00:00:00 2001 From: Pierre Constantineau Date: Thu, 21 Oct 2021 19:04:35 -0600 Subject: [PATCH] initial batreus files --- boards/jpconstantineau/Batreus44/kb.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 boards/jpconstantineau/Batreus44/kb.py diff --git a/boards/jpconstantineau/Batreus44/kb.py b/boards/jpconstantineau/Batreus44/kb.py new file mode 100644 index 0000000..ac8296c --- /dev/null +++ b/boards/jpconstantineau/Batreus44/kb.py @@ -0,0 +1,14 @@ +import board + +from kmk.kmk_keyboard import KMKKeyboard as _KMKKeyboard +from kmk.matrix import DiodeOrientation + + +class KMKKeyboard(_KMKKeyboard): + col_pins = ( + 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 + ) + row_pins = (board.P0_28, board.P1_11, board.P0_10, board.P1_06) + diode_orientation = DiodeOrientation.COL2ROW +