aboutsummaryrefslogtreecommitdiff
path: root/keyboards/mitosis
diff options
context:
space:
mode:
authorMichael F. Lamb <mike@datagrok.org>2018-03-27 09:18:28 -0700
committerDrashna Jaelre <drashna@live.com>2018-03-27 09:18:28 -0700
commitb61974b3010ecf947899516f3af68bc5863bee8e (patch)
treecb7fd2ed2bf37e9d0d45787bb6667920ea14fa9c /keyboards/mitosis
parent9f5a4af09cc05562e12c2ae0a0885aa7881275e1 (diff)
downloadqmk_firmware-b61974b3010ecf947899516f3af68bc5863bee8e.tar.gz
qmk_firmware-b61974b3010ecf947899516f3af68bc5863bee8e.zip
mitosis:datagrok: minor layout improvements (#2366)
* mitosis/datagrok: make qwerty the default layout * mitosis/datagrok: update readme to match qwerty default * mitosis:datagrok: remove redundant name for transparent meh, decided i don't need an extra key to represent "key that is transparent because it's a modifier on a layer below." it's a maintenance burden when moving other keys around * mitosis:datagrok: add num lock on Blue + QWERTY T * mitosis:datagrok: tap lshift = tab we use tab completion a lot so let's get it onto an unmodified key somehow * mitosis:datagrok: update readme * mitosis:datagrok: improve notes in README * mitosis:datagrok: note numlock in README
Diffstat (limited to 'keyboards/mitosis')
-rw-r--r--keyboards/mitosis/keymaps/datagrok/keymap.c29
-rw-r--r--keyboards/mitosis/keymaps/datagrok/readme.md67
2 files changed, 57 insertions, 39 deletions
diff --git a/keyboards/mitosis/keymaps/datagrok/keymap.c b/keyboards/mitosis/keymaps/datagrok/keymap.c
index 36683fbc5..24d9d6500 100644
--- a/keyboards/mitosis/keymaps/datagrok/keymap.c
+++ b/keyboards/mitosis/keymaps/datagrok/keymap.c
@@ -2,8 +2,8 @@
2 2
3enum mitosis_layers 3enum mitosis_layers
4{ 4{
5 _xW, // workman
6 _xQ, // qwerty 5 _xQ, // qwerty
6 _xW, // workman
7 _xS, // symbols 7 _xS, // symbols
8 _xN, // numbers 8 _xN, // numbers
9 _xF // functions 9 _xF // functions
@@ -12,7 +12,6 @@ enum mitosis_layers
12// Fillers to make layering more clear 12// Fillers to make layering more clear
13#define XXXXXXX KC_NO // No-op (no key in this location on Mitosis' fake matrix) 13#define XXXXXXX KC_NO // No-op (no key in this location on Mitosis' fake matrix)
14#define _______ KC_TRNS // Transparent, because I haven't decided a mapping yet 14#define _______ KC_TRNS // Transparent, because I haven't decided a mapping yet
15#define ___M___ KC_TRNS // Transparent, as required by modifier key on another layer
16#define KC_LMTA KC_LALT // For fun, name the mods like the space cadet keyboard does 15#define KC_LMTA KC_LALT // For fun, name the mods like the space cadet keyboard does
17#define KC_RMTA KC_RALT // META 16#define KC_RMTA KC_RALT // META
18#define KC_LSUP KC_LGUI // SUPER 17#define KC_LSUP KC_LGUI // SUPER
@@ -27,17 +26,17 @@ enum mitosis_layers
27// other is released. Which doesn't bother me. 26// other is released. Which doesn't bother me.
28 27
29const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { 28const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
30 [_xW] = {
31 {KC_Q, KC_D, KC_R, KC_W, KC_B, KC_J, KC_F, KC_U, KC_P, KC_SCLN},
32 {KC_A, KC_S, KC_H, KC_T, KC_G, KC_Y, KC_N, KC_E, KC_O, KC_I},
33 {KC_Z, KC_X, KC_M, KC_C, KC_V, KC_K, KC_L, KC_COMM, KC_DOT, KC_QUOT},
34 {XXXXXXX, KC_LSUP, KC_LCTL, MO(_xN), KC_LSFT, KC_RSFT, MO(_xN), KC_RCTL, KC_RSUP, XXXXXXX},
35 {XXXXXXX, KC_LHYP, KC_LMTA, MO(_xS), KC_BSPC, KC_SPC, MO(_xS), KC_RMTA, KC_RHYP, XXXXXXX}
36 },
37 [_xQ] = { 29 [_xQ] = {
38 {KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P}, 30 {KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P},
39 {KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN}, 31 {KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN},
40 {KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_QUOT}, 32 {KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_QUOT},
33 {XXXXXXX, KC_LSUP, KC_LCTL, MO(_xN), SFT_T(KC_TAB), KC_RSFT, MO(_xN), KC_RCTL, KC_RSUP, XXXXXXX},
34 {XXXXXXX, KC_LHYP, KC_LMTA, MO(_xS), KC_BSPC, KC_SPC, MO(_xS), KC_RMTA, KC_RHYP, XXXXXXX}
35 },
36 [_xW] = {
37 {KC_Q, KC_D, KC_R, KC_W, KC_B, KC_J, KC_F, KC_U, KC_P, KC_SCLN},
38 {KC_A, KC_S, KC_H, KC_T, KC_G, KC_Y, KC_N, KC_E, KC_O, KC_I},
39 {KC_Z, KC_X, KC_M, KC_C, KC_V, KC_K, KC_L, KC_COMM, KC_DOT, KC_QUOT},
41 {XXXXXXX, _______, _______, _______, _______, _______, _______, _______, _______, XXXXXXX}, 40 {XXXXXXX, _______, _______, _______, _______, _______, _______, _______, _______, XXXXXXX},
42 {XXXXXXX, _______, _______, _______, _______, _______, _______, _______, _______, XXXXXXX} 41 {XXXXXXX, _______, _______, _______, _______, _______, _______, _______, _______, XXXXXXX}
43 }, 42 },
@@ -46,21 +45,21 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
46 {KC_TAB, KC_LEFT, KC_DOWN, KC_RGHT, _______, KC_CIRC, KC_AMPR, KC_PIPE, KC_GRV, KC_UNDS}, 45 {KC_TAB, KC_LEFT, KC_DOWN, KC_RGHT, _______, KC_CIRC, KC_AMPR, KC_PIPE, KC_GRV, KC_UNDS},
47 {KC_BSLS, KC_RPRN, KC_RCBR, KC_RBRC, KC_RABK, KC_LABK, KC_LBRC, KC_LCBR, KC_LPRN, KC_SLSH}, 46 {KC_BSLS, KC_RPRN, KC_RCBR, KC_RBRC, KC_RABK, KC_LABK, KC_LBRC, KC_LCBR, KC_LPRN, KC_SLSH},
48 {XXXXXXX, _______, _______, MO(_xF), _______, _______, MO(_xF), _______, _______, XXXXXXX}, 47 {XXXXXXX, _______, _______, MO(_xF), _______, _______, MO(_xF), _______, _______, XXXXXXX},
49 {XXXXXXX, _______, _______, ___M___, KC_DEL, KC_ENT, ___M___, _______, _______, XXXXXXX}, 48 {XXXXXXX, _______, _______, _______, KC_DEL, KC_ENT, _______, _______, _______, XXXXXXX},
50 }, 49 },
51 [_xN] = { 50 [_xN] = {
52 {_______, _______, _______, _______, _______, KC_PSLS, KC_P7, KC_P8, KC_P9, KC_P0}, 51 {_______, _______, _______, _______, KC_NLCK, KC_PSLS, KC_P7, KC_P8, KC_P9, KC_P0},
53 {_______, _______, _______, _______, _______, KC_PAST, KC_P4, KC_P5, KC_P6, KC_PPLS}, 52 {_______, _______, _______, _______, _______, KC_PAST, KC_P4, KC_P5, KC_P6, KC_PPLS},
54 {_______, _______, _______, _______, _______, KC_PMNS, KC_P1, KC_P2, KC_P3, KC_PEQL}, 53 {_______, _______, _______, _______, _______, KC_PMNS, KC_P1, KC_P2, KC_P3, KC_PEQL},
55 {XXXXXXX, _______, _______, ___M___, _______, _______, ___M___, _______, _______, XXXXXXX}, 54 {XXXXXXX, _______, _______, _______, _______, _______, _______, _______, _______, XXXXXXX},
56 {XXXXXXX, _______, _______, MO(_xF), _______, KC_PENT, MO(_xF), _______, _______, XXXXXXX}, 55 {XXXXXXX, _______, _______, MO(_xF), _______, KC_PENT, MO(_xF), _______, _______, XXXXXXX},
57 }, 56 },
58 [_xF] = { 57 [_xF] = {
59 {_______, _______, KC_PGUP, _______, KC_VOLU, KC_F13, KC_F7, KC_F8, KC_F9, KC_F10}, 58 {_______, _______, KC_PGUP, _______, KC_VOLU, KC_F13, KC_F7, KC_F8, KC_F9, KC_F10},
60 {_______, KC_HOME, KC_PGDN, KC_END, KC_VOLD, KC_F14, KC_F4, KC_F5, KC_F6, KC_F11}, 59 {_______, KC_HOME, KC_PGDN, KC_END, KC_VOLD, KC_F14, KC_F4, KC_F5, KC_F6, KC_F11},
61 {TG(_xQ), KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_F15, KC_F1, KC_F2, KC_F3, KC_F12}, 60 {TG(_xW), KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_F15, KC_F1, KC_F2, KC_F3, KC_F12},
62 {XXXXXXX, _______, _______, ___M___, _______, _______, ___M___, _______, _______, XXXXXXX}, 61 {XXXXXXX, _______, _______, _______, _______, _______, _______, _______, _______, XXXXXXX},
63 {XXXXXXX, _______, _______, _______, ___M___, ___M___, _______, _______, _______, XXXXXXX}, 62 {XXXXXXX, _______, _______, _______, _______, _______, _______, _______, _______, XXXXXXX},
64 }, 63 },
65}; 64};
66 65
diff --git a/keyboards/mitosis/keymaps/datagrok/readme.md b/keyboards/mitosis/keymaps/datagrok/readme.md
index a5b7b6c62..a81829f26 100644
--- a/keyboards/mitosis/keymaps/datagrok/readme.md
+++ b/keyboards/mitosis/keymaps/datagrok/readme.md
@@ -1,24 +1,30 @@
1![mitosis:datagrok layout image](https://i.imgur.com/Lt0t0nq.png) 1![mitosis:datagrok layout image](https://i.imgur.com/eum3fsc.png)
2 2
3[Keyboard layout editor source](http://www.keyboard-layout-editor.com/#/gists/e1a6a7a480fd4984c0bed38ee35f6c4f) 3[Keyboard layout editor source](http://www.keyboard-layout-editor.com/#/gists/9cf33be8a8e773647cfa44a0dbc44b31)
4 4
5# a layout for the Mitosis 5# a layout for the Mitosis
6 6
7- Emphasis on momentary modifiers, all usable from either hand, arranged 7- Emphasis on momentary modifiers, all usable from either hand, arranged
8 symmetrically, but distinguishable left/right by the OS. Shift, Fn1 8 symmetrically, but distinguishable left/right by the OS. Shift, Red
9 ("Lower"), Fn2 ("Raise"), Super ("Windows"), Meta ("Alt"), Hyper. 9 ("Lower"), Blue ("Raise"), Super ("Windows"), Meta ("Alt"), Hyper.
10 10
11- Fn1 and Fn2 are used to momentary-enable (like a shift key) one of three layers: 11- Red and Blue are used to momentary-enable (like a shift key) one of three layers:
12 12
13 - Fn1 (Red): Symbols layer 13 - Red: Symbols layer
14 - Fn2 (Blue): Numbers layer 14 - Blue: Numbers layer
15 - Both: Functions layer 15 - "Purple" (both Red and Blue): Functions layer
16 16
17- The base layer is a slight variant of [Workman][]. QWERTY may be toggled-on. 17- The base layer is QWERTY. A slight variant of [Workman][] may be toggled-on.
18
19- Emphasis on minimizing hand travel, so as not to lose orientation with
20 homerow.
18 21
19- Paired programming symbols (braces, brackets, parentheses) are arranged 22- Paired programming symbols (braces, brackets, parentheses) are arranged
20 symmetrically in the symbols layer. `?` and `!` are moved to take the place 23 symmetrically in the symbols layer.
21 of `<` and `>`. 24
25- `?` and `!` are moved to take the place of `<` and `>`. Rationale: unmodded
26 and shifted keys should be for prose, while symbols useful for programming
27 should be colocated on their own layer.
22 28
23- No OS keymap modification required. 29- No OS keymap modification required.
24 30
@@ -30,17 +36,24 @@
30 - Remove the lines in `rules.mk` mentioning `F_CPU` and `F_USB`. 36 - Remove the lines in `rules.mk` mentioning `F_CPU` and `F_USB`.
31 - Remove the lines in `config.h` mentioning `SERIAL_UART_BAUD`. 37 - Remove the lines in `config.h` mentioning `SERIAL_UART_BAUD`.
32 38
33- I'm learning a new key placement, so might as well go all out and use an 39- Workman layout
34 optimal non-QWERTY layout.
35 40
36- I like the way Workman feels and some of its advantages over Colemak. 41 - I'm learning a new physical key placement, so I might as well go all out
37 Unfortunately, it was designed using a weighting system based on a standard 42 and use an optimal non-QWERTY layout.
38 column-staggered keyboard so is probably not as optimal as one could achieve 43
39 on an ergonomic board like the Mitosis. 44 - I like the way Workman feels and some of its advantages over Colemak.
45 Unfortunately, it was designed using a weighting system based on a
46 standard column-staggered keyboard so is probably not as optimal as one
47 could achieve on an ergonomic board like the Mitosis. Maybe run an
48 optimizer routine after I determine good values for key difficulty on the
49 Mitosis.
40 50
41- Arrows in the home position (on a layer). Mod+Arrows = PgUp/PgDn/Home/End, 51- Arrows in the home position (on a layer). Mod+Arrows = PgUp/PgDn/Home/End,
42 which is intuitive for me 52 which is intuitive for me
43 53
54- I use tab all the time for autocompletion. To allow it to live on the base
55 layer it is now Mod-Tapped with left shift.
56
44### Abandoned ideas 57### Abandoned ideas
45 58
46- ~~"Since QWERTY and Workman keep angle brackets together, place other 59- ~~"Since QWERTY and Workman keep angle brackets together, place other
@@ -52,22 +65,28 @@
52 activates a symbols layer where all brackets are easily accessible. 65 activates a symbols layer where all brackets are easily accessible.
53 66
54- Space/Enter to the left of layer select for Enter doesn't work well; I always 67- Space/Enter to the left of layer select for Enter doesn't work well; I always
55 trigger space first. 68 trigger space first when mashing the keys simultaneously. This might not
69 continue to be true if I change the angle at which I strike the keys e.g.
70 with a neoprene base or a wrist support.
56 71
57- I used to have Blue layer on ring finger, but that was too hard to use in 72- I used to have Blue on ring finger, but that was too hard to use in
58 conjunction with shift. 73 conjunction with shift.
59 74
60## To do 75## To do
61 76
77- Figure out where to place non-numpad numbers so we don't need num lock turned
78 on to type them?
62- Improve LED indications (may require modding bluetooth firmware): 79- Improve LED indications (may require modding bluetooth firmware):
63 - Is any board nonresponsive (which one?) 80 - Is any board nonresponsive (which one?)
64 - Does either board have a low battery? 81 - Does either board have a low battery?
65- Add Insert, PrintScr, Pause/Break 82- Add Insert, PrintScr, Pause/Break
66- Make QWERTY base layer for people who customize layout in software? Store 83- ~~Make QWERTY base layer for people who customize layout in software?~~ I
67 default base layer in eeprom? 84 default to QWERTY now.
68- See if the henkans placement is at all useful for Japanese speakers, or abuse 85- Store default base layer in eeprom?
69 different keysyms 86- See if the henkan/muhenkan placement is at all useful for Japanese speakers,
70- Mod a speaker onto my receiver and enable tones 87 or abuse different keysyms for Left/Right Hyper. (Original space cadet used
88 scancodes 145/175. 145 is LANG2, 175 is "reserved" in USB HID spec.)
89- Mod a buzzer onto my receiver and enable tones
71- Implement "layer lock" key 90- Implement "layer lock" key
72- Improve tri-layer behavior 91- Improve tri-layer behavior
73 92