summaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/sdothum/common/toggle_layout.h
diff options
context:
space:
mode:
authorsdothum <sdothum@gmail.com>2018-05-04 21:36:23 -0400
committerDrashna Jaelre <drashna@live.com>2018-05-04 18:36:23 -0700
commit50b5c6ad72682776705b0faf5b8ef87deec5cd6a (patch)
tree68310c4da2741d803ebaf052ba2c22e91faca72b /keyboards/planck/keymaps/sdothum/common/toggle_layout.h
parent5170398479c9e9ed36ff2966083c50e4808725be (diff)
downloadqmk_firmware-50b5c6ad72682776705b0faf5b8ef87deec5cd6a.tar.gz
qmk_firmware-50b5c6ad72682776705b0faf5b8ef87deec5cd6a.zip
update with qmk master (#2887)
* add splitography * trim keymap.c * add Makefile * rename Makefile to rules.mk * thumb key definition * thumb key definition * thumb key definition * blue/orange layer swap, double qwerty steno exit * fix TxBolt 1-3 key chord suppression (PREVENT_STUCK_MODIFIERS) * add audio control * beakl 8+10, dvorak (standard and splitography wide variant) * beakl 8+10, dvorak (standard and splitography wide variant) * shift layer home blocks * regex layer key changes * tilde align symbol navigation and regex layer * splitography/planck code break out into common .h segments * splitography/planck code break out into common .h segments * splitography common library * splitography common library * splitography beakl altgr home row * updating with qmk master
Diffstat (limited to 'keyboards/planck/keymaps/sdothum/common/toggle_layout.h')
-rw-r--r--keyboards/planck/keymaps/sdothum/common/toggle_layout.h102
1 files changed, 102 insertions, 0 deletions
diff --git a/keyboards/planck/keymaps/sdothum/common/toggle_layout.h b/keyboards/planck/keymaps/sdothum/common/toggle_layout.h
new file mode 100644
index 0000000000..504a1ff579
--- /dev/null
+++ b/keyboards/planck/keymaps/sdothum/common/toggle_layout.h
@@ -0,0 +1,102 @@
+
+// const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+
+// ......................................................... Number Keypad Layer
+
+ // .-----------------------------------------------------------------------------------.
+ // | | F | E | D | | | | / | 7 | 8 | 9 | * |
+ // |-----------------------------------------------------------------------------------|
+ // | Ctrl | C | B | A | | | | . | 4 | 5 | 6 | - |
+ // |-----------------------------------------------------------------------------------|
+ // | | # | G | \ | | | | , | 1 | 2 | 3 | + |
+ // |-----------------------------------------------------------------------------------|
+ // | | f() | Space| 0 | = | |
+ // | | f() | Space| = | 0 | |
+ // '-----------------------------------------------------------------------------------'
+
+ [_TTNUMBER] = {
+ {_______, KC_F, MT_E, KC_D, _______, ___x___, ___x___, KC_SLSH, KC_7, KC_8, KC_9, KC_ASTR},
+ {OS_CTL, GT_C, AT_B, ST_A, _______, ___x___, ___x___, TD_DOT, KC_4, KC_5, KC_6, KC_MINS},
+ {_______, KC_HASH, SM_G, KC_BSLS, _______, ___x___, ___x___, TD_COMM, KC_1, KC_2, KC_3, KC_PLUS},
+#ifdef THUMB_0
+ {_______, _______, _______, _______, TT_ESC, KC_SPC, KC_0, LT_EQL, _______, _______, _______, _______},
+#else
+ {_______, _______, _______, _______, TT_ESC, KC_SPC, KC_EQL, LT_0, _______, _______, _______, _______},
+#endif
+ },
+
+// ............ .................................................. Function Keys
+
+ // .-----------------------------------------------------------------------------------.
+ // | | | | | | | | | F7 | F8 | F9 | F12 |
+ // |-----------------------------------------------------------------------------------|
+ // | Ctrl | GUI | Alt | Shift| | | | | F4 | F5 | F6 | F11 |
+ // |-----------------------------------------------------------------------------------|
+ // | | | | | | | | | F1 | F2 | F3 | F10 |
+ // |-----------------------------------------------------------------------------------|
+ // | | f() | | + | | |
+ // '-----------------------------------------------------------------------------------'
+
+ [_TTFNCKEY] = {
+ {_______, _______, _______, _______, _______, ___x___, ___x___, _______, KC_F7, KC_F8, KC_F9, KC_F12 },
+ {OS_CTL, OS_GUI, OS_ALT, OS_SFT, _______, ___x___, ___x___, _______, KC_F4, KC_F5, KC_F6, KC_F11 },
+ {_______, _______, _______, _______, _______, ___x___, ___x___, _______, KC_F1, KC_F2, KC_F3, KC_F10 },
+ {_______, _______, _______, _______, TT_ESC, _______, KC_PLUS, _______, _______, _______, _______, _______},
+ },
+
+// ....................................................................... Regex
+
+ // ,-----------------------------------------------------------------------------------.
+ // | | ~ | { | } | & | | | % | [ | ] | @ | |
+ // |------+------+------+------+------+-------------+------+------+------+------+------|
+ // | | ^ | < | > | ? | | | | | ( | ) | $ | |
+ // |------+------+------+------+------+-------------+------+------+------+------+------|
+ // | | : | ! | = | / | | | \ | * | . | # | |
+ // |------+------+------+------+------+------+------+------+------+------+------+------|
+ // | | f() | - | + | Space| |
+ // `-----------------------------------------------------------------------------------'
+
+ [_TTREGEX] = {
+ {___x___, KC_TILD, KC_LCBR, KC_RCBR, KC_AMPR, ___x___, ___x___, KC_PERC, KC_LBRC, KC_RBRC, KC_AT, ___x___},
+ {___x___, KC_CIRC, KC_LT, KC_GT, KC_QUES, ___x___, ___x___, KC_PIPE, KC_LPRN, KC_RPRN, KC_DLR, ___x___},
+ {___x___, KC_COLN, KC_EXLM, KC_EQL, KC_SLSH, ___x___, ___x___, KC_BSLS, KC_ASTR, KC_DOT, KC_HASH, ___x___},
+ {_______, _______, _______, _______, TT_ESC, KC_MINS, KC_PLUS, KC_SPC, _______, _______, _______, _______},
+ },
+
+// ............................................................ Navigation Layer
+
+ // .-----------------------------------------------------------------------------------.
+ // | | | | | | | | | Home | Up | End | PgUp |
+ // |-----------------------------------------------------------------------------------|
+ // | Ctrl | GUI | Alt | Shift| | | | | Left | Down | Right| PgDn |
+ // |-----------------------------------------------------------------------------------|
+ // | | | | | | | | | | | | |
+ // |-----------------------------------------------------------------------------------|
+ // | | f() | | | | |
+ // '-----------------------------------------------------------------------------------'
+
+ [_TTCURSOR] = {
+ {_______, _______, _______, _______, _______, ___x___, ___x___, _______, KC_HOME, KC_UP, KC_END, KC_PGUP},
+ {OS_CTL, OS_GUI, OS_ALT, OS_SFT, _______, ___x___, ___x___, _______, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN},
+ {_______, _______, _______, _______, _______, ___x___, ___x___, _______, _______, _______, _______, _______},
+ {_______, _______, _______, _______, TT_ESC, _______, _______, _______, _______, _______, _______, _______},
+ },
+
+// ............................................................... Mouse Actions
+
+ // .-----------------------------------------------------------------------------------.
+ // | | | | | | | | | Left | Up | Right| Up |
+ // |-----------------------------------------------------------------------------------|
+ // | | Btn3 | Btn2 | Btn1 | | | | | Left | Down | Right| Down |
+ // |-----------------------------------------------------------------------------------|
+ // | | | | | | | | | | | | |
+ // |-----------------------------------------------------------------------------------|
+ // | | f() | | | | |
+ // '-----------------------------------------------------------------------------------'
+
+ [_TTMOUSE] = {
+ {_______, _______, _______, _______, _______, ___x___, ___x___, _______, KC_WH_L, KC_MS_U, KC_WH_R, KC_WH_U},
+ {_______, KC_BTN3, KC_BTN2, KC_BTN1, _______, ___x___, ___x___, _______, KC_MS_L, KC_MS_D, KC_MS_R, KC_WH_D},
+ {_______, _______, _______, _______, _______, ___x___, ___x___, _______, _______, _______, _______, _______},
+ {_______, _______, _______, _______, TT_ESC, _______, _______, _______, _______, _______, _______, _______},
+ },