diff options
author | Eric Gebhart <e.a.gebhart@gmail.com> | 2022-11-12 00:09:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-11 23:09:41 +0000 |
commit | 050472a4d07d07c1d9ae17d2fd26d44e9d95d950 (patch) | |
tree | 8c326011ec8cac395a92839ec4b420bf12652fa1 /users/ericgebhart/defs | |
parent | 49a78b81145213e2883e6c3beab6d9c136c10085 (diff) |
Eric Gebhart user space and keymaps (#17487)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'users/ericgebhart/defs')
-rw-r--r-- | users/ericgebhart/defs/accented_keys.def | 101 | ||||
-rw-r--r-- | users/ericgebhart/defs/alt_shift.def | 6 | ||||
-rw-r--r-- | users/ericgebhart/defs/altlocal_keys.def | 208 | ||||
-rw-r--r-- | users/ericgebhart/defs/combos.def | 139 | ||||
-rw-r--r-- | users/ericgebhart/defs/custom_keys.def | 86 | ||||
-rw-r--r-- | users/ericgebhart/defs/encoders.def | 65 | ||||
-rw-r--r-- | users/ericgebhart/defs/key_overrides.def | 23 | ||||
-rw-r--r-- | users/ericgebhart/defs/mod_lock.def | 19 | ||||
-rw-r--r-- | users/ericgebhart/defs/not_dead.def | 19 | ||||
-rw-r--r-- | users/ericgebhart/defs/nshot.def | 45 | ||||
-rw-r--r-- | users/ericgebhart/defs/oneshot.def | 17 | ||||
-rw-r--r-- | users/ericgebhart/defs/send_string.def | 7 | ||||
-rw-r--r-- | users/ericgebhart/defs/smart_lock.def | 123 | ||||
-rw-r--r-- | users/ericgebhart/defs/swapper.def | 3 | ||||
-rw-r--r-- | users/ericgebhart/defs/tap_hold.def | 68 | ||||
-rw-r--r-- | users/ericgebhart/defs/unicode.def | 5 |
16 files changed, 934 insertions, 0 deletions
diff --git a/users/ericgebhart/defs/accented_keys.def b/users/ericgebhart/defs/accented_keys.def new file mode 100644 index 0000000000..a0b203be93 --- /dev/null +++ b/users/ericgebhart/defs/accented_keys.def @@ -0,0 +1,101 @@ +// Accented keys. +// add them to the custom keys enum. +// List them here, with their keycode and the accent keycode +// that are needed to create them. + + +// Last, most frequent letters in french. +// é is further up. +// 24 x 3 588 990 0.38% +// 25 j 3 276 064 0.34% +// 26 è 2 969 466 0.31% +// 27 à 2 966 029 0.31% +// 28 k 2 747 547 0.29% +// 29 w 1 653 435 0.17% +// 30 z 1 433 913 0.15% +// 31 ê 802 211 0.08% +// 32 ç 544 509 0.06% +// 33 ô 357 197 0.04% +// 34 â 320 837 0.03% +// 35 î 280 201 0.03% +// 36 û 164 516 0.02% +// 37 ù 151 236 0.02% +// 38 ï 138 221 0.01% +// 39 á 73 751 0.01% - absent. +// 79 ü 55 172 0.01% +// 82 ë 53 862 0.01% +//absent. +// 83 ö 51 020 0.01% +// 84 í 48 391 0.01% + + // ACCENT +// Custom key code, Keycode, altgr accent keycode. +#if defined(SECOND_LOCALE) && (SECOND_LOCALE == BEPO) +ACCENTED(BP_OCIR, BP_O, BP_DCIR) +ACCENTED(BP_ACIR, BP_A, BP_DCIR) +ACCENTED(BP_ICIR, BP_I, BP_DCIR) +ACCENTED(BP_UCIR, BP_U, BP_DCIR) +//ACCENTED(BP_CCIR, BP_C, BP_DCIR) +//ACCENTED(BP_GCIR, BP_G, BP_DCIR) +//ACCENTED(BP_HCIR, BP_H, BP_DCIR) +#endif + +ACCENTED(US_OCIR, US_O, US_DCIR) +ACCENTED(US_ACIR, US_A, US_DCIR) +ACCENTED(US_ICIR, US_I, US_DCIR) +ACCENTED(US_UCIR, US_U, US_DCIR) +ACCENTED(US_ECIR, US_E, US_DCIR) + +#if defined(SECOND_LOCALE) && (SECOND_LOCALE == BEPO) +ACCENTED(BP_AACU, BP_A, BP_ACUT) +ACCENTED(BP_OACU, BP_O, BP_ACUT) +ACCENTED(BP_IACU, BP_I, BP_ACUT) +ACCENTED(BP_UACU, BP_U, BP_ACUT) + +//ACCENTED(BP_OGRV, BP_O, BP_DGRV) +ACCENTED(BP_IGRV, BP_I, BP_DGRV) +#endif + +ACCENTED(US_IGRV, US_I, US_DGRV) +ACCENTED(US_UGRV, US_U, US_DGRV) +ACCENTED(US_EGRV, US_E, US_DGRV) +ACCENTED(US_AGRV, US_A, US_DGRV) + +// ACCENTED(BP_NTIL, BP_N, BP_DTIL) +// ACCENTED(BP_ATIL, BP_A, BP_DTIL) +// ACCENTED(BP_OTIL, BP_O, BP_DTIL) +// ACCENTED(BP_UTIL, BP_U, BP_DTIL) + +ACCENTED(US_IIAE, US_I, US_DIAE) +ACCENTED(US_UIAE, US_U, US_DIAE) +ACCENTED(US_EIAE, US_E, US_DIAE) +ACCENTED(US_OIAE, US_O, US_DIAE) + +#if defined(SECOND_LOCALE) && (SECOND_LOCALE == BEPO) +ACCENTED(BP_IIAE, BP_I, BP_DIAE) +ACCENTED(BP_UIAE, BP_U, BP_DIAE) +ACCENTED(BP_EIAE, BP_E, BP_DIAE) +ACCENTED(BP_OIAE, BP_O, BP_DIAE) +// ACCENTED(BP_AIAE, BP_A, BP_DIAE) +#endif + + // ACCENTED(E_ACUTE, SK_E, SK_ACUT) + // ACCENTED(R_ACUTE, SK_R, SK_ACUT) + // ACCENTED(U_ACUTE, SK_U, SK_ACUT) + // ACCENTED(I_ACUTE, SK_I, SK_ACUT) + // ACCENTED(O_ACUTE, SK_O, SK_ACUT) + // ACCENTED(A_ACUTE, SK_A, SK_ACUT) + // ACCENTED(L_ACUTE, SK_L, SK_ACUT) + // ACCENTED(Y_ACUTE, SK_Z, SK_ACUT) + // ACCENTED(T_CARON, SK_T, SK_CARN) + // ACCENTED(Z_CARON, SK_Y, SK_CARN) + // ACCENTED(O_CARON, SK_O, SK_CARN) + // ACCENTED(S_CARON, SK_S, SK_CARN) + // ACCENTED(D_CARON, SK_D, SK_CARN) + // ACCENTED(L_CARON, SK_L, SK_CARN) + // ACCENTED(C_CARON, SK_C, SK_CARN) + // ACCENTED(N_CARON, SK_N, SK_CARN) + // ACCENTED(U_UMLAU, SK_U, SK_DIAE + // ACCENTED(O_UMLAU,SK_O, SK_DIAE) + // // napis o s vokanom cez vokan rather than normalne aby sa dalo velke uo + // ACCENTED(O_CCIRC, SK_O, SK_CIRC) diff --git a/users/ericgebhart/defs/alt_shift.def b/users/ericgebhart/defs/alt_shift.def new file mode 100644 index 0000000000..52d9cf11f4 --- /dev/null +++ b/users/ericgebhart/defs/alt_shift.def @@ -0,0 +1,6 @@ +// alt shift. Give an existing key code, +// and maybe an alternate shift keycode. + +ALT_SHIFT(US_EXLM, US_PERC) +SHIFT_FOR_2(US_AT) +SHIFT_FOR_3(US_DLR) diff --git a/users/ericgebhart/defs/altlocal_keys.def b/users/ericgebhart/defs/altlocal_keys.def new file mode 100644 index 0000000000..20d1e99b40 --- /dev/null +++ b/users/ericgebhart/defs/altlocal_keys.def @@ -0,0 +1,208 @@ +// These are to create keys which don't exist in a locale. +// so that we can create alternate maps to qwerty, azerty, or whatever. +// Key name, +// unshifted key and it's required mods. +// the desired shifted keys and it's required mods. + +// for dvorak on bepo +#if defined(SECOND_LOCALE) && (SECOND_LOCALE == BEPO) + MK_KEY(BP_DV_1, BP_DQUO, MOD_LSFT, BP_DCIR, MOD_LSFT) + MK_KEY(BP_DV_2, BP_LDAQ, MOD_LSFT, BP_AT, MOD_NONE) + MK_KEY(BP_DV_3, BP_RDAQ, MOD_LSFT, BP_DLR, MOD_LSFT) + MK_KEY(BP_DV_4, BP_LPRN, MOD_LSFT, BP_DLR, MOD_NONE) + MK_KEY(BP_DV_5, BP_RPRN, MOD_LSFT, BP_PERC, MOD_NONE) + MK_KEY(BP_DV_6, BP_AT, MOD_LSFT, BP_AT, MOD_BIT(KC_RALT)) + MK_KEY(BP_DV_7, BP_PLUS, MOD_LSFT, BP_P, MOD_BIT(KC_RALT)) + MK_KEY(BP_DV_8, BP_MINS, MOD_LSFT, BP_ASTR, MOD_NONE) + MK_KEY(BP_DV_9, BP_SLSH, MOD_LSFT, BP_LPRN, MOD_NONE) + MK_KEY(BP_DV_0, BP_ASTR, MOD_LSFT, BP_RPRN, MOD_NONE) + + MK_KEY(BP_DV_GRV, BP_PERC, MOD_LSFT, BP_K, MOD_BIT(KC_RALT)) + MK_KEY(BP_DV_SCLN, BP_COMM, MOD_LSFT, BP_DOT, MOD_LSFT) + MK_KEY(BP_DV_SLSH, BP_SLSH, MOD_NONE, BP_QUOT, MOD_LSFT) + //MK_KEY(BP_DV_BSLS, BP_AGRV, MOD_BIT(KC_RALT), BP_B, MOD_BIT(KC_RALT)) + MK_KEY(BP_DV_EQL, BP_EQL, MOD_NONE, BP_PLUS, MOD_NONE) + MK_KEY(BP_DV_COMM, BP_COMM, MOD_NONE, BP_LDAQ, MOD_BIT(KC_RALT)) + MK_KEY(BP_DV_DOT, BP_DOT, MOD_NONE, BP_RDAQ, MOD_BIT(KC_RALT)) + MK_KEY(BP_DV_QUOT, BP_QUOT, MOD_NONE, BP_DQUO, MOD_NONE) + MK_KEY(BP_DV_MINS, BP_MINS, MOD_NONE, KC_SPC, MOD_BIT(KC_RALT)) +#endif + +#if defined(BEAKL15_LAYER_ENABLE) || defined(BEAKL19_LAYER_ENABLE) + // Keys for BEAKL 15, 19 on Qwerty + MK_KEY(KC_BK_DOT, KC_DOT, MOD_NONE, KC_2, MOD_LSFT) + MK_KEY(KC_BK_COMM, KC_COMM, MOD_NONE, KC_1, MOD_LSFT) + MK_KEY(KC_BK_QUOT, KC_QUOT, MOD_NONE, KC_GRV, MOD_NONE) + + MK_KEY(US_BK_DOT, KC_DOT, MOD_NONE, KC_2, MOD_LSFT) + MK_KEY(US_BK_COMM, KC_COMM, MOD_NONE, KC_1, MOD_LSFT) + MK_KEY(US_BK_QUOT, KC_QUOT, MOD_NONE, KC_GRV, MOD_NONE) + + // Keys for BEAKL WI on Qwerty + MK_KEY(KC_BKW_DOT, KC_DOT, MOD_NONE, KC_GRV, MOD_NONE) + MK_KEY(KC_BKW_COMM, KC_COMM, MOD_NONE, KC_TILD, MOD_NONE) + MK_KEY(KC_BKW_COLN, KC_SCLN, MOD_LSFT, KC_SCLN, MOD_NONE) + +# if defined(SECOND_LOCALE) && (SECOND_LOCALE == BEPO) || (DEFAULT_LANG == BEPO) + // Keys for BEAKL on BEPO + MK_KEY(BP_BK_DOT, BP_DOT, MOD_NONE, BP_AT, MOD_NONE) + MK_KEY(BP_BK_COMM, BP_COMM, MOD_NONE, BP_EXLM, MOD_NONE) + MK_KEY(BP_BK_QUOT, BP_QUOT, MOD_NONE, BP_PERC, MOD_LSFT) + + +# ifdef BEAKLWI_LAYER_ENABLE + // Keys for BEAKL WI on BEPO + MK_KEY(BP_BKW_DOT, BP_DOT, MOD_NONE, BP_GRV, MOD_NONE) + MK_KEY(BP_BKW_COMM, BP_COMM, MOD_NONE, BP_TILD, MOD_NONE) + MK_KEY(BP_BKW_COLN, BP_COLN, MOD_LSFT, BP_SCLN, MOD_NONE) +# endif + + // Keys for BEAKL 27 on BEPO +# ifdef BEAKL27_LAYER_ENABLE + MK_KEY(BP_BK2_DOT, BP_DOT, MOD_NONE, BP_GRV, MOD_NONE) + MK_KEY(BP_BK2_COMM, BP_COMM, MOD_NONE, BP_QUES, MOD_NONE) + MK_KEY(BP_BK2_EXLM, BP_EXLM, MOD_NONE, BP_PERC, MOD_LSFT) + MK_KEY(BP_BK2_QUOT, BP_QUOT, MOD_NONE, BP_QUOT, MOD_NONE) +# endif +# endif +#endif + +#ifdef BEAKL27_LAYER_ENABLE + // Keys for BEAKL 27 on Qwerty + /* // altered shifted pairs: dot = .` comma = ,? dquot = "! */ + MK_KEY(KC_BK2_DOT, KC_DOT, MOD_NONE, KC_GRV, MOD_NONE) + MK_KEY(KC_BK2_COMM, KC_COMM, MOD_NONE, KC_QUES, MOD_NONE) + MK_KEY(KC_BK2_EXLM, KC_EXLM, MOD_NONE, KC_DQUO, MOD_NONE) + MK_KEY(KC_BK2_QUOT, KC_QUOT, MOD_NONE, KC_QUOT, MOD_NONE) + + MK_KEY(US_BK2_DOT, US_DOT, MOD_NONE, US_GRV, MOD_NONE) + MK_KEY(US_BK2_COMM, US_COMM, MOD_NONE, US_QUES, MOD_NONE) + MK_KEY(US_BK2_EXLM, US_EXLM, MOD_NONE, US_DQUO, MOD_NONE) + MK_KEY(US_BK2_QUOT, US_QUOT, MOD_NONE, US_QUOT, MOD_NONE) +#endif + + +// shifted pairs: dot = .` comma = ,~ colon = :; + +#if defined(HD_NEU_LAYER_ENABLE) || \ + defined(HD_NEU_NARROW_LAYER_ENABLE) || \ + defined(HD_GOLD_LAYER_ENABLE) || \ + defined(HD_SILVER_LAYER_ENABLE) || \ + defined(HD_BRONZE_LAYER_ENABLE) || \ + defined(HD_PLATINUM_LAYER_ENABLE) || \ + defined(HD_REF_LAYER_ENABLE) + +// hands down alterations. +/* alt shifts ;: .& /\* '? "! ,| -+ */ +// for en qwerty + MK_KEY(KC_HD_DQUO, KC_QUOT, MOD_LSFT, KC_1, MOD_LSFT) // "! + MK_KEY(KC_HD_QUOT, KC_QUOT, MOD_NONE, KC_SLSH, MOD_LSFT) // '? + + MK_KEY(KC_HD_DOT, KC_DOT, MOD_NONE, KC_7, MOD_LSFT) // .& + MK_KEY(KC_HD_SCLN, KC_SCLN, MOD_NONE, KC_SCLN, MOD_LSFT) // ;: + MK_KEY(KC_HD_COMM, KC_COMM, MOD_NONE, KC_BSLS, MOD_LSFT) // ,| + MK_KEY(KC_HD_MINS, KC_MINS, MOD_NONE, KC_EQL, MOD_LSFT) // -+ + MK_KEY(KC_HD_SLSH, KC_SLSH, MOD_NONE, KC_8, MOD_LSFT) // /* + + // for us international + MK_KEY(US_HD_DQUO, US_QUOT, MOD_LSFT, US_1, MOD_LSFT) + MK_KEY(US_HD_QUOT, US_QUOT, MOD_NONE, KC_SLSH, MOD_LSFT) + + MK_KEY(US_HD_DOT, US_DOT, MOD_NONE, US_7, MOD_LSFT) + MK_KEY(US_HD_SCLN, KC_SCLN, MOD_NONE, KC_SCLN, MOD_LSFT) // ;: + MK_KEY(US_HD_COMM, US_COMM, MOD_NONE, US_BSLS, MOD_LSFT) + MK_KEY(US_HD_MINS, US_MINS, MOD_NONE, US_EQL, MOD_LSFT) + MK_KEY(US_HD_SLSH, US_SLSH, MOD_NONE, US_8, MOD_LSFT) + +// for bepo +#if defined(SECOND_LOCALE) && (SECOND_LOCALE == BEPO) || (DEFAULT_LANG == BEPO) + MK_KEY(BP_HD_DQUO, BP_DQUO, MOD_NONE, BP_QUES, MOD_NONE) + MK_KEY(BP_HD_QUOT, BP_QUOT, MOD_NONE, BP_EXLM, MOD_NONE) + MK_KEY(BP_HD_SCLN, BP_SCLN, MOD_NONE, BP_COLN, MOD_NONE) // ;: + + MK_KEY(BP_HD_DOT, BP_DOT, MOD_NONE, BP_AMPR, MOD_NONE) + MK_KEY(BP_HD_COMM, BP_COMM, MOD_NONE, BP_PIPE, MOD_NONE) + MK_KEY(BP_HD_MINS, BP_MINS, MOD_NONE, BP_PLUS, MOD_NONE) + MK_KEY(BP_HD_SLSH, BP_SLSH, MOD_NONE, BP_ASTR, MOD_NONE) +#endif + +#endif + + +/* alt shifts ;: .& /\* '? "! ,| -+ */ +#ifdef HD_DASH_LAYER_ENABLE +// DASH and Elan have these reversed from the metals. +/* //alt shift keys. "? '! */ + MK_KEY(KC_HD_D_DQUO, KC_DQUO, MOD_NONE, KC_SLSH, MOD_LSFT) // "? + MK_KEY(KC_HD_D_QUOT, KC_QUOT, MOD_NONE, KC_1, MOD_LSFT) // '! + + MK_KEY(KC_HD_D_DOT, KC_DOT, MOD_NONE, KC_7, MOD_LSFT) // .& + MK_KEY(KC_HD_D_COMM, KC_COMM, MOD_NONE, KC_BSLS, MOD_LSFT) // ,| + MK_KEY(KC_HD_D_MINS, KC_MINS, MOD_NONE, KC_EQL, MOD_LSFT) // -+ + MK_KEY(KC_HD_D_SLSH, KC_SLSH, MOD_NONE, KC_8, MOD_LSFT) // /* + + // for us international + MK_KEY(US_HD_D_DQUO, US_QUOT, MOD_LSFT, KC_SLSH, MOD_LSFT) + MK_KEY(US_HD_D_QUOT, US_QUOT, MOD_NONE, US_1, MOD_LSFT) + + MK_KEY(US_HD_D_DOT, US_DOT, MOD_NONE, US_7, MOD_LSFT) + MK_KEY(US_HD_D_COMM, US_COMM, MOD_NONE, US_BSLS, MOD_LSFT) + MK_KEY(US_HD_D_MINS, US_MINS, MOD_NONE, US_EQL, MOD_LSFT) + MK_KEY(US_HD_D_SLSH, US_SLSH, MOD_NONE, US_8, MOD_LSFT) + +// for bepo +#if defined(SECOND_LOCALE) && (SECOND_LOCALE == BEPO) || (DEFAULT_LANG == BEPO) + MK_KEY(BP_HD_D_DQUO, BP_DQUO, MOD_NONE, BP_QUES, MOD_NONE) + MK_KEY(BP_HD_D_QUOT, BP_QUOT, MOD_NONE, BP_EXLM, MOD_NONE) + + MK_KEY(BP_HD_D_DOT, BP_DOT, MOD_NONE, BP_AMPR, MOD_NONE) + MK_KEY(BP_HD_D_COMM, BP_COMM, MOD_NONE, BP_PIPE, MOD_NONE) + MK_KEY(BP_HD_D_MINS, BP_MINS, MOD_NONE, BP_PLUS, MOD_NONE) + MK_KEY(BP_HD_D_SLSH, BP_SLSH, MOD_NONE, BP_ASTR, MOD_NONE) +#endif + +#endif + +#ifdef HD_ELAN_LAYER_ENABLE +// Elan has alt shift of comma and dot on the thumb. +// en + MK_KEY(KC_HD_E_DQUO, KC_QUOT, MOD_LSFT, KC_SLSH, MOD_LSFT) + MK_KEY(KC_HD_E_QUOT, KC_QUOT, MOD_NONE, KC_1, MOD_LSFT) +// the rest is the same + MK_KEY(KC_HD_E_MINS, KC_MINS, MOD_NONE, KC_EQL, MOD_LSFT) // -+ + MK_KEY(KC_HD_E_SLSH, KC_SLSH, MOD_NONE, KC_8, MOD_LSFT) // /* +// until .: and ,; + MK_KEY(KC_HD_E_DOT, KC_DOT, MOD_NONE, KC_SCLN, MOD_LSFT) // .: + MK_SKEY(KC_HD_E_COMM, KC_COMM, KC_SCLN) // ,; +/* (< {[ */ + MK_KEY(KC_HD_E_LPRN, KC_LPRN, MOD_NONE, KC_COMM, MOD_LSFT) + MK_KEY(KC_HD_E_LCBR, KC_LCBR, MOD_NONE, KC_LBRC, MOD_NONE ) + +// US-intl + MK_KEY(US_HD_E_DQUO, US_QUOT, MOD_LSFT, KC_SLSH, MOD_LSFT) + MK_KEY(US_HD_E_QUOT, US_QUOT, MOD_NONE, US_1, MOD_LSFT) +// the rest is the same + MK_KEY(US_HD_E_MINS, US_MINS, MOD_NONE, US_EQL, MOD_LSFT) // -+ + MK_KEY(US_HD_E_SLSH, US_SLSH, MOD_NONE, US_8, MOD_LSFT) // /* +// until .: and ,; + MK_KEY(US_HD_E_DOT, KC_DOT, MOD_NONE, US_SCLN, MOD_LSFT) // .: + MK_SKEY(US_HD_E_COMM, US_COMM, US_SCLN) // ,; +/* (< {[ */ + MK_KEY(US_HD_E_LPRN, US_LPRN, MOD_NONE, US_COMM, MOD_LSFT) + MK_KEY(US_HD_E_LCBR, US_LCBR, MOD_NONE, US_LBRC, MOD_NONE ) + +// bepo +#if defined(SECOND_LOCALE) && (SECOND_LOCALE == BEPO) || (DEFAULT_LANG == BEPO) + MK_KEY(BP_HD_E_DQUO, BP_DQUO, MOD_NONE, BP_SLSH, MOD_NONE) + MK_KEY(BP_HD_E_QUOT, BP_QUOT, MOD_NONE, BP_EXLM, MOD_NONE) +// the rest is the same + MK_KEY(BP_HD_E_MINS, BP_MINS, MOD_NONE, BP_EQL, MOD_NONE) // -+ + MK_KEY(BP_HD_E_SLSH, BP_SLSH, MOD_NONE, BP_ASTR, MOD_NONE) // /* +// until .: and ,; + MK_KEY(BP_HD_E_DOT, KC_DOT, MOD_NONE, BP_SCLN, MOD_LSFT) // .: + MK_SKEY(BP_HD_E_COMM, BP_COMM, BP_SCLN) // ,; +/* (< {[ */ + MK_KEY(BP_HD_E_LPRN, BP_LPRN, MOD_NONE, BP_COMM, MOD_LSFT) + MK_KEY(BP_HD_E_LCBR, BP_LCBR, MOD_NONE, BP_LBRC, MOD_NONE ) +#endif +#endif diff --git a/users/ericgebhart/defs/combos.def b/users/ericgebhart/defs/combos.def new file mode 100644 index 0000000000..85b5d2d588 --- /dev/null +++ b/users/ericgebhart/defs/combos.def @@ -0,0 +1,139 @@ +// Per layer combo reference layers. +// Default is current layer, or COMBO_REF_DEFAULT if set. +// _COMBO_REF is the default if enabled. + +//COMBO_REF_LAYER(_DVORAK_BP, _COMBO_REF2) +COMBO_REF_LAYER(_NAV, _NAV) + + +// COMBOS +// name result chord keys + +// sml nav, sml keypad, zqxj, onshot accents, oneshot symbols +// home, end, caps word, accents? -> aeeecio oe, ao, + + +// reference COMBO_REF +COMB(TSCTL, TS_LCTL, CB_1L3, CB_1L4) +COMB(SMLNAV1, SML_NAV, CB_1L2, CB_1L3) +COMB(OSACCENTMT, SML_KEYPAD, CB_1L2, CB_1R4) + +#ifdef TOPROWS_LAYER_ENABLE +COMB(OSTOPROWS, SML_TOPROWS, CB_1L3, CB_1R3) +#endif + +//COMB(OSlsftT, OS_LSFT, CB_1L4, CB_1R2) +COMB(OSSFT, OS_LSFT, CB_2L4, CB_2R2) +COMB(TSCTL2, TS_LCTL, CB_1L4, CB_1R2) + +// COMB(SMLNAV, SML_NAV, CB_2L4, CB_2R2) +COMB(OSCTL, OS_LCTL, CB_2L2, CB_2R4) + +COMB(OSACCENTM, OSL_ACCENTS_MORTE, CB_2L3, CB_2R3) + +COMB(capsword, CAPS_WORD, CB_3L4, CB_3R2) +COMB(OSRALT, OS_RALT, CB_3L3, CB_3R3) +COMB(OSLALT2, OS_LALT, CB_3L2, CB_3R4) + +COMB(OSLAYER, LAYER_OSL, CB_3L1, CB_3R5) +COMB(OSLSYMB, OSL_SYMB, CB_TH2, CB_TH5) +COMB(LNAV, SML_NAV, CB_TH3, CB_TH4) + +COMB(_Q, KC_Q, CB_3L2, CB_3L3) +COMB(_X, KC_X, CB_3L3, CB_3L4) +COMB(_Z, KC_Z, CB_3R3, CB_3R4) + +// vertical thumb combos for the kyria +//COMB(xxx, xxx, CB_TH2, CB_0TH1) + +#ifdef MEDIA_LAYER_ENABLE +COMB(SMLMEDIA, SML_MEDIA, CB_TH3, CB_0TH2) +#endif + +COMB(OSLACCENT2, OSL_ACCENTS_MORTE, CB_TH4, CB_0TH3) +COMB(KEYPAD, SML_KEYPAD, CB_TH5, CB_0TH4) + + + +// reference COMBO_REF2 + +#if defined(SECOND_LOCALE) && (SECOND_LOCALE == BEPO) +COMB(TSCTL_BP, TS_LCTL, CB_1L3, CB_1L4) +COMB(SMLNAV1_bp, SML_NAV, CB_1L2, CB_1L3) + +#ifdef ACCENTS_MORTE_LAYER_ENABLE +COMB(OSLACCENT_bp, OSL(_ACCENTS_MORTE_BP), CB2_2L1, CB2_2L2) +#endif + +COMB(SMLNAV_BP, SML_NAV, CB2_2L2, CB2_2L3) +COMB(OSCTL_BP, OS_LCTL, CB2_2L3, CB2_2L4) + +COMB(OSSFT_BP, OS_LSFT, CB2_2R2, CB2_2R3) +// COMB(SMLKEYPAD_BP, SML_KEYPAD_BP, CB2_2R3, CB2_2R4) + +COMB(capsword_BP, CAPS_WORD_ON, CB2_3L4, CB2_3R2) + +// COMB(OSLSYMBP_BP, OSL(_SYMB_BP), CB2_TH2, CB2_TH5) +COMB(LNAV_BP, SML_NAV, CB2_TH3, CB2_TH4) + +COMB(_Qbp, BP_Q, CB2_3L2, CB2_3L3) +COMB(_Xbp, BP_X, CB2_3L3, CB2_3L4) +COMB(_Zbp, BP_Z, CB2_3R3, CB2_3R4) +#endif + + +// Reference nav layer +COMB(END_nav, KC_END, KC_PGUP, KC_PGDN) +COMB(HOME_nav, KC_HOME, KC_UP, KC_DOWN) + + +//COMB(JKL_SPC, KC_SPC, KC_J, KC_X) +//SUBS(TH_THE, "the", KC_T, KC_H) // SUBS uses SEND_STRING to output the given string. + +// from possum vibes to review. +/* COMBO NAME | OUTPUT | PARAMS */ + +// /*---- TOP ROW ----*/ +// COMB(turbonav, NAV_TG, KC_W, KC_R) // Nav access +// COMB(save, S_SAVE, KC_E, KC_R) // Save +// COMB(back_fwd, BCK_FWD, KC_R, KC_T) // Back/Fwd (shifted) + +// COMB(undo_redo, UND_RED, KC_Y, KC_U) // Undo/Redo (shifted) +// COMB(esc, KC_ESC, KC_U, KC_O) // Esc + +// #ifdef IS_PINKY_CLUSTER +// COMB(delete, KC_DEL, KC_A, KC_SCLN) +// COMB(caps, KC_CAPS, KC_Q, KC_P) +// #endif + +// /*---- HOME ROW ----*/ +// COMB(cut, S_CUT, KC_S, KC_F) // Shift+Del (cut) +// COMB(copy, S_COPY, KC_S, KC_D) // Ctrl+Ins (copy) +// COMB(paste, S_PASTE, KC_D, KC_F) // Shift+Del (paste) +// COMB(panic, PANIC, KC_D, KC_K) // panic! + +// COMB(nummode, NUMMODE, KC_J, KC_K) // Nummode toggle +// COMB(symmode, SYM_TG, KC_K, KC_L) // Sym layer +// COMB(tab, KC_TAB, KC_K, KC_M) // Tab + + +// /*---- BOTTOM ROW ----*/ +// COMB(hash, KC_HASH, KC_X, KC_C) // # +// COMB(fslash, KC_SLSH, KC_C, KC_V) // / + +// COMB(dash, KC_MINS, KC_M, KC_COMM) // - +// COMB(asterisk, KC_ASTR, KC_COMM, KC_DOT) // * +// COMB(at, KC_AT, KC_M, KC_DOT) // @ + + +// /*---- THUMBS ----*/ +// COMB(sys_lthm, SYS_OSL, KC_B, KC_ENT) // Sys OSL + +// COMB(space_shift, SPC_SFT, KC_TAB, KC_SPC) // space and activate oss + +// COMB(underscore_rthm, KC_UNDS, KC_SPC, KC_N) // _ + +// /*---- THUMB+ALPHAS ----*/ +// // COMB(os_fun, FUN_OSL, KC_ENT, KC_C) // OS Func +// // COMB(os_num, NUM_OSL, KC_A, KC_F) // OSL num +// // COMB(os_sym, SYM_OSL, KC_SPC, KC_M) // OSL sym diff --git a/users/ericgebhart/defs/custom_keys.def b/users/ericgebhart/defs/custom_keys.def new file mode 100644 index 0000000000..075b7de0c1 --- /dev/null +++ b/users/ericgebhart/defs/custom_keys.def @@ -0,0 +1,86 @@ +// custom key codes. + EPRM, + //VRSN, + CAPS_WORD_ON, + + // LAYERStuff. + KC_NEXT_LOCALE, + KC_NEXT_BASE_LAYER, + KC_SET_BASE, + // Misc. + KC_MAKE, + KC_RESET, + KC_RGB_T, + RGB_IDL, + KC_SECRET_1, + KC_SECRET_2, + KC_SECRET_3, + KC_SECRET_4, + KC_SECRET_5, + + KC_SPACETEST, + + /// Need to evaluate which to keep. + BCK_FWD, // Alt left and right + CLEAR, // Clears all mods, does not change layers. + LOCKSCR, // locks screen per is_windows value + PANIC, // Clears all One-Shot keys and returns to base layer. + UND_RED, // Ctrl Z and Y + + // macros + QMKCOMP, // qmk compile + QMKFLSH, // qmk flash + + // Swapper keys - just the swapper key, maybe gets reused. + SW_REV, // Dead key, reverse direction for swapper + +// for the combo ref layers. + CB_0M1, CB_0M2, CB_0M3, + CB_1M1, CB_1M2, CB_1M3, + CB_2M1, CB_2M2, CB_2M3, + CB_3M1, CB_3M2, CB_3M3, + CB_4M1, CB_4M2, CB_4M3, CB_4M4, CB_4M5, + + CB_1, CB_2, CB_3, CB_4, CB_5, CB_6, CB_7, CB_8, CB_9, CB_0, + + CB_1R1, CB_1R2, CB_1R3, CB_1R4, CB_1R5, + CB_1L1, CB_1L2, CB_1L3, CB_1L4, CB_1L5, + CB_2R1, CB_2R2, CB_2R3, CB_2R4, CB_2R5, + CB_2L1, CB_2L2, CB_2L3, CB_2L4, CB_2L5, + CB_3R1, CB_3R2, CB_3R3, CB_3R4, CB_3R5, + CB_3L1, CB_3L2, CB_3L3, CB_3L4, CB_3L5, + CB_4L1, CB_4L2, CB_4L3, CB_4L4, CB_4L5, + CB_4R1, CB_4R2, CB_4R3, CB_4R4, CB_4R5, + + CB2_0M1, CB2_0M2, CB2_0M3, + CB2_1M1, CB2_1M2, CB2_1M3, + CB2_2M1, CB2_2M2, CB2_2M3, + CB2_3M1, CB2_3M2, CB2_3M3, + CB2_4M1, CB2_4M2, CB2_4M3, CB2_4M4, CB2_4M5, + + CB2_1, CB2_2, CB2_3, CB2_4, CB2_5, CB2_6, CB2_7, CB2_8, CB2_9, CB2_0, + + CB2_1R1, CB2_1R2, CB2_1R3, CB2_1R4, CB2_1R5, + CB2_1L1, CB2_1L2, CB2_1L3, CB2_1L4, CB2_1L5, + CB2_2R1, CB2_2R2, CB2_2R3, CB2_2R4, CB2_2R5, + CB2_2L1, CB2_2L2, CB2_2L3, CB2_2L4, CB2_2L5, + CB2_3R1, CB2_3R2, CB2_3R3, CB2_3R4, CB2_3R5, + CB2_3L1, CB2_3L2, CB2_3L3, CB2_3L4, CB2_3L5, + CB2_4L1, CB2_4L2, CB2_4L3, CB2_4L4, CB2_4L5, + CB2_4R1, CB2_4R2, CB2_4R3, CB2_4R4, CB2_4R5, + +// core 6 thumb keys for combo reference layer + CB_TH1, CB_TH2, CB_TH3, CB_TH4, CB_TH5, CB_TH6, + CB2_TH1, CB2_TH2, CB2_TH3, CB2_TH4, CB2_TH5, CB2_TH6, + CB_1TH1, CB_1TH2, CB_1TH3, CB_1TH4, CB_1TH5, CB_1TH6, + CB2_1TH1, CB2_1TH2, CB2_1TH3, CB2_1TH4, CB2_1TH5, CB2_1TH6, + + // for the extra thumb keys on the kyria + CB_0TH1 , CB_0TH2, CB_0TH3, CB_0TH4, + CB_THA, CB_THB, CB_THC, CB_THD, + +// edge keys for the combo reference layer + L0_CB, L1_CB, L2_CB, L3_CB, + R0_CB, R1_CB, R2_CB, R3_CB, + L0_CB2, L1_CB2, L2_CB2, L3_CB2, + R0_CB2, R1_CB2, R2_CB2, R3_CB2, diff --git a/users/ericgebhart/defs/encoders.def b/users/ericgebhart/defs/encoders.def new file mode 100644 index 0000000000..638d3fbf4b --- /dev/null +++ b/users/ericgebhart/defs/encoders.def @@ -0,0 +1,65 @@ +// Layer/none, encoder index 0/1, CW_KC, CCW_KC, Qualifying mod or none +// LAYER_NONE and MOD_NONE for a single use. +// LEFT and RIGHT for index. 0 and 1... + +// default encoders, all layers no mods. +ENCODER_ACTION(LAYER_NONE, RIGHT, KC_PGDN, KC_PGUP, MOD_NONE) +ENCODER_ACTION(LAYER_NONE, LEFT, KC_DOWN, KC_UP, MOD_NONE) +ENCODER_ACTION(LAYER_NONE, LEFT, KC_PGDN, KC_PGUP, MOD_LSFT) + +// Symbol layer encoders. +// left and right. +ENCODER_ACTION(_SYMB_EN, LEFT, KC_LEFT, KC_RIGHT, MOD_NONE) +// word left or right. +ENCODER_ACTION(_SYMB_EN, LEFT, LCTL(KC_LEFT), LCTL(KC_RIGHT), MOD_NONE) + +// Nav layer encoders. +ENCODER_ACTION(_NAV, LEFT, KC_TAB, S(KC_TAB), MOD_NONE) +ENCODER_ACTION(_NAV, RIGHT, A(KC_TAB), A(S(KC_TAB)), MOD_NONE) +ENCODER_ACTION(_NAV, RIGHT, KC_VOLU, KC_VOLD, MOD_NONE) + +// RGB functions for the RGB layer. +#ifdef RGB_MATRIX_ENABLE + ENCODER_FUNCTION(_RGB, LEFT, + rgb_matrix_increase_speed_noeeprom, + rgb_matrix_decrease_speed_noeeprom, MOD_NONE) + + ENCODER_FUNCTION(_RGB, RIGHT, + rgb_matrix_increase_hue_noeeprom, + rgb_matrix_decrease_hue_noeeprom, MOD_NONE) + + ENCODER_FUNCTION(_RGB, LEFT, + rgb_matrix_increase_sat_noeeprom, + rgb_matrix_decrease_sat_noeeprom, MOD_LSFT) + + ENCODER_FUNCTION(_RGB, RIGHT, + rgb_matrix_increase_val_noeeprom, + rgb_matrix_decrease_val_noeeprom, MOD_LSFT) + + ENCODER_FUNCTION(_RGB, LEFT, + rgb_matrix_step_noeeprom; + rgb_matrix_step_reverse_noeeprom, MOD_LCTL) + +#elif defined(RGBLIGHT_ENABLE) + + ENCODER_FUNCTION(_RGB, LEFT, + rgblight_increase_speed_noeeprom, + rgblight_decrease_speed_noeeprom, MOD_NONE) + + ENCODER_FUNCTION(_RGB, RIGHT, + rgblight_increase_hue_noeeprom, + rgblight_decrease_hue_noeeprom, MOD_NONE) + + ENCODER_FUNCTION(_RGB, LEFT, + rgblight_increase_sat_noeeprom, + rgblight_decrease_sat_noeeprom, MOD_LSFT) + + ENCODER_FUNCTION(_RGB, RIGHT, + rgblight_increase_val_noeeprom, + rgblight_decrease_val_noeeprom, MOD_LSFT) + + + ENCODER_FUNCTION(_RGB, LEFT, + rgblight_step_noeeprom, + rgblight_step_reverse_noeeprom, MOD_LCTL) + #endif // RGB_MATRIX_ENABLE || RGBLIGHT_ENABLE diff --git a/users/ericgebhart/defs/key_overrides.def b/users/ericgebhart/defs/key_overrides.def new file mode 100644 index 0000000000..159e02e87e --- /dev/null +++ b/users/ericgebhart/defs/key_overrides.def @@ -0,0 +1,23 @@ +//KOL -> name, mod_mask, keycode, sendkeycode, layer to apply. + +// // these are actually handled by alt_local_keys, in a more universal +// // and adaptable way. +// KOL(slash_pipe, MOD_MASK_SHIFT, KC_SLSH, KC_PIPE, _DVORAK_EN) + +// this one is interesting. +KOL(slash_backslash, MOD_MASK_ALT, KC_SLSH, KC_BSLS, _DVORAK_EN) + +// KOL(N2_dot, MOD_MASK_SHIFT, KC_2, KC_DOT, _KEYPAD_EN) +// KOL(N3_comma, MOD_MASK_SHIFT, KC_3, KC_COMMA, _KEYPAD_EN) + +// KOL(hash_at, MOD_MASK_SHIFT, KC_HASH, KC_AT, _CDH) +// KOL(dot_colon, MOD_MASK_SHIFT, KC_DOT, KC_COLN, _CDH) +// KOL(comma_semicolon, MOD_MASK_SHIFT, KC_COMMA, KC_SCLN, _CDH) +// KOL(space_unds, MOD_MASK_SHIFT, KC_SPACE, KC_UNDS, _CDH) +// KOL(mins_exlm, MOD_MASK_SHIFT, KC_MINS, KC_EXLM, _CDH) + +// KOL(bspc_del, MOD_MASK_SHIFT, KC_BSPC, KC_DEL, _NAV) + +// KOL(zero_degree, MOD_MASK_SHIFT, KC_0, DEGREE, _KEYPAD_EN) + +// KOL(eur_pnd, MOD_MASK_SHIFT, KC_EUR, KC_PND, _SYMB_EN) diff --git a/users/ericgebhart/defs/mod_lock.def b/users/ericgebhart/defs/mod_lock.def new file mode 100644 index 0000000000..da53ea0503 --- /dev/null +++ b/users/ericgebhart/defs/mod_lock.def @@ -0,0 +1,19 @@ +// mod lock keys. takes keymods not mods. +// keycode should be defined in custom_keys.def. +// custom key, modkey to activate +MODL(ML_LSFT, KC_LSFT) +MODL(ML_LCTL, KC_LCTL) +MODL(ML_LALT, KC_LALT) +MODL(ML_LGUI, KC_LGUI) + +// Keycodes which will NOT cancel mod lock mode. +IGNORE_KC( KC_LEFT) +IGNORE_KC( KC_RGHT) +IGNORE_KC( KC_UP) +IGNORE_KC( KC_DOWN) +IGNORE_KC( KC_HOME) +IGNORE_KC( KC_END) +IGNORE_KC( ML_LALT) +IGNORE_KC( ML_LCTL) +IGNORE_KC( ML_LGUI) +IGNORE_KC( ML_LSFT) diff --git a/users/ericgebhart/defs/not_dead.def b/users/ericgebhart/defs/not_dead.def new file mode 100644 index 0000000000..66023ec523 --- /dev/null +++ b/users/ericgebhart/defs/not_dead.def @@ -0,0 +1,19 @@ +// Make not dead keys from dead keys. +// Not dead keycode, dead key +NOT_DEAD(KC_DQUO_ND, KC_DQUO) +NOT_DEAD(KC_GRV_ND, KC_GRV) +NOT_DEAD(KC_QUOT_ND, KC_QUOT) +NOT_DEAD(KC_CIRC_ND, KC_CIRC) +NOT_DEAD(KC_TILD_ND, KC_TILD) + +NOT_DEAD(US_DQUO_ND, US_DQUO) +NOT_DEAD(US_GRV_ND, US_GRV) +NOT_DEAD(US_QUOT_ND, US_QUOT) +NOT_DEAD(US_CIRC_ND, US_CIRC) +NOT_DEAD(US_TILD_ND, US_TILD) + +NOT_DEAD(BP_DQUO_ND, BP_DQUO) +NOT_DEAD(BP_GRV_ND, BP_GRV) +NOT_DEAD(BP_QUOT_ND, BP_QUOT) +NOT_DEAD(BP_CIRC_ND, BP_CIRC) +NOT_DEAD(BP_TILD_ND, BP_TILD) diff --git a/users/ericgebhart/defs/nshot.def b/users/ericgebhart/defs/nshot.def new file mode 100644 index 0000000000..79559534c7 --- /dev/null +++ b/users/ericgebhart/defs/nshot.def @@ -0,0 +1,45 @@ +// Define keycodes in custom keys. +// KEYCode, mod keycode, to set for n-shot. +// ONESHOT is for one. +// NSHOT takes a count. + +// oneshots +ONESHOT(OS_LSFT, KC_LSFT) +ONESHOT(OS_LCTL, KC_LCTL) +ONESHOT(OS_LALT, KC_LALT) +ONESHOT(OS_LGUI, KC_LGUI) + +ONESHOT(OS_RSFT, KC_RSFT) +ONESHOT(OS_RCTL, KC_RCTL) +ONESHOT(OS_RALT, KC_RALT) +ONESHOT(OS_RGUI, KC_RGUI) + +// N-Shots +NSHOT(TS_LCTL, KC_LCTL, 2) +NSHOT(TS_RCTL, KC_RCTL, 2) + +// Keys which will cancel the n-shots. +CANCEL_KEY( PANIC) +CANCEL_KEY( CLEAR) +//CANCEL_KEY( THM_LH0) +//CANCEL_KEY( THM_LH1) +//CANCEL_KEY( THM_RH0) +//CANCEL_KEY( THM_RH1) + +// inherited from @possumvibes, keeping for now. +// Keys which will be ignored by n-shots. +//IGNORE_KEY( THM_LH0) +//IGNORE_KEY( THM_LH1) +//IGNORE_KEY( THM_RH0) +//IGNORE_KEY( THM_RH1) +//IGNORE_KEY( SYM_OSL) +//IGNORE_KEY( SYM_TG) +//IGNORE_KEY( NAV_TG) +//IGNORE_KEY( NUM_OSL) +//IGNORE_KEY( NUM_TO) +//IGNORE_KEY( FUN_OSL) +//IGNORE_KEY( ALPHA) +IGNORE_KEY( SML_NAV) +IGNORE_KEY( SPC_TOPR) +// IGNORE_KEY( SML_KEYPAD) +//IGNORE_KEY( SML_TOPROWS) diff --git a/users/ericgebhart/defs/oneshot.def b/users/ericgebhart/defs/oneshot.def new file mode 100644 index 0000000000..c54215234f --- /dev/null +++ b/users/ericgebhart/defs/oneshot.def @@ -0,0 +1,17 @@ +// custom-key, Oneshot name. + ONESHOT( OS_LSFT, ONESHOT_LSFT) + ONESHOT( OS_LCTL, ONESHOT_LCTL) + ONESHOT( OS_LALT, ONESHOT_LALT) + ONESHOT( OS_LGUI, ONESHOT_LGUI) + +// keys to cancel + CANCEL_KEY( KC_ESC) + +// CANCEL_KEY( KC_FNAV) +// CANCEL_KEY( KC_FNUM) +// CANCEL_KEY( KC_FCAPS) + +// keys to ignore. +IGNORE_KEY( SPC_NAV) +// IGNORE_KEY( KC_FNAV) +// IGNORE_KEY( KC_FSYM) diff --git a/users/ericgebhart/defs/send_string.def b/users/ericgebhart/defs/send_string.def new file mode 100644 index 0000000000..455d25bfb1 --- /dev/null +++ b/users/ericgebhart/defs/send_string.def @@ -0,0 +1,7 @@ +// key to be defined and string to send. + +//SEND_STR(MYKEY, "this is a test") +//SEND_STR_DELAY(MYKEY4, "this is another test") + +SEND_STR_DELAY(VRSN, QMK_KEYBOARD ":" QMK_KEYMAP " @ " QMK_VERSION ", Built on: " QMK_BUILDDATE) +// SEND_STR_DELAY(VRSN, QMK_KEYBOARD ":" QMK_KEYMAP " # @ " QMK_VERSION) 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, |