Add lab68 keymap

This commit is contained in:
Dimitris Zervas 2020-09-12 00:25:13 +03:00 committed by Kyle Brown
parent 81c6b0ca5d
commit ac9f4927c9
2 changed files with 56 additions and 0 deletions

View File

View File

@ -0,0 +1,56 @@
from kmk.boards.converter.keebio.nyquist_r2 import KMKKeyboard
from kmk.keys import KC
keyboard = KMKKeyboard()
_______ = KC.TRNS
XXXXXXX = KC.NO
FN = KC.MO(1)
keyboard.keymap = [
# Qwerty
# ,--------------------------------------------------------------------------------------------------------.
# | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | Bksp | Del |
# |------+------+------+------+------+------+------+------+------+------+------+------+------+------+------|
# | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ | PgUp |
# |------+------+------+------+------+-------------+------+------+------+------+------+------+------+------|
# | Esc | A | S | D | F | G | H | J | K | L | ; | ' | |Enter | PgDn |
# |------+------+------+------+------+------+------+------+------+------+------+------+------+------+------|
# | Shift| Z | X | C | V | B | N | M | , | . | / |Shift | | Up | Ins |
# |------+------+------+------+------+------+------+------+------+------+------+------+------+------+------|
# | Ctrl | GUI | Alt | | |Space | | | Fn | Alt | Ctrl | Left | | Down | Right|
# `------------------------------------------------------------------------------------------+------+------'
[
KC.GRV, KC.N1, KC.N2, KC.N3, KC.N4, KC.N5, KC.N6, KC.N7, KC.N8, KC.N9, KC.N0, KC.MINS, KC.EQUAL, KC.BSPC, KC.DEL,
KC.TAB, KC.Q, KC.W, KC.E, KC.R, KC.T, KC.Y, KC.U, KC.I, KC.O, KC.P, KC.LBRC, KC.RBRC, KC.BSLASH, KC.PGUP,
KC.ESC, KC.A, KC.S, KC.D, KC.F, KC.G, KC.H, KC.J, KC.K, KC.L, KC.SCLN, KC.QUOT, XXXXXXX, KC.ENTER, KC.PGDN,
KC.LSFT, KC.Z, KC.X, KC.C, KC.V, KC.B, KC.N, KC.M, KC.COMM, KC.DOT, KC.SLSH, KC.RSFT, XXXXXXX, KC.UP, KC.INS,
KC.LCTL, KC.LGUI, KC.LALT, XXXXXXX, XXXXXXX, KC.SPC, XXXXXXX, XXXXXXX, FN, KC.ALT, KC.RCTL, KC.LEFT, XXXXXXX, KC.DOWN, KC.RIGHT,
],
# Functions
# ,--------------------------------------------------------------------------------------------------------.
# | | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | CLR* |
# |------+------+------+------+------+------+------+------+------+------+------+------+------+------+------|
# | Tab | | | | | | | | |Print | |Pause | Calc | | BrUp |
# |------+------+------+------+------+-------------+------+------+------+------+------+------+------+------|
# | Esc | | | | | | | | | | | | | | BrDn |
# |------+------+------+------+------+------+------+------+------+------+------+------+------+------+------|
# | Shift| | Play | Stop | Prev | Next | VolDn| VolUp| Mute | | |Shift | |LedUp | |
# |------+------+------+------+------+------+------+------+------+------+------+------+------+------+------|
# | Ctrl | GUI | Alt | | |Space | | | Fn | Alt | Ctrl | BTPrv| |LedDn | BTNxt|
# `------------------------------------------------------------------------------------------+------+------'
# CLR: Clear bonds
[
XXXXXXX, KC.F1, KC.F2, KC.F3, KC.F4, KC.F5, KC.F6, KC.F7, KC.F8, KC.F9, KC.F10, KC.F11, KC.F12, XXXXXXX, _______,
KC.TAB, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC.PSCR, XXXXXXX, KC.PAUSE, _______, XXXXXXX, _______,
KC.ESC, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______,
KC.LSFT, XXXXXXX, KC.MPLY, KC.MSTP, KC.MPRV, KC.MNXT, KC.VOLD, KC.VOLU, KC.MUTE, XXXXXXX, XXXXXXX, KC.RSFT, XXXXXXX, _______, XXXXXXX,
KC.LCTL, KC.LGUI, KC.LALT, XXXXXXX, XXXXXXX, KC.SPC, XXXXXXX, XXXXXXX, FN, KC.ALT, KC.RCTL, _______, XXXXXXX, _______, _______,
],
]
if __name__ == '__main__':
keyboard.go()