diff options
author | Juno Nguyen <juno.ngx@gmail.com> | 2022-05-31 02:28:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-30 11:28:35 -0700 |
commit | 15a86d5c5328981999e7400633de31bc1d17a24d (patch) | |
tree | f7158efff7fff472efcdb922b22559123243f2a1 | |
parent | cc7a3f8dc775805665377f228f27bff97420a036 (diff) | |
download | qmk_firmware-15a86d5c5328981999e7400633de31bc1d17a24d.tar.gz qmk_firmware-15a86d5c5328981999e7400633de31bc1d17a24d.zip |
[Keymap] Updates to layouts/community/ortho_4x12/junonum (#17249)
-rw-r--r-- | layouts/community/ortho_4x12/junonum/config.h | 3 | ||||
-rw-r--r-- | layouts/community/ortho_4x12/junonum/keymap.c | 34 | ||||
-rw-r--r-- | layouts/community/ortho_4x12/junonum/readme.md | 3 |
3 files changed, 27 insertions, 13 deletions
diff --git a/layouts/community/ortho_4x12/junonum/config.h b/layouts/community/ortho_4x12/junonum/config.h index c16d74892d..91be890a8b 100644 --- a/layouts/community/ortho_4x12/junonum/config.h +++ b/layouts/community/ortho_4x12/junonum/config.h @@ -38,3 +38,6 @@ // Short tap threshold #define TAPPING_TERM 250 + +// For homerow mods +#define IGNORE_MOD_TAP_INTERRUPT diff --git a/layouts/community/ortho_4x12/junonum/keymap.c b/layouts/community/ortho_4x12/junonum/keymap.c index 0b0bdc36bb..cbfa8bdd21 100644 --- a/layouts/community/ortho_4x12/junonum/keymap.c +++ b/layouts/community/ortho_4x12/junonum/keymap.c @@ -27,34 +27,44 @@ enum planck_keycodes { DP_OFF }; -#define SHIFTEN RSFT_T(KC_ENT) #define LOWER MO(_LOWER) #define RAISE MO(_RAISE) #define SPACEFN LT(_FN1, KC_SPC) #define DPADNUM MO(_DPADNUM) -#define CTRLTAB CTL_T(KC_TAB) + +// Homerow mods +#define MD_A LALT_T(KC_A) +#define MD_S LGUI_T(KC_S) +#define MD_D LCTL_T(KC_D) +#define MD_F LSFT_T(KC_F) + +#define MD_J RSFT_T(KC_J) +#define MD_K RCTL_T(KC_K) +#define MD_L RGUI_T(KC_L) +#define MD_SCLN RALT_T(KC_SCLN) + const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [_QWERTY] = LAYOUT_ortho_4x12( KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, - CTRLTAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SHIFTEN, - _______, KC_LCTL, KC_LALT, KC_LGUI, LOWER, SPACEFN, SPACEFN, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT + KC_TAB, MD_A, MD_S, MD_D, MD_F, KC_G, KC_H, MD_J, MD_K, MD_L, MD_SCLN, KC_QUOT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , + _______, KC_LCTL, KC_LGUI, KC_LALT, LOWER, SPACEFN, SPACEFN, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT ), [_COLEMAK] = LAYOUT_ortho_4x12( KC_ESC, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, - CTRLTAB, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, SHIFTEN, - _______, KC_LCTL, KC_LALT, KC_LGUI, LOWER, SPACEFN, SPACEFN, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT + KC_TAB, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , + _______, KC_LCTL, KC_LGUI, KC_LALT, LOWER, SPACEFN, SPACEFN, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT ), [_DVORAK] = LAYOUT_ortho_4x12( KC_ESC, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSPC, - CTRLTAB, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_QUOT, - KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, SHIFTEN, - _______, KC_LCTL, KC_LALT, KC_LGUI, LOWER, SPACEFN, SPACEFN, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT + KC_TAB, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_QUOT, + KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_ENT , + _______, KC_LCTL, KC_LGUI, KC_LALT, LOWER, SPACEFN, SPACEFN, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT ), [_LOWER] = LAYOUT_ortho_4x12( @@ -97,7 +107,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, KC_ENT , - XXXXXXX, KC_LCTL, KC_LALT, KC_LGUI, DPADNUM, KC_SPC, KC_SPC, DPADNUM, DP_OFF, KC_LEFT, KC_DOWN, KC_RGHT + XXXXXXX, KC_LCTL, KC_LGUI, KC_LALT, DPADNUM, KC_SPC, KC_SPC, DPADNUM, DP_OFF, KC_LEFT, KC_DOWN, KC_RGHT ), // Extended numeric layer for FPS weapon switching and StarCraft group control diff --git a/layouts/community/ortho_4x12/junonum/readme.md b/layouts/community/ortho_4x12/junonum/readme.md index afa369fdad..a0995e6e4c 100644 --- a/layouts/community/ortho_4x12/junonum/readme.md +++ b/layouts/community/ortho_4x12/junonum/readme.md @@ -5,11 +5,12 @@ A universal ortholinear 4x12 keymap created by Juno Nguyen * Successor to *juno*. * Numpad-like cluster for numerics. * ESDF and IJKL arrow cluster from SpaceFn for navigation. -* CtrlTab for even more HHKB-ness. +* ~~CtrlTab for even more HHKB-ness.~~ * Audio indicator for Caps Lock. * Huge amount of omissions of redundant keys. * minimalism (not really). * DPAD layer for gaming with inverted T-shaped direction keys. * DPADNUM secondary layer tailored for StarCraft group control and FPS weapon switching. +* New: homerow mods for even less movement Refined since Oct 2019
\ No newline at end of file |