Browse Source

tap toggle to lower layer (#9542)

pull/9565/head
jotix 3 years ago
committed by GitHub
parent
commit
7369e195c2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions
  1. +4
    -0
      layouts/community/ortho_4x12/jotix/config.h
  2. +3
    -3
      layouts/community/ortho_4x12/jotix/keymap.c

+ 4
- 0
layouts/community/ortho_4x12/jotix/config.h View File

@ -0,0 +1,4 @@
// jotix ortho_4x12_layout config.h
#define TAPPING_TOGGLE 2
#define TAPPING_TERM 175

+ 3
- 3
layouts/community/ortho_4x12/jotix/keymap.c View File

@ -9,7 +9,7 @@ enum layers {
#define LOWER MO(_LOWER)
#define RAISE MO(_RAISE)
#define TGLOWER TG(_LOWER)
#define TTLOWER TT(_LOWER)
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
@ -21,7 +21,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
//
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,KC_RALT,LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT,KC_DOWN,KC_UP, KC_RGHT
KC_LCTL,KC_LGUI,KC_LALT,KC_RALT,TTLOWER,KC_SPC, KC_SPC, RAISE, KC_LEFT,KC_DOWN,KC_UP, KC_RGHT
//
),
@ -45,7 +45,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
//
_______,KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_UNDS,KC_PLUS,KC_LCBR,KC_RCBR,KC_PIPE,
//
_______,_______,_______,_______,TGLOWER,_______,_______,_______,KC_HOME,KC_PGDN,KC_PGUP,KC_END
_______,_______,_______,_______,_______,_______,_______,_______,KC_HOME,KC_PGDN,KC_PGUP,KC_END
//
),


Loading…
Cancel
Save