This commit is contained in:
BigTuna94 2022-03-30 18:29:38 -04:00 committed by Kyle Brown
parent f12a7e9e9d
commit 8d066e578d

View File

@ -7,6 +7,9 @@ from kmk.modules.layers import Layers
keyboard = KMKKeyboard()
keyboard.modules.append(Layers())
rgb_ext = RGB(pixel_pin=keyboard.rgb_pixel_pin, num_pixels=keyboard.rgb_num_pixels, animation_mode=AnimationModes.STATIC)
keyboard.extensions.append(rgb_ext)
_______ = KC.TRNS
XXXXXXX = KC.NO
@ -26,7 +29,7 @@ keyboard.keymap = [
[ # FN1 Layer
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, KC.RGB_TOG, KC.RGB_MODE_RAINBOW, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
XXXXXXX, _______, _______, _______, _______, _______, _______, FN2, _______, _______, _______,
@ -58,5 +61,6 @@ keyboard.keymap = [
]
]
if __name__ == '__main__':
keyboard.go()