define dual role keys

This commit is contained in:
♥ Minnie ♥ 2024-02-05 11:01:41 +08:00
parent d1afd421a1
commit 68befa7b4d

View file

@ -10,13 +10,12 @@ enum custom_keycodes {
SC_TOGG,
};
// Left-hand thumb key layers
#define BAK_LWR LT(L_LOWER, KC_BSPC)
#define SPC_EXT LT(L_EXTEND, KC_SPC)
// Right-hand thumb key layers
#define ENT_SFT MT(MOD_LSFT, KC_ENT)
#define DEL_UPR LT(L_UPPER, KC_DEL)
// Dual role keys
#define SPACEFN LT(L_EXTEND, KC_SPC)
#define ENTERFN LT(L_MACRO, KC_ENT)
#define TABCTRL MT(MOD_LCTL, KC_TAB)
#define BAK_LWR LT(L_LOWER, KC_BSPC)
#define DEL_RSE LT(L_RAISE, KC_DEL)
// One Shot Keys
#define OS_LCTL OSM(MOD_LCTL)
@ -35,7 +34,3 @@ enum custom_keycodes {
#define WZ_COPY LCTL(LSFT(KC_C))
#define WZ_PSTE LCTL(LSFT(KC_V))
// Misc
#define TABCTRL MT(MOD_LCTL, KC_TAB)
#define BSPC_DW MT(MOD_LCTL, KC_BSPC)