add mod tap shift on enter
This commit is contained in:
parent
e9f5ca9151
commit
020b346b03
|
@ -33,7 +33,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
|
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
|
||||||
OS_LSFT, KC_Q, KC_J, KC_V, KC_D, KC_K, KC_X, KC_H, KC_SLSH, KC_COMM, KC_DOT, OS_RSFT,
|
OS_LSFT, KC_Q, KC_J, KC_V, KC_D, KC_K, KC_X, KC_H, KC_SLSH, KC_COMM, KC_DOT, OS_RSFT,
|
||||||
//|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
|
//|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
|
||||||
OS_LGUI, BAK_LWR, SPACEFN, ENTERFN, DEL_RSE, OS_RALT
|
OS_LGUI, BAK_LWR, SPACEFN, ENT_SFT, DEL_RSE, OS_RALT
|
||||||
//`--------------------------' `--------------------------'
|
//`--------------------------' `--------------------------'
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
|
@ -11,10 +11,12 @@ enum custom_keycodes {
|
||||||
SC_TOGG,
|
SC_TOGG,
|
||||||
};
|
};
|
||||||
|
|
||||||
// Dual role keys
|
/* Dual role keys */
|
||||||
#define SPACEFN LT(L_EXTEND, KC_SPC)
|
#define SPACEFN LT(L_EXTEND, KC_SPC)
|
||||||
#define ENTERFN LT(L_MACRO, KC_ENT)
|
// mod-tap
|
||||||
#define TABCTRL MT(MOD_LCTL, KC_TAB)
|
#define TABCTRL MT(MOD_LCTL, KC_TAB)
|
||||||
|
#define ENT_SFT MT(MOD_RSFT, KC_ENT)
|
||||||
|
// layer-tap
|
||||||
#define BAK_LWR LT(L_LOWER, KC_BSPC)
|
#define BAK_LWR LT(L_LOWER, KC_BSPC)
|
||||||
#define DEL_RSE LT(L_RAISE, KC_DEL)
|
#define DEL_RSE LT(L_RAISE, KC_DEL)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue