More keymap updates

This commit is contained in:
Josh Klar 2018-12-29 16:52:44 -08:00
parent 0878538f42
commit bcdc97a56b
No known key found for this signature in database
GPG Key ID: 220F99BD7DB7A99E
3 changed files with 11 additions and 3 deletions

View File

@ -49,7 +49,7 @@ keyboard.leader_dictionary = {
'f': emoticons.F, 'f': emoticons.F,
'meh': emoticons.MEH, 'meh': emoticons.MEH,
'yay': emoticons.YAY, 'yay': emoticons.YAY,
'gw': simple_key_sequence([KC.DF(1)]), 'gw': KC.DF(1),
} }
_______ = KC.TRNS _______ = KC.TRNS

View File

@ -1,7 +1,7 @@
from kmk.boards.kitsym4_iris import Firmware from kmk.boards.kitsym4_iris import Firmware
from kmk.consts import LeaderMode, UnicodeMode from kmk.consts import LeaderMode, UnicodeMode
from kmk.handlers.sequences import compile_unicode_string_sequences as cuss from kmk.handlers.sequences import compile_unicode_string_sequences as cuss
from kmk.handlers.sequences import send_string from kmk.handlers.sequences import send_string, simple_key_sequence
from kmk.keys import KC from kmk.keys import KC
keyboard = Firmware() keyboard = Firmware()
@ -32,6 +32,7 @@ emoticons = cuss({
'MAPLE_LEAF': r'🍁', 'MAPLE_LEAF': r'🍁',
'POOP': r'💩', 'POOP': r'💩',
'TADA': r'🎉', 'TADA': r'🎉',
'SHRUG_EMOJI': r'🤷',
# Emoticons, but fancier # Emoticons, but fancier
'ANGRY_TABLE_FLIP': r'(ノಠ痊ಠ)ノ彡┻━┻', 'ANGRY_TABLE_FLIP': r'(ノಠ痊ಠ)ノ彡┻━┻',
@ -52,7 +53,12 @@ keyboard.leader_dictionary = {
'fus': emoticons.FLAG_US, 'fus': emoticons.FLAG_US,
'cel': emoticons.CELEBRATORY_GLITTER, 'cel': emoticons.CELEBRATORY_GLITTER,
'shr': emoticons.SHRUGGIE, 'shr': emoticons.SHRUGGIE,
'shre': emoticons.SHRUG_EMOJI,
'poop': emoticons.POOP, 'poop': emoticons.POOP,
'joy': emoticons.FACE_JOY,
'ls': KC.LGUI(KC.HOME), # Lock screen
'cw': KC.LGUI(KC.END), # Close window
'dbg': KC.DBG,
} }
_______ = KC.TRNS _______ = KC.TRNS
@ -78,7 +84,7 @@ keyboard.keymap = [
[xxxxxxx, xxxxxxx, xxxxxxx, xxxxxxx, xxxxxxx, xxxxxxx, KC.F7, KC.F8, KC.F9, xxxxxxx, xxxxxxx, KC.EQUAL], [xxxxxxx, xxxxxxx, xxxxxxx, xxxxxxx, xxxxxxx, xxxxxxx, KC.F7, KC.F8, KC.F9, xxxxxxx, xxxxxxx, KC.EQUAL],
[xxxxxxx, xxxxxxx, xxxxxxx, xxxxxxx, xxxxxxx, KC.INS, KC.F4, KC.F5, KC.F6, xxxxxxx, xxxxxxx, xxxxxxx], [xxxxxxx, xxxxxxx, xxxxxxx, xxxxxxx, xxxxxxx, KC.INS, KC.F4, KC.F5, KC.F6, xxxxxxx, xxxxxxx, xxxxxxx],
[xxxxxxx, xxxxxxx, xxxxxxx, xxxxxxx, xxxxxxx, xxxxxxx, KC.F1, KC.F2, KC.F3, xxxxxxx, xxxxxxx, _______], [xxxxxxx, xxxxxxx, xxxxxxx, xxxxxxx, xxxxxxx, xxxxxxx, KC.F1, KC.F2, KC.F3, xxxxxxx, xxxxxxx, _______],
[xxxxxxx, xxxxxxx, xxxxxxx, KC.HOME, KC.END, _______, xxxxxxx, KC.PGUP, KC.PGDN, _______, xxxxxxx, xxxxxxx], [xxxxxxx, xxxxxxx, KC.LEAD, KC.HOME, KC.END, _______, xxxxxxx, KC.PGUP, KC.PGDN, _______, xxxxxxx, xxxxxxx],
], ],
[ [
[KC.MUTE, xxxxxxx, xxxxxxx, xxxxxxx, xxxxxxx, xxxxxxx, xxxxxxx, xxxxxxx, xxxxxxx, KC.LBRC, KC.RBRC, KC.DEL], [KC.MUTE, xxxxxxx, xxxxxxx, xxxxxxx, xxxxxxx, xxxxxxx, xxxxxxx, xxxxxxx, xxxxxxx, KC.LBRC, KC.RBRC, KC.DEL],

View File

@ -53,6 +53,8 @@ keyboard.leader_dictionary = {
'cel': emoticons.CELEBRATORY_GLITTER, 'cel': emoticons.CELEBRATORY_GLITTER,
'shr': emoticons.SHRUGGIE, 'shr': emoticons.SHRUGGIE,
'poop': emoticons.POOP, 'poop': emoticons.POOP,
'ls': KC.LGUI(KC.HOME),
'dbg': KC.DBG,
} }
_______ = KC.TRNS _______ = KC.TRNS