keychron_qmk_firmware/users/ericgebhart/defs/smart_lock.def
Eric Gebhart 050472a4d0
Eric Gebhart user space and keymaps (#17487)
Co-authored-by: Drashna Jaelre <drashna@live.com>
2022-11-11 23:09:41 +00:00

124 lines
2.0 KiB
Modula-2

// Define smart layers here.
// SMLL = smart lock layer.
// SMLM = smart lock mod.
// Keycode, layer/mod.
// list of keycodes to ignore.
SMLM(SMLM_LSFT, MOD_LSFT,
___VI_ARROWS___,
___HOME_PGDN_PGUP_END___,
___TAB_PGDN_PGUP_BKTAB___,
___SML_MODS_L___)
SMLM(SMLM_LCTL, MOD_LCTL,
___VI_ARROWS___,
___HOME_PGDN_PGUP_END___,
___TAB_PGDN_PGUP_BKTAB___,
___SML_MODS_L___)
SMLM(SMLM_LALT, MOD_LALT,
___VI_ARROWS___,
___HOME_PGDN_PGUP_END___,
___TAB_PGDN_PGUP_BKTAB___,
___SML_MODS_L___)
SMLM(SMLM_LGUI, MOD_LGUI,
___VI_ARROWS___,
___HOME_PGDN_PGUP_END___,
___TAB_PGDN_PGUP_BKTAB___,
___SML_MODS_L___)
SMLM(SMLM_RSFT, MOD_RSFT,
___VI_ARROWS___,
___HOME_PGDN_PGUP_END___,
___TAB_PGDN_PGUP_BKTAB___,
___SML_MODS_L___)
SMLM(SMLM_RCTL, MOD_RCTL,
___VI_ARROWS___,
___HOME_PGDN_PGUP_END___,
___TAB_PGDN_PGUP_BKTAB___,
___SML_MODS_L___)
SMLM(SMLM_RALT, MOD_RALT,
___VI_ARROWS___,
___HOME_PGDN_PGUP_END___,
___TAB_PGDN_PGUP_BKTAB___,
___SML_MODS_L___)
SMLM(SMLM_RGUI, MOD_RGUI,
___VI_ARROWS___,
___HOME_PGDN_PGUP_END___,
___TAB_PGDN_PGUP_BKTAB___,
___SML_MODS_L___)
SMLL(SML_NAV, _NAV, ___NAV_3x10___)
#ifdef MEDIA_LAYER_ENABLE
SMLL(SML_MEDIA, _MEDIA, ___MEDIA_3x10___)
#endif
#ifdef MOUSEKEY_ENABLE
SMLL(SML_NAVm, _NAVm, ___NAVm_3x10___)
#endif
SMLL(SML_KEYPAD, _KEYPAD_EN,
KC_1,
KC_2,
KC_3,
KC_4,
KC_5,
KC_6,
KC_7,
KC_8,
KC_9,
KC_0,
KC_PERC,
KC_DLR,
KC_COMM,
KC_DOT,
KC_SLSH,
KC_MINS,
KC_ASTR,
KC_PLUS,
KC_COLN,
KC_SCLN,
KC_EQL,
// KC_UNDS,
KC_BSPC,
KC_X,
SYM_MO)
// SMLL(SML_KEYPAD_BP, _KEYPAD_BP,
// BP_1,
// BP_2,
// BP_3,
// BP_4,
// BP_5,
// BP_6,
// BP_7,
// BP_8,
// BP_9,
// BP_0,
// BP_PERC,
// BP_DLR,
// BP_COMM,
// BP_DOT,
// BP_SLSH,
// BP_MINS,
// BP_ASTR,
// BP_PLUS,
// BP_COLN,
// BP_SCLN,
// BP_EQL,
// // KC_UNDS,
// KC_BSPC,
// BP_X,
// SYM_MO)
#ifdef TOPROWS_LAYER_ENABLE
SMLL(SML_TOPROWS, _TOPROWS_EN, ___10_SYMBOLS___, ___10_NUMBERS___)
#endif
//SMLL(SML_SYMB, _SYMB_EN, ___SYMB_BEAKLB_3x10___)