diff options
| author | jotix <47826561+jotix@users.noreply.github.com> | 2020-06-26 18:04:09 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-26 22:04:09 +0100 |
| commit | 7369e195c21588e00ed5c4d970f1170bab39ae00 (patch) | |
| tree | b2da83c2625291c882b216e01c920e011873fe8c | |
| parent | 30f4b4d76349a61173f3eda87c57a3cde1c92aab (diff) | |
| download | qmk_firmware-7369e195c21588e00ed5c4d970f1170bab39ae00.tar.gz qmk_firmware-7369e195c21588e00ed5c4d970f1170bab39ae00.zip | |
tap toggle to lower layer (#9542)
| -rw-r--r-- | layouts/community/ortho_4x12/jotix/config.h | 4 | ||||
| -rw-r--r-- | layouts/community/ortho_4x12/jotix/keymap.c | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/layouts/community/ortho_4x12/jotix/config.h b/layouts/community/ortho_4x12/jotix/config.h new file mode 100644 index 000000000..9b2f4fb64 --- /dev/null +++ b/layouts/community/ortho_4x12/jotix/config.h | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | // jotix ortho_4x12_layout config.h | ||
| 2 | |||
| 3 | #define TAPPING_TOGGLE 2 | ||
| 4 | #define TAPPING_TERM 175 \ No newline at end of file | ||
diff --git a/layouts/community/ortho_4x12/jotix/keymap.c b/layouts/community/ortho_4x12/jotix/keymap.c index d28be78e5..5c08f3a2e 100644 --- a/layouts/community/ortho_4x12/jotix/keymap.c +++ b/layouts/community/ortho_4x12/jotix/keymap.c | |||
| @@ -9,7 +9,7 @@ enum layers { | |||
| 9 | 9 | ||
| 10 | #define LOWER MO(_LOWER) | 10 | #define LOWER MO(_LOWER) |
| 11 | #define RAISE MO(_RAISE) | 11 | #define RAISE MO(_RAISE) |
| 12 | #define TGLOWER TG(_LOWER) | 12 | #define TTLOWER TT(_LOWER) |
| 13 | 13 | ||
| 14 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 14 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
| 15 | 15 | ||
| @@ -21,7 +21,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 21 | // ├───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┤ | 21 | // ├───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┤ |
| 22 | KC_LSFT,KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH,KC_ENT, | 22 | KC_LSFT,KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH,KC_ENT, |
| 23 | // ├───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┤ | 23 | // ├───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┤ |
| 24 | KC_LCTL,KC_LGUI,KC_LALT,KC_RALT,LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT,KC_DOWN,KC_UP, KC_RGHT | 24 | KC_LCTL,KC_LGUI,KC_LALT,KC_RALT,TTLOWER,KC_SPC, KC_SPC, RAISE, KC_LEFT,KC_DOWN,KC_UP, KC_RGHT |
| 25 | // └───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┘ | 25 | // └───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┘ |
| 26 | ), | 26 | ), |
| 27 | 27 | ||
| @@ -45,7 +45,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 45 | // ├───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┤ | 45 | // ├───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┤ |
| 46 | _______,KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_UNDS,KC_PLUS,KC_LCBR,KC_RCBR,KC_PIPE, | 46 | _______,KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_UNDS,KC_PLUS,KC_LCBR,KC_RCBR,KC_PIPE, |
| 47 | // ├───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┤ | 47 | // ├───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┤ |
| 48 | _______,_______,_______,_______,TGLOWER,_______,_______,_______,KC_HOME,KC_PGDN,KC_PGUP,KC_END | 48 | _______,_______,_______,_______,_______,_______,_______,_______,KC_HOME,KC_PGDN,KC_PGUP,KC_END |
| 49 | // └───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┘ | 49 | // └───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┘ |
| 50 | ), | 50 | ), |
| 51 | 51 | ||
