summaryrefslogtreecommitdiffstats
path: root/users/ericgebhart/defs/smart_lock.def
diff options
context:
space:
mode:
authorEric Gebhart <e.a.gebhart@gmail.com>2022-11-12 00:09:41 +0100
committerGitHub <noreply@github.com>2022-11-11 23:09:41 +0000
commit050472a4d07d07c1d9ae17d2fd26d44e9d95d950 (patch)
tree8c326011ec8cac395a92839ec4b420bf12652fa1 /users/ericgebhart/defs/smart_lock.def
parent49a78b81145213e2883e6c3beab6d9c136c10085 (diff)
Eric Gebhart user space and keymaps (#17487)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'users/ericgebhart/defs/smart_lock.def')
-rw-r--r--users/ericgebhart/defs/smart_lock.def123
1 files changed, 123 insertions, 0 deletions
diff --git a/users/ericgebhart/defs/smart_lock.def b/users/ericgebhart/defs/smart_lock.def
new file mode 100644
index 0000000000..8202feb0d9
--- /dev/null
+++ b/users/ericgebhart/defs/smart_lock.def
@@ -0,0 +1,123 @@
+// 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___)