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) # ---------------------- Keymap --------------------------------------------------------- keyboard.keymap = [
from kb import KMKKeyboard from kmk.extensions.led import LED from kmk.keys import KC from kmk.modules.layers import Layers from kmk.modules.modtap import ModTap keyboard = KMKKeyboard() modtap = ModTap() layers_ext = Layers() led = LED() keyboard.extensions = [led] keyboard.modules = [layers_ext, modtap] # Cleaner key names _______ = KC.TRNS XXXXXXX = KC.NO FN1_SPC = KC.LT(1, KC.SPC) FN2_BSPC = KC.LT(2, KC.BSPC) FN3_C = KC.LT(3, KC.C) FN4_V = KC.LT(4, KC.V) FN5_B = KC.LT(5, KC.B) CTL_Z = KC.CTL_T(KC.Z) ALT_X = KC.ALT(KC.X) ALT_N = KC.ALT(KC.N) CTL_M = KC.CTL(KC.M) SFT_ENT = KC.SFT(KC.ENT) BL_DEC = KC.BL_DEC
from kb import KMKKeyboard from kmk.extensions.layers import Layers from kmk.extensions.split import Split, SplitSide, SplitType from kmk.keys import KC keyboard = KMKKeyboard() # 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) layers_ext = Layers() keyboard.extensions = [layers_ext, split] # Cleaner key names _______ = KC.TRNS XXXXXXX = KC.NO LOWER = KC.MO(2) RAISE = KC.MO(1) KC_Z_SF = KC.LSFT(KC.Z) KC_SLSF = KC.RSFT(KC.SLSH) KC_11SF = KC.LSFT(KC.F11) KC_GRSF = KC.RSFT(KC.GRV) keyboard.keymap = [ [ #QWERTY
from kmk.extensions.media_keys import MediaKeys from kmk.keys import KC from kmk.modules.layers import Layers from kmk.modulessplit import Split, SplitSide, SplitType keyboard = KMKKeyboard() # 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) media = MediaKeys() layers_ext = Layers() keyboard.modules = [layers_ext, split] keyboard.extensions = (media) # Cleaner key names _______ = KC.TRNS XXXXXXX = KC.NO LOWER = KC.MO(1) RAISE = KC.MO(2) ADJUST = KC.MO(3) CALTDEL = KC.LCTL(KC.LALT(KC.DEL)) TSKMGR = KC.LCTL(KC.LSFT(KC.KC_ESC)) keyboard.keymap = [ [ #QWERTY KC.ESC, KC.Q, KC.W, KC.E, KC.R, KC.T, KC.MINS, KC.EQL, KC.Y, KC.U, KC.I, KC.O, KC.P, KC.BSPC,\
# SPDX-FileCopyrightText: 2022 Eva Herrada for Adafruit Industries # SPDX-License-Identifier: MIT from kb import KMKKeyboard from kmk.extensions.media_keys import MediaKeys from kmk.keys import KC from kmk.modules.layers import Layers keyboard = KMKKeyboard() media = MediaKeys() layers_ext = Layers() keyboard.extensions = [media] keyboard.modules = [layers_ext] # Cleaner key names _______ = KC.TRNS XXXXXXX = KC.NO keyboard.keymap = [ [ #Nav Keys KC.INSERT, KC.HOME, KC.PGUP, KC.DELETE, KC.END, KC.PGDOWN, XXXXXXX, KC.UP, XXXXXXX, KC.LEFT, KC.DOWN, KC.RIGHT ], [ #I3 KC.LGUI(KC.L), KC.LGUI(KC.LSHIFT(KC.UP)), KC.LGUI(KC.LSHIFT(KC.P)), KC.LGUI(KC.LSHIFT(KC.LEFT)), KC.LGUI(KC.LSHIFT(KC.DOWN)),