From 9dbecbcb86d3de4ea3a880e72f8df67dc1c94008 Mon Sep 17 00:00:00 2001 From: Pierre Constantineau Date: Fri, 22 Oct 2021 15:31:00 -0600 Subject: [PATCH] Revert "updated readme.md and deleted pykey60" This reverts commit ec7c04a104077a8dbca4a4cd07769016cf9c6a9e. --- boards/jpconstantineau/PyKey60/kb.py | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 boards/jpconstantineau/PyKey60/kb.py diff --git a/boards/jpconstantineau/PyKey60/kb.py b/boards/jpconstantineau/PyKey60/kb.py new file mode 100644 index 0000000..4945a45 --- /dev/null +++ b/boards/jpconstantineau/PyKey60/kb.py @@ -0,0 +1,27 @@ +import board + +from kmk.kmk_keyboard import KMKKeyboard as _KMKKeyboard +from kmk.matrix import DiodeOrientation + + +class KMKKeyboard(_KMKKeyboard): + col_pins = ( + board.COL1, + board.COL2, + board.COL3, + board.COL4, + board.COL5, + board.COL6, + board.COL7, + board.COL8, + board.COL9, + board.COL10, + board.COL11, + board.COL12, + board.COL13, + board.COL14, + ) + row_pins = (board.ROW1, board.ROW2, board.ROW3, board.ROW4, board.ROW5) + diode_orientation = DiodeOrientation.COL2ROW + rgb_pixel_pin = board.NEOPIXEL + rgb_num_pixels = 61