}) WPM = send_string( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Bibendum arcu vitae elementum curabitur vitae nunc sed. Facilisis sed odio morbi quis.' ) _______ = KC.TRNS xxxxxxx = KC.NO HELLA_TD = KC.TD( KC.A, KC.B, send_string('macros in a tap dance? I think yes'), KC.TG(1), ) rgb_ext = RGB(pixel_pin=keyboard.rgb_pixel_pin, num_pixels=keyboard.rgb_num_pixels) layers_ext = Layers() # TODO Comment one of these on each side split_side = SplitSide.LEFT split_side = SplitSide.RIGHT split = Split(split_type=SplitType.BLE, split_side=split_side) keyboard.extensions = [rgb_ext] keyboard.modules = [split, layers_ext] keyboard.keymap = [ [ KC.GESC, KC.N1, KC.N2,
from kmk.extensions.rgb import RGB from kmk.handlers.sequences import send_string, simple_key_sequence from kmk.keys import KC from kmk.modules.layers import Layers from kmk.modules.modtap import ModTap from kmk.modules.split import Split keyboard = KMKKeyboard() # ------------------User level config variables --------------------------------------- keyboard.tap_time = 150 layers = Layers() modtap = ModTap() rgb_ext = RGB(pixel_pin=keyboard.rgb_pixel_pin, num_pixels=27, val_limit=100, hue_default=190, sat_default=100, val_default=5) split = Split() keyboard.modules = [modtap, layers, split] keyboard.extensions = [rgb_ext] _______ = KC.TRNS XXXXXXX = KC.NO SHFT_INS = KC.LSHIFT(KC.INS) BASE = KC.DF(0) GAMING = KC.DF(1) LT1_SP = KC.MO(2) LT2_SP = KC.LT(3, KC.SPC) TAB_SB = KC.LT(5, KC.TAB) SUPER_L = KC.LM(4, KC.LGUI)
def isPi(): return sys.platform == 'BROADCOM' if isPi(): _KEY_CFG = raspi_pins() _LED_PINS = (board.SCK, board.MOSI) else: _KEY_CFG = itsybitsy_pins() _LED_PINS = (board.SCK, board.MOSI) led_strip = adafruit_dotstar.DotStar(_LED_PINS[0], _LED_PINS[1], 12) rgb_ext = RGB( pixel_pin=0, pixels=led_strip, num_pixels=12, animation_mode=AnimationModes.BREATHING_RAINBOW, ) class Keybow(KMKKeyboard): ''' Default keyboard config for the Keybow. ''' extensions = [rgb_ext] def __init__(self): self.matrix = keys_scanner(_KEY_CFG)
from kb import KMKKeyboard from kmk.consts import UnicodeMode from kmk.extensions.rgb import RGB from kmk.handlers.sequences import compile_unicode_string_sequences from kmk.keys import KC from kmk.modules.layers import Layers from kmk.modules.media_keys import MediaKeys from kmk.modules.split import Split, SplitType keyboard = KMKKeyboard() layers = Layers() media_keys = MediaKeys() split = Split(split_type=SplitType.UART) rgb_ext = RGB(pixel_pin=keyboard.rgb_pixel_pin, num_pixels=16, val_limit=150, hue_default=0, sat_default=100, val_default=20) keyboard.modules = [layers, media_keys, split] keyboard.extensions = [rgb_ext] # ------------------User level config variables --------------------------------------- keyboard.unicode_mode = UnicodeMode.LINUX keyboard.tap_time = 150 keyboard.debug_enabled = False LOWER = KC.TT(3) UP_HYP = KC.LT(4, KC.MINS) _______ = KC.TRNS XXXXXXX = KC.NO
LOWER = KC.MO(1) RAISE = KC.MO(2) ADJUST = KC.LT(3, KC.SPC) RGB_TOG = KC.RGB_TOG RGB_HUI = KC.RGB_HUI RGB_HUD = KC.RGB_HUI RGB_SAI = KC.RGB_SAI RGB_SAD = KC.RGB_SAD RGB_VAI = KC.RGB_VAI RGB_VAD = KC.RGB_VAD # Adding extensions rgb = RGB(pixel_pin=rgb_pixel_pin, num_pixels=27, val_limit=100, hue_default=190, sat_default=100, val_default=5) # TODO Comment one of these on each side # Left is 0, Right is 1 split_side = 0 split_side = 1 split = BLE_Split(split_side=split_side) layers_ext = Layers() extensions = [layers_ext, split, rgb] keyboard.keymap = [ [ #QWERTY
keyboard.modules.append(ModTap()) keyboard.extensions.append(MediaKeys()) # Using drive names (KYRIAL, KYRIAR) to recognize sides; use split_side arg if you're not doing it split = Split(split_type=SplitType.UART, use_pio=True) keyboard.modules.append(split) # Uncomment below if you're using encoder encoder_handler = EncoderHandler() encoder_handler.pins = ((keyboard.encoder_pin_0, keyboard.encoder_pin_1, None, False), ) # Uncomment below if you're having RGB rgb_ext = RGB( pixel_pin=keyboard.rgb_pixel_pin, num_pixels=10, animation_mode=AnimationModes.BREATHING_RAINBOW, ) keyboard.extensions.append(rgb_ext) # Edit your layout below # Currently, that's a default QMK Kyria Layout - https://config.qmk.fm/#/splitkb/kyria/rev1/LAYOUT ESC_LCTL = KC.MT(KC.ESC, KC.LCTL) QUOTE_RCTL = KC.MT(KC.QUOTE, KC.RCTL) ENT_LALT = KC.MT(KC.ENT, KC.LALT) MINUS_RCTL = KC.MT(KC.MINUS, KC.RCTL) keyboard.keymap = [ [ KC.TAB, KC.Q, KC.W,
from is31fl3731_pixelbuf import Keybow2040Leds from keybow_2040 import Keybow2040 from kmk.extensions.rgb import RGB, AnimationModes from kmk.keys import KC rgb_ext = RGB( pixel_pin=0, pixels=Keybow2040Leds(16), num_pixels=16, animation_mode=AnimationModes.BREATHING_RAINBOW, ) keybow = Keybow2040() keybow.extensions = [rgb_ext] # fmt: off keybow.keymap = [[ KC.A, KC.B, KC.C, KC.D, KC.E, KC.F, KC.G, KC.H, KC.I, KC.J, KC.K, KC.L, KC.M, KC.N, KC.O, KC.P, KC.Q ]] # fmt: on if __name__ == '__main__': keybow.go()