summaryrefslogtreecommitdiffstats
path: root/users/ericgebhart/defs/smart_lock.def
blob: 8202feb0d99fbb4e66cc592feb04ade7cbcb099f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
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___)