diff options
Diffstat (limited to 'layouts/community/ortho_4x12')
-rw-r--r-- | layouts/community/ortho_4x12/guidoism/config.h | 29 | ||||
-rw-r--r-- | layouts/community/ortho_4x12/guidoism/generate_c.py | 59 | ||||
-rw-r--r-- | layouts/community/ortho_4x12/guidoism/guidoism.json | 1 | ||||
-rw-r--r-- | layouts/community/ortho_4x12/guidoism/keymap.c | 96 | ||||
-rw-r--r-- | layouts/community/ortho_4x12/guidoism/keys.json | 316 | ||||
-rw-r--r-- | layouts/community/ortho_4x12/guidoism/readme.md | 76 |
6 files changed, 577 insertions, 0 deletions
diff --git a/layouts/community/ortho_4x12/guidoism/config.h b/layouts/community/ortho_4x12/guidoism/config.h new file mode 100644 index 000000000..607539327 --- /dev/null +++ b/layouts/community/ortho_4x12/guidoism/config.h @@ -0,0 +1,29 @@ +/* +This is the c configuration file for the keymap + +Copyright 2012 Jun Wako <wakojun@gmail.com> +Copyright 2015 Jack Humbert + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef CONFIG_USER_H +#define CONFIG_USER_H + +#include QMK_KEYBOARD_CONFIG_H + +#define IGNORE_MOD_TAP_INTERRUPT +#define USB_MAX_POWER_CONSUMPTION 50 + +#endif diff --git a/layouts/community/ortho_4x12/guidoism/generate_c.py b/layouts/community/ortho_4x12/guidoism/generate_c.py new file mode 100644 index 000000000..7876bee68 --- /dev/null +++ b/layouts/community/ortho_4x12/guidoism/generate_c.py @@ -0,0 +1,59 @@ +import itertools +import json +from pprint import pprint as pp + +layers = dict(enumerate(['_QWERTY', '_LOWER', '_RAISE', '_MOVEMENT', '_NUMPAD'])) +key_names = {('MO(%d)' % i): layers.get(i).strip('_') for i in layers.keys()} + +unicodes = { + "<i class='fa fa-fast-forward'></i>": "next", + "<i class='fa fa-volume-down'></i>": "vol-", + "<i class='fa fa-volume-up'></i>": "vol+", + "<i class='fa fa-play'></i>": "play", +} + +d = json.load(open('layouts/community/ortho_4x12/guidoism/guidoism.json')) + +def grouper(iterable, n): + args = [iter(iterable)] * n + return itertools.zip_longest(*args, fillvalue='') + +def truthy(s): + return [a for a in s if a] + +def just(s, n): + return [a.center(n*2+1 if len(s) == 11 and i == 5 else n) for i, a in enumerate(s)] + +def replace(s): + return [key_names.get(a, a) for a in s] + +def layer(i, l): + n = max(len(s) for s in l) + rows = [', '.join(replace(truthy(row))) for row in grouper(l, 12)] + return '[%s] = %s(\n%s)' % (layers[i], d['layout'], ',\n'.join(rows)) + +print(',\n\n'.join(layer(i, l) for i, l in enumerate(d['layers']))) + +def surround(s, a, b, c): + return a + b.join(s) + c + +def pattern(cell, table): + return ['─'*cell for i in range(table)] + +keys = json.load(open('layouts/community/ortho_4x12/guidoism/keys.json')) + +def layer2(i, l): + def replace(s): + s = [keys.get(a, a) for a in s] + return [unicodes.get(a, a) for a in s] + n = max(len(s) for s in l) + return [surround(just(replace(truthy(row)), 5), '│', '│', '│') for row in grouper(l, 12)] + +for i, l in enumerate(d['layers']): + print(surround(pattern(5, 12), '┌', '┬', '┐')) + for n, row in enumerate(layer2(i, l)): + print(row) + if n < 3: + print(surround(pattern(5, 12), '├', '┼', '┤')) + else: + print(surround(pattern(5, 12), '└', '┴', '┘')) diff --git a/layouts/community/ortho_4x12/guidoism/guidoism.json b/layouts/community/ortho_4x12/guidoism/guidoism.json new file mode 100644 index 000000000..fd287cf60 --- /dev/null +++ b/layouts/community/ortho_4x12/guidoism/guidoism.json @@ -0,0 +1 @@ +{"keyboard":"planck/rev4","keymap":"guidoism","layout":"LAYOUT_planck_mit","layers":[["KC_TAB","KC_Q","KC_W","KC_E","KC_R","KC_T","KC_Y","KC_U","KC_I","KC_O","KC_P","KC_BSPC","LCTL_T(KC_ESC)","KC_A","KC_S","KC_D","KC_F","KC_G","KC_H","KC_J","KC_K","KC_L","KC_COLN","KC_ENT","LSFT_T(KC_CAPS)","KC_Z","KC_X","KC_C","KC_V","KC_B","KC_N","KC_M","KC_COMM","KC_DOT","KC_SLSH","KC_NO","MO(3)","KC_NO","KC_LALT","KC_LGUI","MO(1)","LSFT_T(KC_SPC)","MO(2)","KC_RGUI","KC_RALT","KC_SCLN","KC_NO"],["KC_TILD","KC_EXLM","KC_AT","KC_HASH","KC_DLR","KC_PERC","KC_CIRC","KC_AMPR","KC_ASTR","KC_NO","KC_NO","KC_UNDO","KC_TRNS","KC_NO","KC_CUT","KC_COPY","KC_PSTE","KC_NO","KC_NO","KC_UNDS","KC_PLUS","KC_DQUO","KC_QUOT","KC_PIPE","KC_TRNS","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_MNXT","KC_VOLD","KC_VOLU","KC_MPLY"],["KC_GRV","KC_P1","KC_P2","KC_P3","KC_P4","KC_P5","KC_P6","KC_P7","KC_P8","KC_P9","KC_P0","KC_TRNS","KC_TRNS","KC_LBRC","KC_RBRC","KC_LPRN","KC_RPRN","KC_NO","KC_NO","KC_PMNS","KC_PEQL","KC_NO","KC_NO","KC_BSLS","KC_TRNS","KC_LT","KC_GT","KC_LCBR","KC_RCBR","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS"],["RESET","DEBUG","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_PGUP","KC_UP","KC_PGDN","KC_NO","KC_TRNS","KC_TRNS","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_LEFT","KC_DOWN","KC_RGHT","KC_NO","KC_TRNS","KC_TRNS","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_HOME","KC_NO","KC_END","KC_NO","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS"],["KC_TRNS","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_P7","KC_P8","KC_P9","KC_PSLS","KC_TRNS","KC_TRNS","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_P4","KC_P5","KC_P6","KC_PAST","KC_TRNS","KC_TRNS","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_P1","KC_P2","KC_P3","KC_PMNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_PCMM","KC_P0","KC_PDOT","KC_PPLS","KC_TRNS"]]} diff --git a/layouts/community/ortho_4x12/guidoism/keymap.c b/layouts/community/ortho_4x12/guidoism/keymap.c new file mode 100644 index 000000000..093fe140b --- /dev/null +++ b/layouts/community/ortho_4x12/guidoism/keymap.c @@ -0,0 +1,96 @@ +#include QMK_KEYBOARD_H +#include "action_layer.h" +#include "eeconfig.h" + +extern keymap_config_t keymap_config; + +enum planck_layers { + _QWERTY, + _LOWER, + _RAISE, + _MOVEMENT, + _NUMPAD, +}; + +enum planck_keycodes { + QWERTY = SAFE_RANGE, + LOWER, + RAISE, + MOVEMENT, + NUMPAD, +}; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [_QWERTY] = LAYOUT_planck_mit( +KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, +LCTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_COLN, KC_ENT, +LSFT_T(KC_CAPS), KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_NO, +MOVEMENT, KC_NO, KC_LALT, KC_LGUI, LOWER, LSFT_T(KC_SPC), RAISE, KC_RGUI, KC_RALT, KC_SCLN, KC_NO), + + [_LOWER] = LAYOUT_planck_mit( +KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_NO, KC_NO, KC_UNDO, +KC_TRNS, KC_NO, KC_CUT, KC_COPY, KC_PSTE, KC_NO, KC_NO, KC_UNDS, KC_PLUS, KC_DQUO, KC_QUOT, KC_PIPE, +KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, +KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY), + + [_RAISE] = LAYOUT_planck_mit( +KC_GRV, KC_P1, KC_P2, KC_P3, KC_P4, KC_P5, KC_P6, KC_P7, KC_P8, KC_P9, KC_P0, KC_TRNS, +KC_TRNS, KC_LBRC, KC_RBRC, KC_LPRN, KC_RPRN, KC_NO, KC_NO, KC_PMNS, KC_PEQL, KC_NO, KC_NO, KC_BSLS, +KC_TRNS, KC_LT, KC_GT, KC_LCBR, KC_RCBR, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, +KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), + + [_MOVEMENT] = LAYOUT_planck_mit( +RESET, DEBUG, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_PGUP, KC_UP, KC_PGDN, KC_NO, KC_TRNS, +KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_LEFT, KC_DOWN, KC_RGHT, KC_NO, KC_TRNS, +KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_HOME, KC_NO, KC_END, KC_NO, KC_TRNS, +KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), + + [_NUMPAD] = LAYOUT_planck_mit( +KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_P7, KC_P8, KC_P9, KC_PSLS, KC_TRNS, +KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_P4, KC_P5, KC_P6, KC_PAST, KC_TRNS, +KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_P1, KC_P2, KC_P3, KC_PMNS, KC_TRNS, +KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PCMM, KC_P0, KC_PDOT, KC_PPLS, KC_TRNS) + +}; + + +bool process_record_user(uint16_t keycode, keyrecord_t *record) { + switch (keycode) { + case QWERTY: + if (record->event.pressed) { + set_single_persistent_default_layer(_QWERTY); + } + return false; + break; + case LOWER: + if (record->event.pressed) { + layer_on(_LOWER); + update_tri_layer(_LOWER, _MOVEMENT, _NUMPAD); + } else { + layer_off(_LOWER); + update_tri_layer(_LOWER, _MOVEMENT, _NUMPAD); + } + return false; + break; + case RAISE: + if (record->event.pressed) { + layer_on(_RAISE); + } else { + layer_off(_RAISE); + } + return false; + break; + case MOVEMENT: + if (record->event.pressed) { + layer_on(_MOVEMENT); + update_tri_layer(_LOWER, _MOVEMENT, _NUMPAD); + } else { + layer_off(_MOVEMENT); + update_tri_layer(_LOWER, _MOVEMENT, _NUMPAD); + } + return false; + break; + } + return true; +} diff --git a/layouts/community/ortho_4x12/guidoism/keys.json b/layouts/community/ortho_4x12/guidoism/keys.json new file mode 100644 index 000000000..762deb706 --- /dev/null +++ b/layouts/community/ortho_4x12/guidoism/keys.json @@ -0,0 +1,316 @@ +{ + "KC_1": "1", + "SHIFTED_KC_1": "!", + "KC_2": "2", + "SHIFTED_KC_2": "@", + "KC_3": "3", + "SHIFTED_KC_3": "#", + "KC_4": "4", + "SHIFTED_KC_4": "$", + "KC_5": "5", + "SHIFTED_KC_5": "%", + "KC_6": "6", + "SHIFTED_KC_6": "^", + "KC_7": "7", + "SHIFTED_KC_7": "&", + "KC_8": "8", + "SHIFTED_KC_8": "*", + "KC_9": "9", + "SHIFTED_KC_9": "(", + "KC_0": "0", + "SHIFTED_KC_0": ")", + "KC_A": "a", + "SHIFTED_KC_A": "A", + "KC_B": "b", + "SHIFTED_KC_B": "B", + "KC_C": "c", + "SHIFTED_KC_C": "C", + "KC_D": "d", + "SHIFTED_KC_D": "D", + "KC_E": "e", + "SHIFTED_KC_E": "E", + "KC_F": "f", + "SHIFTED_KC_F": "F", + "KC_G": "g", + "SHIFTED_KC_G": "G", + "KC_H": "h", + "SHIFTED_KC_H": "H", + "KC_I": "i", + "SHIFTED_KC_I": "I", + "KC_J": "j", + "SHIFTED_KC_J": "J", + "KC_K": "k", + "SHIFTED_KC_K": "K", + "KC_L": "l", + "SHIFTED_KC_L": "L", + "KC_M": "m", + "SHIFTED_KC_M": "M", + "KC_N": "n", + "SHIFTED_KC_N": "N", + "KC_O": "o", + "SHIFTED_KC_O": "O", + "KC_P": "p", + "SHIFTED_KC_P": "P", + "KC_Q": "q", + "SHIFTED_KC_Q": "Q", + "KC_R": "r", + "SHIFTED_KC_R": "R", + "KC_S": "s", + "SHIFTED_KC_S": "S", + "KC_T": "t", + "SHIFTED_KC_T": "T", + "KC_U": "u", + "SHIFTED_KC_U": "U", + "KC_V": "v", + "SHIFTED_KC_V": "V", + "KC_W": "w", + "SHIFTED_KC_W": "W", + "KC_X": "x", + "SHIFTED_KC_X": "X", + "KC_Y": "y", + "SHIFTED_KC_Y": "Y", + "KC_Z": "z", + "SHIFTED_KC_Z": "Z", + "KC_ENTER": "\u23ce", + "KC_ENT": "\u23ce", + "KC_ESCAPE": "\u238b", + "KC_ESC": "\u238b", + "KC_BSPACE": "\u232b", + "KC_BSPC": "\u232b", + "KC_TAB": "\u21e5", + "KC_SPACE": "", + "KC_SPC": "", + "KC_MINUS": "-", + "KC_MINS": "-", + "KC_EQUAL": "+", + "KC_EQL": "=", + "KC_LBRACKET": "{", + "KC_LBRC": "[", + "KC_RBRACKET": "}", + "KC_RBRC": "]", + "KC_BSLS": "\\", + "KC_BSLASH": "\\", + "KC_SCOLON": ":", + "KC_SCLN": ";", + "KC_QUOTE": "\"", + "KC_QUOT": "'", + "KC_GRAVE": "`", + "KC_GRV": "`", + "KC_COMMA": ",", + "KC_COMM": ",", + "KC_DOT": ".", + "KC_SLASH": "/", + "KC_NUBS": "/", + "KC_NUHS": "#", + "KC_CAPSLOCK": "Caps Lock", + "KC_CAPS": "Caps Lock", + "KC_LCTRL": "Ctrl", + "KC_LCTL": "Ctrl", + "KC_LSHIFT": "\u21e7", + "KC_LSFT": "\u21e7", + "KC_LALT": "\u2325", + "KC_LGUI": "\u2318", + "KC_LCMD": "\u2318", + "KC_RCTRL": "Right Control", + "KC_RCTL": "Right Control", + "KC_RSHIFT": "\u21e7", + "KC_RSFT": "\u21e7", + "KC_RALT": "\u2325", + "KC_RGUI": "\u2318", + "KC_RCMD": "\u2318", + "KC_LOCKING_CAPS": "Locking Caps Lock", + "KC_LCAP": "Locking Caps Lock", + "KC_LOCKING_NUM": "Locking Num Lock", + "KC_LNUM": "Locking Num Lock", + "KC_LOCKING_SCROLL": "Locking Scroll Lock", + "KC_LSCR": "Locking Scroll Lock", + "KC_INT4": "JIS Henkan", + "KC_HENK": "JIS Henkan", + "KC_INT5": "JIS Muhenkan", + "KC_MHEN": "JIS Muhenkan", + "KC_PSCREEN": "Print Screen", + "KC_PSCR": "Print Screen", + "KC_SCROLLLOCK": "Scroll Lock", + "KC_SLCK": "Scroll Lock", + "KC_PAUSE": "Pause", + "KC_PAUS": "Pause", + "KC_INSERT": "Insert", + "KC_INS": "Insert", + "KC_HOME": "Home", + "KC_PGUP": "PgUp", + "KC_DELETE": "\u2326", + "KC_DEL": "\u2326", + "KC_END": "End", + "KC_PGDOWN": "PgDn", + "KC_PGDN": "PgDn", + "KC_RIGHT": "→", + "KC_RGHT": "→", + "KC_LEFT": "←", + "KC_DOWN": "↓", + "KC_UP": "↑", + "KC_APPLICATION": "Application (Windows Menu Key)", + "KC_APP": "Application (Windows Menu Key)", + "KC_POWER": "Deprecated by MS in favor of KC_SYSTEM_POWER.", + "KC_EXECUTE": "Execute", + "KC_HELP": "Help", + "KC_MENU": "Menu", + "KC_SELECT": "Select", + "KC_AGAIN": "Again", + "KC_UNDO": "Undo", + "KC_CUT": "Cut", + "KC_COPY": "Copy", + "KC_PASTE": "Paste", + "KC_FIND": "Find", + "KC_ALT_ERASE": "Alternate Erase", + "KC_SYSREQ": "SysReq/Attention", + "KC_CANCEL": "Cancel", + "KC_CLEAR": "Clear", + "KC_PRIOR": "Prior", + "KC_RETURN": "Return", + "KC_SEPARATOR": "Separator", + "KC_OUT": "Out", + "KC_OPER": "Oper", + "KC_CLEAR_AGAIN": "Clear/Again", + "KC_CRSEL": "CrSel/Props", + "KC_EXSEL": "ExSel", + "KC_SYSTEM_POWER": "System Power Down.", + "KC_PWR": "System Power Down.", + "KC_SYSTEM_SLEEP": "System Sleep", + "KC_SLEP": "System Sleep", + "KC_SYSTEM_WAKE": "System Wake", + "KC_WAKE": "System Wake", + "KC_STOP": "Stop", + "KC__MUTE": "Mute (macOS)", + "KC__VOLUP": "<i class='fa fa-volume-up'></i>", + "KC__VOLDOWN": "<i class='fa fa-volume-down'></i>", + "KC_AUDIO_MUTE": "Mute", + "KC_MUTE": "Mute", + "KC_AUDIO_VOL_UP": "<i class='fa fa-volume-up'></i>", + "KC_VOLU": "<i class='fa fa-volume-up'></i>", + "KC_AUDIO_VOL_DOWN": "<i class='fa fa-volume-down'></i>", + "KC_VOLD": "<i class='fa fa-volume-down'></i>", + "KC_MEDIA_NEXT_TRACK": "<i class='fa fa-fast-forward'></i>", + "KC_MNXT": "<i class='fa fa-fast-forward'></i>", + "KC_MEDIA_PREV_TRACK": "Previous Track (Windows)", + "KC_MPRV": "Previous Track (Windows)", + "KC_MEDIA_FAST_FORWARD": "<i class='fa fa-fast-forward'></i>", + "KC_MFFD": "<i class='fa fa-fast-forward'></i>", + "KC_MEDIA_REWIND": "Previous Track (macOS)", + "KC_MRWD": "Previous Track (macOS)", + "KC_MEDIA_STOP": "Stop Track", + "KC_MSTP": "Stop Track", + "KC_MEDIA_PLAY_PAUSE": "<i class='fa fa-play'></i>", + "KC_MPLY": "<i class='fa fa-play'></i>", + "KC_NUMLOCK": "Keypad Num Lock and Clear", + "KC_NLCK": "Keypad Num Lock and Clear", + "KC_SLSH": "/", + "KC_KP_SLASH": "/", + "KC_PSLS": "/", + "KC_KP_ASTERISK": "*", + "KC_PAST": "*", + "KC_KP_MINUS": "-", + "KC_PMNS": "-", + "KC_PPLS": "+", + "KC_KP_ENTER": "Enter", + "KC_PENT": "Enter", + "KC_KP_1": "1", + "KC_KP_2": "2", + "KC_KP_3": "3", + "KC_KP_4": "4", + "KC_KP_5": "5", + "KC_KP_6": "6", + "KC_KP_7": "7", + "KC_KP_8": "8", + "KC_KP_9": "9", + "KC_KP_0": "0", + "KC_F1": "F1", + "KC_F2": "F2", + "KC_F3": "F3", + "KC_F4": "F4", + "KC_F5": "F5", + "KC_F6": "F6", + "KC_F7": "F7", + "KC_F8": "F8", + "KC_F9": "F9", + "KC_F10": "F10", + "KC_F11": "F11", + "KC_F12": "F12", + "_______": "", + "KC_TILDE": "~", + "KC_TILD": "~", + "KC_EXCLAIM": "!", + "KC_EXLM": "!", + "KC_AT": "@", + "KC_HASH": "#", + "KC_DOLLAR": "$", + "KC_DLR": "$", + "KC_PERCENT": "%", + "KC_PERC": "%", + "KC_CIRCUMFLEX": "^", + "KC_CIRC": "^", + "KC_AMPERSAND": "&", + "KC_AMPR": "&", + "KC_ASTERISK": "*", + "KC_ASTR": "*", + "KC_LEFT_PAREN": "(", + "KC_LPRN": "(", + "KC_RIGHT_PAREN": ")", + "KC_RPRN": ")", + "KC_UNDERSCORE": "_", + "KC_UNDS": "_", + "KC_PLUS": "+", + "KC_LEFT_CURLY_BRACE": "{", + "KC_LCBR": "{", + "KC_RIGHT_CURLY_BRACE": "}", + "KC_RCBR": "}", + "KC_PIPE": "|", + "KC_COLON": ":", + "KC_COLN": ":", + "KC_DOUBLE_QUOTE": "\"", + "KC_DQUO": "\"", + "KC_DQT": "\"", + "KC_LEFT_ANGLE_BRACKET": "<", + "KC_LABK": "<", + "KC_LT": "<", + "KC_RIGHT_ANGLE_BRACKET": ">", + "KC_RABK": ">", + "KC_GT": ">", + "KC_QUESTION": "?", + "KC_QUES": "?", + "KC_KP_PLUS": "+", + "LSFT_T(KC_CAPS)": "\u21e7", + + "LGUI(KC_X)": "<i class='fa fa-cut'></i>", + "LGUI(KC_C)": "<i class='fa fa-copy'></i>", + "LGUI(S(LALT(KC_V)))": "<i class='fa fa-paste'></i>", + + "S(KC_NUHS)": "#", + "S(KC_NUBS)": "/", + "MOVEMENT": "\u0394", + "RAISE": "\u2350", + "LOWER": "\u2357", + "LCTL_T(KC_ESC)": "c/e", + "KC_NO": " ", + + "MO(3)": "mov", + "MO(1)": "lower", + "MO(2)": "raise", + "LSFT_T(KC_SPC)": "sp/sh", + "KC_TRNS": "", + "KC_PSTE": "Paste", + + "KC_P1": "1", + "KC_P2": "2", + "KC_P3": "3", + "KC_P4": "4", + "KC_P5": "5", + "KC_P6": "6", + "KC_P7": "7", + "KC_P8": "8", + "KC_P9": "9", + "KC_P0": "0", + + "KC_PCMM": ",", + "KC_PDOT": ".", + "KC_PEQL": "=" +} diff --git a/layouts/community/ortho_4x12/guidoism/readme.md b/layouts/community/ortho_4x12/guidoism/readme.md new file mode 100644 index 000000000..7137ffd14 --- /dev/null +++ b/layouts/community/ortho_4x12/guidoism/readme.md @@ -0,0 +1,76 @@ +# Guido's Planck Keyboard Layout + +* Left palm to the `mov` key gets you the `Move` layer +* Right thumb on the `raise` key gets you the various programming brackets and parens on your left hand +* Left palm on `mov` key and left thumb on `lower` key gets you a numpad on your right hand +* Shift with the spacebar +* Left pinky is control on hold and escape on tap +* Left shift is caps lock on double-tap + +``` +┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐ +│ ⇥ │ q │ w │ e │ r │ t │ y │ u │ i │ o │ p │ ⌫ │ +├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ +│ c/e │ a │ s │ d │ f │ g │ h │ j │ k │ l │ : │ ⏎ │ +├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ +│ ⇧ │ z │ x │ c │ v │ b │ n │ m │ , │ . │ / │ │ +├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ +│ mov │ │ ⌥ │ ⌘ │lower│ sp/sh │raise│ ⌘ │ ⌥ │ ; │ │ +└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘ +``` + +## Lower +``` +┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐ +│ ~ │ ! │ @ │ # │ $ │ % │ ^ │ & │ * │ │ │ Undo│ +├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ +│ │ │ Cut │ Copy│Paste│ │ │ _ │ + │ " │ ' │ | │ +├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ +│ │ │ │ │ │ │ │ │ │ │ │ │ +├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ +│ │ │ │ │ │ │ │ next│ vol-│ vol+│ play│ +└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘ +``` + +## Raise +``` +┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐ +│ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ │ +├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ +│ │ [ │ ] │ ( │ ) │ │ │ - │ = │ │ │ \ │ +├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ +│ │ < │ > │ { │ } │ │ │ │ │ │ │ │ +├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ +│ │ │ │ │ │ │ │ │ │ │ │ +└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘ +``` + +## Move +``` +┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐ +│RESET│DEBUG│ │ │ │ │ │ PgUp│ ↑ │ PgDn│ │ │ +├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ +│ │ │ │ │ │ │ │ ← │ ↓ │ → │ │ │ +├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ +│ │ │ │ │ │ │ │ Home│ │ End │ │ │ +├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ +│ │ │ │ │ │ │ │ │ │ │ │ +└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘ +``` + +## Numpad +``` +┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐ +│ │ │ │ │ │ │ │ 7 │ 8 │ 9 │ / │ │ +├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ +│ │ │ │ │ │ │ │ 4 │ 5 │ 6 │ * │ │ +├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ +│ │ │ │ │ │ │ │ 1 │ 2 │ 3 │ - │ │ +├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ +│ │ │ │ │ │ │ , │ 0 │ . │ + │ │ +└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘ +``` + +Use the [QMK Configurator](https://config.qmk.fm/#/planck/rev4/LAYOUT_planck_mit) +to edit the guidoism.json file. Then update it and run `python3 layouts/community/ortho_4x12/guidoism/generate_c.py` +to get the update C structs and Markdown for this file. |