aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/ergodox_ez/keymaps/matrixman/keymap.c213
-rw-r--r--keyboards/ergodox_ez/keymaps/matrixman/readme.md100
-rw-r--r--keyboards/planck/keymaps/matrixman/Makefile5
-rw-r--r--keyboards/planck/keymaps/matrixman/keymap.c80
-rw-r--r--keyboards/planck/keymaps/matrixman/readme.md100
5 files changed, 498 insertions, 0 deletions
diff --git a/keyboards/ergodox_ez/keymaps/matrixman/keymap.c b/keyboards/ergodox_ez/keymaps/matrixman/keymap.c
new file mode 100644
index 000000000..12b02813d
--- /dev/null
+++ b/keyboards/ergodox_ez/keymaps/matrixman/keymap.c
@@ -0,0 +1,213 @@
1#include "ergodox_ez.h"
2#include "debug.h"
3#include "action_layer.h"
4
5// http://www.keyboard-layout-editor.com/#/gists/9be130e4c9b503317619
6
7#define BASE 0 // default layer
8#define SYMB_R 1 // symbols (activated by right hand)
9#define SYMB_L 2 // symbols (activated by left hand)
10#define NAV 3 // navigation
11
12const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
13/* Keymap 0: Prose layer
14 *
15 * Layer switch keys:
16 * [tap/toggle]
17 * (momentary)
18 * {toggle}
19 *
20 * ,--------------------------------------------------. ,--------------------------------------------------.
21 * | ESC | 1 | 2 | 3 | 4 | 5 | Del | | BSPC | 6 | 7 | 8 | 9 | 0 | BSPC |
22 * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------|
23 * | Tab | Q | W | E | R | T | Ctrl/| |Ctrl/ | Y | U | I | O | P | \ |
24 * |--------+------+------+------+------+------| Esc | | ; |------+------+------+------+------+--------|
25 * | Ctrl | A | S | D | F | G |------| |------| H | J | K | L | ; | ' |
26 * |--------+------+------+------+------+------|Alt/ | |Alt/ |------+------+------+------+------+--------|
27 * | Shift | Z | X | C | V | B |Tab | |Ins | N | M | , | . | / | Shift |
28 * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------'
29 * |Ctrl |Super | Alt |[Nav] |[Symb]| |[Symb]|[Nav] | Alt | Ctrl | Enter|
30 * `----------------------------------' `----------------------------------'
31 * ,-------------. ,-------------.
32 * | Shift| Alt | | Alt | Shift |
33 * ,------|------|------| |------+--------+------.
34 * | | |[Nav] | |[Nav] | | |
35 * | Tab | Esc |------| |------| Space | Bspc |
36 * | | | Ctrl | | Ctrl | | |
37 * `--------------------' `----------------------'
38 */
39[BASE] = KEYMAP( // layer 0 : default
40 // left hand
41 LT(NAV,KC_ESC), KC_1, KC_2, KC_3, KC_4, KC_5, KC_DELETE,
42 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, CTL_T(KC_ESC),
43 KC_LCTRL, KC_A, KC_S, KC_D, KC_F, KC_G,
44 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, ALT_T(KC_TAB),
45 KC_LCTRL, KC_LGUI, KC_LALT,KC_NO, MO(NAV),
46
47 KC_LCTRL, KC_LALT,
48 MO(NAV),
49 KC_TAB, LT(SYMB_L,KC_ESC), KC_LSFT,
50 // right hand
51 KC_BSPC, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
52 CTL_T(KC_SCLN),KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS,
53 KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
54 ALT_T(KC_INS), KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH, KC_RSFT,
55 MO(NAV),KC_NO, KC_RALT,KC_RGUI, CTL_T(KC_ENT),
56 KC_RALT, KC_RCTRL,
57 MO(NAV),
58 KC_RSFT, LT(SYMB_R,KC_SPACE), KC_BSPC
59 ),
60/* Keymap 1: Symbol Layer
61 *
62 * ,--------------------------------------------------. ,--------------------------------------------------.
63 * | | | | | | | | | | | | | | | |
64 * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------|
65 * | | ` | ~ | * | & | / | < | | > | \ | 7 | 8 | 9 | | | |
66 * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
67 * | | _ | ^ | % | $ | ( |------| |------| ) | 4 | 5 | 6 | - | Enter |
68 * |--------+------+------+------+------+------| [ | | ] |------+------+------+------+------+--------|
69 * | | = | # | @ | ! | { | | | | } | 1 | 2 | 3 | + | Enter |
70 * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------'
71 * | " | | | | | | 0 | . | . | | |
72 * `----------------------------------' `----------------------------------'
73 * ,-------------. ,-------------.
74 * | | | | | |
75 * ,------|------|------| |------+------+------.
76 * | | | | | | | |
77 * | ? | : |------| |------| ; | . |
78 * | | | | | | | |
79 * `--------------------' `--------------------'
80 */
81[SYMB_L] = KEYMAP(
82 // left hand
83 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
84 KC_TRNS, KC_GRV , KC_TILD, KC_ASTR, KC_AMPR, KC_SLSH, LSFT(KC_COMM),
85 KC_TRNS, KC_UNDS, KC_CIRC, KC_PERC, KC_DLR, KC_LPRN,
86 KC_TRNS, KC_EQL, KC_HASH, KC_AT, KC_EXLM, KC_LCBR, KC_LBRC,
87 LSFT(KC_QUOT), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
88 KC_TRNS, KC_TRNS,
89 KC_TRNS,
90 LSFT(KC_SLSH), KC_TRNS, KC_TRNS,
91 // right hand
92 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
93 LSFT(KC_DOT), KC_BSLS, KC_7, KC_8, KC_9, KC_PIPE, KC_TRNS,
94 KC_RPRN, KC_4, KC_5, KC_6, KC_MINS, KC_ENT,
95 KC_RBRC, KC_RCBR, KC_1, KC_2, KC_3, KC_PLUS, KC_ENT,
96 KC_0, KC_DOT, KC_DOT, KC_TRNS, KC_TRNS,
97 KC_TRNS, KC_TRNS,
98 KC_TRNS,
99 KC_TRNS, KC_SCLN, KC_DOT
100),
101
102[SYMB_R] = KEYMAP( // same as above, but avoids clash between SYMB and ;/:
103 // left hand
104 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
105 KC_TRNS, KC_GRV , KC_TILD, KC_ASTR, KC_AMPR, KC_SLSH, LSFT(KC_COMM),
106 KC_TRNS, KC_UNDS, KC_CIRC, KC_PERC, KC_DLR, KC_LPRN,
107 KC_TRNS, KC_EQL, KC_HASH, KC_AT, KC_EXLM, KC_LCBR, KC_LBRC,
108 LSFT(KC_QUOT), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
109 KC_TRNS, KC_TRNS,
110 KC_TRNS,
111 LSFT(KC_SLSH), KC_COLN, KC_TRNS,
112 // right hand
113 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
114 LSFT(KC_DOT), KC_BSLS, KC_7, KC_8, KC_9, KC_PIPE, KC_TRNS,
115 KC_RPRN, KC_4, KC_5, KC_6, KC_MINS, KC_ENT,
116 KC_RBRC, KC_RCBR, KC_1, KC_2, KC_3, KC_PLUS, KC_ENT,
117 KC_0, KC_DOT, KC_DOT, KC_TRNS, KC_TRNS,
118 KC_TRNS, KC_TRNS,
119 KC_TRNS,
120 KC_TRNS, KC_TRNS, KC_DOT
121),
122/* Keymap 2: Navigation Layer
123 *
124 * ,--------------------------------------------------. ,--------------------------------------------------.
125 * | | F1 | F2 | F3 | F4 | F5 |Break | |PrntSc| F6 | F7 | F8 | F9 | F10 | F11 |
126 * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------|
127 * | | F1 | F2 | F3 | F4 | F5 | | | | F6 | F7 | F8 | F9 | F10 | F12 |
128 * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
129 * | | --- |MsLeft|MsUp |MsDown|MsRght|------| |------| Left | Down | Up | Right| F11 | Enter|
130 * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
131 * | | --- | Btn4 |ScrlDn|ScrlUp| Btn5 | | | | Home | PgDwn| PgUp | End | F12 | |
132 * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------'
133 * | | | | | | | | | | | |
134 * `----------------------------------' `----------------------------------'
135 * ,-------------. ,-------------.
136 * | | | | | |
137 * ,------|------|------| |------+------+------.
138 * | | | | | | | |
139 * | | |------| |------| | |
140 * | | | | | | | |
141 * `--------------------' `--------------------'
142 */
143[NAV] = KEYMAP(
144 // left hand
145 KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_PAUSE,
146 KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_TRNS,
147 KC_TRNS, KC_BTN1, KC_MS_L, KC_MS_U, KC_MS_D, KC_MS_R,
148 KC_TRNS, KC_BTN2, KC_BTN4, KC_MS_WH_UP, KC_MS_WH_DOWN, KC_BTN5, KC_TRNS,
149 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
150 KC_TRNS, KC_TRNS,
151 KC_TRNS,
152 KC_TRNS, KC_TRNS, KC_TRNS,
153 // right hand
154 KC_PSCREEN, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
155 KC_TRNS, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F12,
156 KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_F11, KC_ENT,
157 KC_TRNS, KC_HOME, KC_PGDN, KC_PGUP, KC_END, KC_F12, KC_TRNS,
158 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
159 KC_TRNS, KC_TRNS,
160 KC_TRNS,
161 KC_TRNS, KC_TRNS, KC_TRNS
162),
163};
164
165const uint16_t PROGMEM fn_actions[] = {
166// [1] = ACTION_LAYER_TAP_TOGGLE(SYMB), // FN1 - Tap/Toggle Layer 1 (Symbols)
167// [2] = ACTION_LAYER_TAP_TOGGLE(NAV) // FN2 - Tap/Toggle Layer 2 (Nav)
168};
169
170const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
171{
172 // MACRODOWN only works in this function
173 switch(id) {
174 case 0:
175 if (record->event.pressed) {
176 register_code(KC_RSFT);
177 } else {
178 unregister_code(KC_RSFT);
179 }
180 break;
181 }
182 return MACRO_NONE;
183};
184
185// Runs just one time when the keyboard initializes.
186void matrix_init_user(void) {
187
188};
189
190// Runs constantly in the background, in a loop.
191void matrix_scan_user(void) {
192
193 uint8_t layer = biton32(layer_state);
194
195 ergodox_board_led_off();
196 ergodox_right_led_1_off();
197 ergodox_right_led_2_off();
198 ergodox_right_led_3_off();
199 switch (layer) {
200 // TODO: Make this relevant to the ErgoDox EZ.
201 case 1:
202 case 2:
203 ergodox_right_led_1_on();
204 break;
205 case 3:
206 case 4:
207 ergodox_right_led_2_on();
208 break;
209 default:
210 // none
211 break;
212 }
213};
diff --git a/keyboards/ergodox_ez/keymaps/matrixman/readme.md b/keyboards/ergodox_ez/keymaps/matrixman/readme.md
new file mode 100644
index 000000000..1f72d7322
--- /dev/null
+++ b/keyboards/ergodox_ez/keymaps/matrixman/readme.md
@@ -0,0 +1,100 @@
1The Matrixman Ergodox / Split-Planck Keyboard Layout
2====================================================
3
4### The problem
5
6These layouts were designed to give my aching pinkeys a break
7
8### The Design
9
10 - Pinkeys do less:
11 - Left q, a, z, `, _, =, [Shift], [F1] [Click], [Right Click]
12 - Right p, ', /, |, -, +, [Shift], [F10], [F11], [F12]
13 - Index fingers do more:
14 - Left: r, f, v, t, g, b, &, $, !, /, (, {, <, [, [Ctrl], [Tab], [Alt], [PrintScr]
15 - Right: u, j, m, y, h, n, 7, 4, 1, \, ), }, >, ], ;, [Ctrl], [Insert], [Alt], [Pause]
16 - Thumbs do more:
17 - Left: [Esc], :, [Shift], [Tab]
18 - Right: [Space], ;, [Shift], [Backspace]
19 - Palm Presses too:
20 - Left: [Ctrl], "
21 - Right: [Ctrl, [Enter]
22
23### The Plan
24
25I keep an Ergodox at home and at work, and when I'm mobile, I carry a planck.
26These keymaps are designed to minimize the difficulty of switching between the two.
27
28### Other features
29
30- 10-key at home row for right hand
31- "Matching" symbols use same finger on opposite hand: <> [] {} /\ () 1! 2@ 3# 4$ 5% 6^ 7& 8* -_ +=
32- Supports vim-like (hjkl) movements:
33 - mouse movement and scrolling
34 - arrow keys and nav keys (home, end, pg up, pg down)
35- All non-modal keys mapped (all keys from a typical 105 key keyboard except caps, num, and scroll lock)
36
37The Planck Layout
38-----------------
39
40For a picture, see here: http://www.keyboard-layout-editor.com/#/gists/eb0696806831fc0d93c9
41
42### Prose Layer
43
44 qwert▓▓yuiop
45 asdfg▓;hjkl'
46 zxcvb▓▓nm,./
47 ▓▓▓▓▓▓▓ ▓▓▓▓
48
49### Symbol Layer
50
51 `~*&/<>\789|
52 _^%$([])456-
53 =#@!{▓▓}123+
54 "▓,?:▓▓;0▓.▓
55
56### Nav Layer
57
58 FKEYF▓▓KEYFK
59 mouse▓▓arowE
60 scrol▓▓seekY
61 ▓▓▓▓▓▓▓▓▓▓▓▓
62
63
64The Ergodox Layout
65------------------
66
67For a picture, see here: http://www.keyboard-layout-editor.com/#/gists/9be130e4c9b503317619
68
69Wherever the Ergodox has keys that the Planck doesn't, whichever key would be expected on a typical 105 key is in that place
70
71### Prose Layer
72
73▓▓▓▓▓▓▓ ▓▓▓▓▓▓
74▓qwert▓ ▓yuiop\
75▓asdfg▓ ;hjkl;'
76▓zxcvb nm,./▓
77▓▓▓▓▓▓ ▓▓▓▓▓▓
78 ▓▓ ▓▓
79 ▓▓▓ ▓ ▓
80
81### Symbol Layer
82
83▓▓▓▓▓▓ ▓▓▓▓▓▓
84▓`~*&/< >\789|\
85▓_^%$([ ])456-▓
86▓=#@!{ }123+▓
87"▓▓▓▓▓▓ 0▓.▓▓
88 ▓▓ ▓▓
89 ?:▓ ▓;.
90
91
92### Nav Layer
93
94▓▓▓▓▓▓▓ ▓▓▓▓▓▓
95▓FKEYF▓ ▓KEYFK▓
96▓mouse▓ arowE▓
97▓scrol seekY▓
98▓▓▓▓▓▓ ▓▓▓▓▓▓
99 ▓▓ ▓▓
100 ▓▓▓ ▓▓▓
diff --git a/keyboards/planck/keymaps/matrixman/Makefile b/keyboards/planck/keymaps/matrixman/Makefile
new file mode 100644
index 000000000..159f80be9
--- /dev/null
+++ b/keyboards/planck/keymaps/matrixman/Makefile
@@ -0,0 +1,5 @@
1MOUSEKEY_ENABLE = yes
2BACKLIGHT_ENABLE = yes
3ifndef QUANTUM_DIR
4 include ../../../../Makefile
5endif
diff --git a/keyboards/planck/keymaps/matrixman/keymap.c b/keyboards/planck/keymaps/matrixman/keymap.c
new file mode 100644
index 000000000..4506b88af
--- /dev/null
+++ b/keyboards/planck/keymaps/matrixman/keymap.c
@@ -0,0 +1,80 @@
1#include "planck.h"
2#ifdef BACKLIGHT_ENABLE
3#include "backlight.h"
4#endif
5
6// http://www.keyboard-layout-editor.com/#/gists/eb0696806831fc0d93c9
7
8#define _PROSE 0
9#define _SYMB_L 1
10#define _SYMB_R 2
11#define _NAV_L 3
12#define _NAV_R 4
13#define _NAV_ALT 5
14
15const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
16[_PROSE] = {
17 {LT(_NAV_L,KC_Q), KC_W, KC_E, KC_R, KC_T, KC_DELETE, KC_BSPC, KC_Y, KC_U, KC_I, KC_O, LT(_NAV_R,KC_P)}
18 ,{KC_A, KC_S, KC_D, KC_F, KC_G, CTL_T(KC_ESC), CTL_T(KC_SCLN), KC_H, KC_J, KC_K, KC_L, KC_QUOT}
19 ,{SFT_T(KC_Z), KC_X, KC_C, KC_V, KC_B, ALT_T(KC_TAB), ALT_T(KC_INS), KC_N, KC_M, KC_COMM, KC_DOT, SFT_T(KC_SLSH)}
20 ,{KC_LCTRL, KC_LGUI, KC_FN0, KC_TAB, LT(_SYMB_L, KC_ESC), KC_LSFT, KC_LSFT, LT(_SYMB_R,KC_SPC), KC_BSPC, KC_FN0, KC_RCTRL, KC_ENT}
21},
22 // accessed via the left symb-layer key, includes a semicolon where the right symb-layer key was
23[_SYMB_L] = {
24 {KC_GRV, KC_TILD, KC_ASTR, KC_AMPR, KC_SLSH, LSFT(KC_COMM), LSFT(KC_DOT), KC_BSLS, KC_7, KC_8, KC_9, KC_PIPE}
25 ,{KC_UNDS, KC_CIRC, KC_PERC, KC_DLR, KC_LPRN, KC_LBRC, KC_RBRC, KC_RPRN, KC_4, KC_5, KC_6, KC_MINS}
26 ,{KC_EQL , KC_HASH, KC_AT, KC_EXLM, KC_LCBR, KC_TRNS, KC_TRNS, KC_RCBR, KC_1, KC_2, KC_3, KC_PLUS}
27 ,{LSFT(KC_QUOT), KC_TRNS, KC_COMM, LSFT(KC_SLSH), KC_TRNS, KC_TRNS, KC_TRNS, KC_SCLN, KC_0, KC_DOT, KC_DOT, KC_TRNS}
28},
29 // accessed via the right symb-layer key, includes a colon where the left symb-layer key was
30[_SYMB_R] = {
31 {KC_GRV, KC_TILD, KC_ASTR, KC_AMPR, KC_SLSH, LSFT(KC_COMM), LSFT(KC_DOT), KC_BSLS, KC_7, KC_8, KC_9, KC_PIPE}
32 ,{KC_UNDS, KC_CIRC, KC_PERC, KC_DLR, KC_LPRN, KC_LBRC, KC_RBRC, KC_RPRN, KC_4, KC_5, KC_6, KC_MINS}
33 ,{KC_EQL , KC_HASH, KC_AT, KC_EXLM, KC_LCBR, KC_TRNS, KC_TRNS, KC_RCBR, KC_1, KC_2, KC_3, KC_PLUS}
34 ,{LSFT(KC_QUOT), KC_TRNS, KC_COMM, LSFT(KC_SLSH), KC_COLN, KC_TRNS, KC_TRNS, KC_TRNS, KC_0, KC_DOT, KC_TRNS, KC_TRNS}
35},
36 // accessed via the left nav-layer key, includes a F10 where the right nav-layer key was
37[_NAV_L] = {
38 {KC_TRNS, KC_F2, KC_F3, KC_F4, KC_F5, RESET, BL_STEP, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10}
39 ,{KC_BTN1, KC_MS_L, KC_MS_U, KC_MS_D, KC_MS_R, KC_PSCREEN, KC_PAUSE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_F11}
40 ,{KC_BTN2, KC_BTN4, KC_MS_WH_UP,KC_MS_WH_DOWN, KC_BTN5, KC_TRNS, KC_TRNS, KC_HOME, KC_PGDN, KC_PGUP, KC_END, KC_F12}
41 ,{KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS}
42},
43 // accessed via the right nav-layer key, includes a F1 where the left nav-layer key was
44[_NAV_R] = {
45 {KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, RESET, BL_STEP, KC_F6, KC_F7, KC_F8, KC_F9, KC_TRNS}
46 ,{KC_BTN1, KC_MS_L, KC_MS_U, KC_MS_D, KC_MS_R, KC_PSCREEN, KC_PAUSE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_F11}
47 ,{KC_BTN2, KC_BTN4, KC_MS_WH_UP,KC_MS_WH_DOWN, KC_BTN5, KC_TRNS, KC_TRNS, KC_HOME, KC_PGDN, KC_PGUP, KC_END, KC_F12}
48 ,{KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS}
49},
50 // accessed via the lower alt keys, moves tab and delete to make alt+tab and ctrl+alt+del feel more standard
51[_NAV_ALT] = {
52 {KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, RESET, BL_STEP, KC_F6, KC_F7, KC_F8, KC_F9, KC_DELETE}
53 ,{KC_TAB, KC_MS_L, KC_MS_U, KC_MS_D, KC_MS_R, KC_PSCREEN, KC_PAUSE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_F11}
54 ,{KC_BTN2, KC_BTN4, KC_MS_WH_UP,KC_MS_WH_DOWN, KC_BTN5, KC_TRNS, KC_TRNS, KC_HOME, KC_PGDN, KC_PGUP, KC_END, KC_F12}
55 ,{KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS}
56}
57};
58
59const uint16_t PROGMEM fn_actions[] = {
60 [0] = ACTION_LAYER_MODS(_NAV_ALT, MOD_LALT)
61
62};
63
64const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
65{
66 // MACRODOWN only works in this function
67 switch(id) {
68 case 0:
69 if (record->event.pressed) {
70 register_code(KC_RSFT);
71 #ifdef BACKLIGHT_ENABLE
72 backlight_step();
73 #endif
74 } else {
75 unregister_code(KC_RSFT);
76 }
77 break;
78 }
79 return MACRO_NONE;
80};
diff --git a/keyboards/planck/keymaps/matrixman/readme.md b/keyboards/planck/keymaps/matrixman/readme.md
new file mode 100644
index 000000000..1f72d7322
--- /dev/null
+++ b/keyboards/planck/keymaps/matrixman/readme.md
@@ -0,0 +1,100 @@
1The Matrixman Ergodox / Split-Planck Keyboard Layout
2====================================================
3
4### The problem
5
6These layouts were designed to give my aching pinkeys a break
7
8### The Design
9
10 - Pinkeys do less:
11 - Left q, a, z, `, _, =, [Shift], [F1] [Click], [Right Click]
12 - Right p, ', /, |, -, +, [Shift], [F10], [F11], [F12]
13 - Index fingers do more:
14 - Left: r, f, v, t, g, b, &, $, !, /, (, {, <, [, [Ctrl], [Tab], [Alt], [PrintScr]
15 - Right: u, j, m, y, h, n, 7, 4, 1, \, ), }, >, ], ;, [Ctrl], [Insert], [Alt], [Pause]
16 - Thumbs do more:
17 - Left: [Esc], :, [Shift], [Tab]
18 - Right: [Space], ;, [Shift], [Backspace]
19 - Palm Presses too:
20 - Left: [Ctrl], "
21 - Right: [Ctrl, [Enter]
22
23### The Plan
24
25I keep an Ergodox at home and at work, and when I'm mobile, I carry a planck.
26These keymaps are designed to minimize the difficulty of switching between the two.
27
28### Other features
29
30- 10-key at home row for right hand
31- "Matching" symbols use same finger on opposite hand: <> [] {} /\ () 1! 2@ 3# 4$ 5% 6^ 7& 8* -_ +=
32- Supports vim-like (hjkl) movements:
33 - mouse movement and scrolling
34 - arrow keys and nav keys (home, end, pg up, pg down)
35- All non-modal keys mapped (all keys from a typical 105 key keyboard except caps, num, and scroll lock)
36
37The Planck Layout
38-----------------
39
40For a picture, see here: http://www.keyboard-layout-editor.com/#/gists/eb0696806831fc0d93c9
41
42### Prose Layer
43
44 qwert▓▓yuiop
45 asdfg▓;hjkl'
46 zxcvb▓▓nm,./
47 ▓▓▓▓▓▓▓ ▓▓▓▓
48
49### Symbol Layer
50
51 `~*&/<>\789|
52 _^%$([])456-
53 =#@!{▓▓}123+
54 "▓,?:▓▓;0▓.▓
55
56### Nav Layer
57
58 FKEYF▓▓KEYFK
59 mouse▓▓arowE
60 scrol▓▓seekY
61 ▓▓▓▓▓▓▓▓▓▓▓▓
62
63
64The Ergodox Layout
65------------------
66
67For a picture, see here: http://www.keyboard-layout-editor.com/#/gists/9be130e4c9b503317619
68
69Wherever the Ergodox has keys that the Planck doesn't, whichever key would be expected on a typical 105 key is in that place
70
71### Prose Layer
72
73▓▓▓▓▓▓▓ ▓▓▓▓▓▓
74▓qwert▓ ▓yuiop\
75▓asdfg▓ ;hjkl;'
76▓zxcvb nm,./▓
77▓▓▓▓▓▓ ▓▓▓▓▓▓
78 ▓▓ ▓▓
79 ▓▓▓ ▓ ▓
80
81### Symbol Layer
82
83▓▓▓▓▓▓ ▓▓▓▓▓▓
84▓`~*&/< >\789|\
85▓_^%$([ ])456-▓
86▓=#@!{ }123+▓
87"▓▓▓▓▓▓ 0▓.▓▓
88 ▓▓ ▓▓
89 ?:▓ ▓;.
90
91
92### Nav Layer
93
94▓▓▓▓▓▓▓ ▓▓▓▓▓▓
95▓FKEYF▓ ▓KEYFK▓
96▓mouse▓ arowE▓
97▓scrol seekY▓
98▓▓▓▓▓▓ ▓▓▓▓▓▓
99 ▓▓ ▓▓
100 ▓▓▓ ▓▓▓