Massive update for all boards
This commit is contained in:
1 parent
dea771fd7f
commit
d2407e9bd8
85 files changed
+1601
-714
No files matched your search
@@ -1,10 +1,13 @@
|
||||
from kmk.boards.converter.keebio.iris_r2 import KMKKeyboard
|
||||
from kmk.consts import LeaderMode, UnicodeMode
|
||||
from kb import KMKKeyboard
|
||||
from kmk.consts import UnicodeMode
|
||||
from kmk.extensions.layers import Layers
|
||||
from kmk.extensions.leader import Leader, LeaderMode
|
||||
from kmk.handlers.sequences import compile_unicode_string_sequences as cuss
|
||||
from kmk.handlers.sequences import send_string
|
||||
from kmk.keys import KC
|
||||
|
||||
keyboard = KMKKeyboard()
|
||||
layers_ext = Layers()
|
||||
|
||||
keyboard.debug_enabled = False
|
||||
keyboard.unicode_mode = UnicodeMode.LINUX
|
||||
@@ -43,8 +46,7 @@ emoticons = cuss({
|
||||
|
||||
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.')
|
||||
|
||||
keyboard.leader_mode = LeaderMode.ENTER
|
||||
keyboard.leader_dictionary = {
|
||||
leader_dictionary = {
|
||||
'hello': send_string('hello world from kmk macros'),
|
||||
'wpm': WPM,
|
||||
'atf': emoticons.ANGRY_TABLE_FLIP,
|
||||
@@ -70,6 +72,9 @@ HELLA_TD = KC.TD(
|
||||
KC.TG(1),
|
||||
)
|
||||
|
||||
leader_ext = Leader(mode=LeaderMode.ENTER, sequences=leader_dictionary)
|
||||
keyboard.extentions = [layers_ext, leader_ext]
|
||||
|
||||
keyboard.keymap = [
|
||||
[
|
||||
KC.GESC, KC.N1, KC.N2, KC.N3, KC.N4, KC.N5, KC.N6, KC.N7, KC.N8, KC.N9, KC.N0, KC.BSPC,
|
||||
|
||||
Reference in new issue
Block a user