From fac377a30370845670cc2085fb170304332ffd2d Mon Sep 17 00:00:00 2001 From: crd Date: Fri, 30 Nov 2018 08:37:25 -0800 Subject: [PATCH 1/4] Add a layout to support tsangan bottom row with split bs and rshift --- .../default_60_ansi_split_bs_rshift/keymap.c | 21 +++++++++++++++++++ .../layout.json | 5 +++++ .../60_ansi_split_bs_rshift_tsangan/readme.md | 3 +++ 3 files changed, 29 insertions(+) create mode 100644 layouts/community/60_ansi_split_bs_rshift_tsangan/default_60_ansi_split_bs_rshift/keymap.c create mode 100644 layouts/community/60_ansi_split_bs_rshift_tsangan/layout.json create mode 100644 layouts/community/60_ansi_split_bs_rshift_tsangan/readme.md diff --git a/layouts/community/60_ansi_split_bs_rshift_tsangan/default_60_ansi_split_bs_rshift/keymap.c b/layouts/community/60_ansi_split_bs_rshift_tsangan/default_60_ansi_split_bs_rshift/keymap.c new file mode 100644 index 000000000000..e61e6b6117e5 --- /dev/null +++ b/layouts/community/60_ansi_split_bs_rshift_tsangan/default_60_ansi_split_bs_rshift/keymap.c @@ -0,0 +1,21 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT_60_ansi_split_bs_rshift_tsangan( + KC_GRV, 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_BSPC,KC_BSPC, + 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_BSLS , + 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 ,KC_RSFT, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL + ) +}; + +// Runs just one time when the keyboard initializes. +void matrix_init_user(void) { + +}; + +// Runs constantly in the background, in a loop. +void matrix_scan_user(void) { + +}; diff --git a/layouts/community/60_ansi_split_bs_rshift_tsangan/layout.json b/layouts/community/60_ansi_split_bs_rshift_tsangan/layout.json new file mode 100644 index 000000000000..117d26d4194c --- /dev/null +++ b/layouts/community/60_ansi_split_bs_rshift_tsangan/layout.json @@ -0,0 +1,5 @@ +[{a:7},"","","","","","","","","","","","","","",""], +[{w:1.5},"","","","","","","","","","","","","",{w:1.5},""], +[{w:1.75},"","","","","","","","","","","","",{w:2.25},""], +[{w:2.25},"","","","","","","","","","","",{w:1.75},"",{w:1},""], +[{w:1.5},"",{w:1},"",{w:1.5},"",{w:7},"",{w:1.5},"",{w:1},"",{w:1.5},""] diff --git a/layouts/community/60_ansi_split_bs_rshift_tsangan/readme.md b/layouts/community/60_ansi_split_bs_rshift_tsangan/readme.md new file mode 100644 index 000000000000..2898c2fc8de0 --- /dev/null +++ b/layouts/community/60_ansi_split_bs_rshift_tsangan/readme.md @@ -0,0 +1,3 @@ +# 60_ansi_split_bs_rshift_tsangan + + LAYOUT_60_ansi_split_bs_rshift_tsangan \ No newline at end of file From 213838fe1fc7a1c04c89859f759a86a8876b545c Mon Sep 17 00:00:00 2001 From: Jason Thigpen Date: Fri, 30 Nov 2018 10:13:41 -0800 Subject: [PATCH 2/4] Move the new layout to defaults --- .../default_60_ansi_split_bs_rshift/keymap.c | 0 .../60_ansi_split_bs_rshift_tsangan/layout.json | 0 .../60_ansi_split_bs_rshift_tsangan/readme.md | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename layouts/{community => default}/60_ansi_split_bs_rshift_tsangan/default_60_ansi_split_bs_rshift/keymap.c (100%) rename layouts/{community => default}/60_ansi_split_bs_rshift_tsangan/layout.json (100%) rename layouts/{community => default}/60_ansi_split_bs_rshift_tsangan/readme.md (100%) diff --git a/layouts/community/60_ansi_split_bs_rshift_tsangan/default_60_ansi_split_bs_rshift/keymap.c b/layouts/default/60_ansi_split_bs_rshift_tsangan/default_60_ansi_split_bs_rshift/keymap.c similarity index 100% rename from layouts/community/60_ansi_split_bs_rshift_tsangan/default_60_ansi_split_bs_rshift/keymap.c rename to layouts/default/60_ansi_split_bs_rshift_tsangan/default_60_ansi_split_bs_rshift/keymap.c diff --git a/layouts/community/60_ansi_split_bs_rshift_tsangan/layout.json b/layouts/default/60_ansi_split_bs_rshift_tsangan/layout.json similarity index 100% rename from layouts/community/60_ansi_split_bs_rshift_tsangan/layout.json rename to layouts/default/60_ansi_split_bs_rshift_tsangan/layout.json diff --git a/layouts/community/60_ansi_split_bs_rshift_tsangan/readme.md b/layouts/default/60_ansi_split_bs_rshift_tsangan/readme.md similarity index 100% rename from layouts/community/60_ansi_split_bs_rshift_tsangan/readme.md rename to layouts/default/60_ansi_split_bs_rshift_tsangan/readme.md From 87522a45147511568d1a4929d5e4afb489b6a8c6 Mon Sep 17 00:00:00 2001 From: Jason Thigpen Date: Fri, 30 Nov 2018 13:18:14 -0800 Subject: [PATCH 3/4] Rename layout to be more accurately representative --- .../default_60_ansi_split_bs_rshift/keymap.c | 2 +- layouts/default/60_ansi_split_bs_rshift_tsangan/readme.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/default/60_ansi_split_bs_rshift_tsangan/default_60_ansi_split_bs_rshift/keymap.c b/layouts/default/60_ansi_split_bs_rshift_tsangan/default_60_ansi_split_bs_rshift/keymap.c index e61e6b6117e5..17b47eecf97a 100644 --- a/layouts/default/60_ansi_split_bs_rshift_tsangan/default_60_ansi_split_bs_rshift/keymap.c +++ b/layouts/default/60_ansi_split_bs_rshift_tsangan/default_60_ansi_split_bs_rshift/keymap.c @@ -1,7 +1,7 @@ #include QMK_KEYBOARD_H const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_60_ansi_split_bs_rshift_tsangan( + [0] = LAYOUT_60_ansi_tsangan_split_bs_rshift( KC_GRV, 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_BSPC,KC_BSPC, 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_BSLS , 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 , diff --git a/layouts/default/60_ansi_split_bs_rshift_tsangan/readme.md b/layouts/default/60_ansi_split_bs_rshift_tsangan/readme.md index 2898c2fc8de0..ad1c598b3438 100644 --- a/layouts/default/60_ansi_split_bs_rshift_tsangan/readme.md +++ b/layouts/default/60_ansi_split_bs_rshift_tsangan/readme.md @@ -1,3 +1,3 @@ -# 60_ansi_split_bs_rshift_tsangan +# 60_ansi_tsangan_split_bs_rshift - LAYOUT_60_ansi_split_bs_rshift_tsangan \ No newline at end of file + LAYOUT_60_ansi_tsangan_split_bs_rshift \ No newline at end of file From 94a3b9cc63ddded316b11c92c89c52aab8ef9039 Mon Sep 17 00:00:00 2001 From: Jason Thigpen Date: Fri, 30 Nov 2018 13:22:41 -0800 Subject: [PATCH 4/4] Rename files to match renamed layout def --- .../default_60_ansi_tsangan_split_bs_rshift}/keymap.c | 0 .../layout.json | 0 .../readme.md | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename layouts/default/{60_ansi_split_bs_rshift_tsangan/default_60_ansi_split_bs_rshift => 60_ansi_tsangan_split_bs_rshift/default_60_ansi_tsangan_split_bs_rshift}/keymap.c (100%) rename layouts/default/{60_ansi_split_bs_rshift_tsangan => 60_ansi_tsangan_split_bs_rshift}/layout.json (100%) rename layouts/default/{60_ansi_split_bs_rshift_tsangan => 60_ansi_tsangan_split_bs_rshift}/readme.md (100%) diff --git a/layouts/default/60_ansi_split_bs_rshift_tsangan/default_60_ansi_split_bs_rshift/keymap.c b/layouts/default/60_ansi_tsangan_split_bs_rshift/default_60_ansi_tsangan_split_bs_rshift/keymap.c similarity index 100% rename from layouts/default/60_ansi_split_bs_rshift_tsangan/default_60_ansi_split_bs_rshift/keymap.c rename to layouts/default/60_ansi_tsangan_split_bs_rshift/default_60_ansi_tsangan_split_bs_rshift/keymap.c diff --git a/layouts/default/60_ansi_split_bs_rshift_tsangan/layout.json b/layouts/default/60_ansi_tsangan_split_bs_rshift/layout.json similarity index 100% rename from layouts/default/60_ansi_split_bs_rshift_tsangan/layout.json rename to layouts/default/60_ansi_tsangan_split_bs_rshift/layout.json diff --git a/layouts/default/60_ansi_split_bs_rshift_tsangan/readme.md b/layouts/default/60_ansi_tsangan_split_bs_rshift/readme.md similarity index 100% rename from layouts/default/60_ansi_split_bs_rshift_tsangan/readme.md rename to layouts/default/60_ansi_tsangan_split_bs_rshift/readme.md