small RGB touchup

convert boards to extensions
This commit is contained in:
Kyle Brown
2020-10-23 19:42:30 -07:00
parent d21c9bbaff
commit 39dd4b9b11
21 changed files with 155 additions and 60 deletions

View File

@@ -1,5 +1,6 @@
import board
from kmk.extensions.layers import Layers
from kmk.kmk_keyboard import KMKKeyboard as _KMKKeyboard
from kmk.matrix import DiodeOrientation
@@ -27,3 +28,5 @@ class KMKKeyboard(_KMKKeyboard):
board.D13,
)
diode_orientation = DiodeOrientation.COLUMNS
layers_ext = Layers()
extensions = [layers_ext]