From feb26d131810ccf27c7f248e11cf15e335627145 Mon Sep 17 00:00:00 2001 From: Christopher Janzen Date: Thu, 12 Mar 2020 01:21:40 -0500 Subject: [PATCH 1/3] Add new keymap with split right shift and split backspace for bananasplit PCB --- .../bananasplit/keymaps/cijanzen/config.h | 19 ++++++++++ .../bananasplit/keymaps/cijanzen/keymap.c | 22 ++++++++++++ .../bananasplit/keymaps/cijanzen/readme.md | 35 +++++++++++++++++++ 3 files changed, 76 insertions(+) create mode 100644 keyboards/thevankeyboards/bananasplit/keymaps/cijanzen/config.h create mode 100644 keyboards/thevankeyboards/bananasplit/keymaps/cijanzen/keymap.c create mode 100644 keyboards/thevankeyboards/bananasplit/keymaps/cijanzen/readme.md diff --git a/keyboards/thevankeyboards/bananasplit/keymaps/cijanzen/config.h b/keyboards/thevankeyboards/bananasplit/keymaps/cijanzen/config.h new file mode 100644 index 000000000000..b89b05009a64 --- /dev/null +++ b/keyboards/thevankeyboards/bananasplit/keymaps/cijanzen/config.h @@ -0,0 +1,19 @@ +/* Copyright 2017 Balz Guenat + * + * 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 . + */ + +#pragma once + +// place overrides here diff --git a/keyboards/thevankeyboards/bananasplit/keymaps/cijanzen/keymap.c b/keyboards/thevankeyboards/bananasplit/keymaps/cijanzen/keymap.c new file mode 100644 index 000000000000..cd6223c672e0 --- /dev/null +++ b/keyboards/thevankeyboards/bananasplit/keymaps/cijanzen/keymap.c @@ -0,0 +1,22 @@ +#include QMK_KEYBOARD_H + +#define DEFAULT_LAYER 0 +#define HHKB_NAV_LAYER 1 + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [DEFAULT_LAYER] = LAYOUT_hhkb_arrow( \ + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, \ + 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_BSPC, \ + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, \ + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), \ + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RGUI, _______, KC_MENU, KC_RCTL + ), + + [HHKB_NAV_LAYER] = LAYOUT_hhkb_arrow( \ + RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, \ + _______, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SLCK, KC_PAUS, KC_UP, _______, KC_DEL, \ + _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, KC_ENT, \ + _______, _______, _______, _______, _______, _______, _______, _______, KC_END, KC_PGDN, KC_DOWN, _______, _______, \ + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + ) +}; diff --git a/keyboards/thevankeyboards/bananasplit/keymaps/cijanzen/readme.md b/keyboards/thevankeyboards/bananasplit/keymaps/cijanzen/readme.md new file mode 100644 index 000000000000..53b1333dcd8c --- /dev/null +++ b/keyboards/thevankeyboards/bananasplit/keymaps/cijanzen/readme.md @@ -0,0 +1,35 @@ +# cijanzen's keymap for the Bananasplit +## Layout Notes + +Split right shift and split backspace. Second layer follows HHKB layer 2 layout. + +Base layer: +``` +------------------------------------------------------------------------------------------- +| Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | \ | ` | +------------------------------------------------------------------------------------------- +| Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] |Backspace| +------------------------------------------------------------------------------------------- +| Caps | A | S | D | F | G | H | J | K | L | ; | ' | Enter | +------------------------------------------------------------------------------------------- +| Shift | Z | X | C | V | B | N | M | , | . | / | Shift | Fn1 | +------------------------------------------------------------------------------------------- +| Ctrl | GUI | Alt | Space | Alt | GUI | App | Ctrl | +------------------------------------------------------------------------------------------- +``` + +Fn1 layer: + +``` +------------------------------------------------------------------------------------------- +|Reset| F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | Ins | Del | +------------------------------------------------------------------------------------------- +| | | | | | | | |Pscr |Slck |Paus | Up | | Del | +------------------------------------------------------------------------------------------- +| | | | | | | | |Home |PgUp |Left |Right| Enter | +------------------------------------------------------------------------------------------- +| | | | | | | | |End |PgDn |Down | | | +------------------------------------------------------------------------------------------- +| | | | | | | | | +------------------------------------------------------------------------------------------- +``` From 752eb330ae0d5c991bd707ef086bc53c2ed8b18c Mon Sep 17 00:00:00 2001 From: Christopher Janzen Date: Thu, 12 Mar 2020 07:36:29 -0500 Subject: [PATCH 2/3] Remove unecessary config.h --- .../bananasplit/keymaps/cijanzen/config.h | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 keyboards/thevankeyboards/bananasplit/keymaps/cijanzen/config.h diff --git a/keyboards/thevankeyboards/bananasplit/keymaps/cijanzen/config.h b/keyboards/thevankeyboards/bananasplit/keymaps/cijanzen/config.h deleted file mode 100644 index b89b05009a64..000000000000 --- a/keyboards/thevankeyboards/bananasplit/keymaps/cijanzen/config.h +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright 2017 Balz Guenat - * - * 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 . - */ - -#pragma once - -// place overrides here From 128f0943f6ed980de5264a46feed14d6aeb5614c Mon Sep 17 00:00:00 2001 From: Christopher Janzen Date: Thu, 12 Mar 2020 14:11:13 -0500 Subject: [PATCH 3/3] Remove unecessary line breaks Co-Authored-By: Ryan --- .../bananasplit/keymaps/cijanzen/keymap.c | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/keyboards/thevankeyboards/bananasplit/keymaps/cijanzen/keymap.c b/keyboards/thevankeyboards/bananasplit/keymaps/cijanzen/keymap.c index cd6223c672e0..48f079515d7a 100644 --- a/keyboards/thevankeyboards/bananasplit/keymaps/cijanzen/keymap.c +++ b/keyboards/thevankeyboards/bananasplit/keymaps/cijanzen/keymap.c @@ -4,19 +4,19 @@ #define HHKB_NAV_LAYER 1 const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [DEFAULT_LAYER] = LAYOUT_hhkb_arrow( \ - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, \ - 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_BSPC, \ - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, \ - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), \ + [DEFAULT_LAYER] = LAYOUT_hhkb_arrow( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, + 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_BSPC, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RGUI, _______, KC_MENU, KC_RCTL ), - [HHKB_NAV_LAYER] = LAYOUT_hhkb_arrow( \ - RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, \ - _______, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SLCK, KC_PAUS, KC_UP, _______, KC_DEL, \ - _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, KC_ENT, \ - _______, _______, _______, _______, _______, _______, _______, _______, KC_END, KC_PGDN, KC_DOWN, _______, _______, \ + [HHKB_NAV_LAYER] = LAYOUT_hhkb_arrow( + RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, + _______, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SLCK, KC_PAUS, KC_UP, _______, KC_DEL, + _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, KC_ENT, + _______, _______, _______, _______, _______, _______, _______, _______, KC_END, KC_PGDN, KC_DOWN, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ ) };