diff options
Diffstat (limited to 'keyboards/atomic/keymaps/default/keymap.c')
-rw-r--r-- | keyboards/atomic/keymaps/default/keymap.c | 210 |
1 files changed, 210 insertions, 0 deletions
diff --git a/keyboards/atomic/keymaps/default/keymap.c b/keyboards/atomic/keymaps/default/keymap.c new file mode 100644 index 000000000..d4bdc1837 --- /dev/null +++ b/keyboards/atomic/keymaps/default/keymap.c | |||
@@ -0,0 +1,210 @@ | |||
1 | #include QMK_KEYBOARD_H | ||
2 | |||
3 | // Fillers to make layering more clear | ||
4 | #define ___T___ KC_TRNS | ||
5 | |||
6 | // Layer shorthand | ||
7 | #define _QW 0 | ||
8 | #define _CM 1 | ||
9 | #define _DV 2 | ||
10 | #define _LW 3 | ||
11 | #define _RS 4 | ||
12 | #define _FN 5 | ||
13 | |||
14 | /* ROW 1 OPTIONS | ||
15 | * .--------------------------------------------------------------------------------------------------------------------------------------. | ||
16 | * | | | | | | | | | | | | | | | | | ||
17 | * '--------------------------------------------------------------------------------------------------------------------------------------' | ||
18 | * .- 2u ------------. | ||
19 | * | KEY . XXXXXX | | ||
20 | * '-----------------' | ||
21 | */ | ||
22 | |||
23 | /* ROW 2 OPTIONS | ||
24 | * .--------------------------------------------------------------------------------------------------------------------------------------. | ||
25 | * | | | | | | | | | | | | | | | | | ||
26 | * '--------------------------------------------------------------------------------------------------------------------------------------' | ||
27 | * .- 2u ------------. .- 2u ------------. | ||
28 | * | KEY . XXXXXX | | KEY . XXXXXX | | ||
29 | * '-----------------' '-----------------' | ||
30 | */ | ||
31 | |||
32 | /* ROW 3 OPTIONS | ||
33 | * .--------------------------------------------------------------------------------------------------------------------------------------. | ||
34 | * | | | | | | | | | | | | | | | | | ||
35 | * '--------------------------------------------------------------------------------------------------------------------------------------' | ||
36 | * .- 2u ------------. .- 2u ------------. | ||
37 | * | KEY . XXXXXX | | X | | ||
38 | * '-----------------' '-----------------' | ||
39 | * .- 2u ------------. | ||
40 | * | X | | ||
41 | * '-----------------' | ||
42 | */ | ||
43 | |||
44 | /* ROW 4 OPTIONS | ||
45 | * .--------------------------------------------------------------------------------------------------------------------------------------. | ||
46 | * | | | | | | | | | | | | | | | | | ||
47 | * '--------------------------------------------------------------------------------------------------------------------------------------' | ||
48 | * .- 2u ------------. | ||
49 | * | KEY . XXXXXX | | ||
50 | * '-----------------' | ||
51 | * .- 2u ------------. .- 2u ------------. | ||
52 | * | KEY . XXXXXX | | KEY . XXXXXX | | ||
53 | * '-----------------' '-----------------' | ||
54 | * .- 2u ------------. | ||
55 | * | KEY . XXXXXX | | ||
56 | * '-----------------' | ||
57 | */ | ||
58 | |||
59 | /* ROW 5 OPTIONS | ||
60 | * .--------------------------------------------------------------------------------------------------------------------------------------. | ||
61 | * | | | | | | | | | | | | | | | | | ||
62 | * '--------------------------------------------------------------------------------------------------------------------------------------' | ||
63 | * .- 1.25u --+ 1.25u ------- 1.25u +--- 1.25u --- 2u -------------- 1.25u ---- 1.25u ------ 1.25u +---- 1.25u . | ||
64 | * | X | X | X | X | X | X | X | X | X | | ||
65 | * '-----------------------------------------------------------------------------------------------------------' | ||
66 | * .- 2u ------------. | ||
67 | * | X | | ||
68 | * '-----------------' | ||
69 | * .--------------------- 6.25u ----------------------------. | ||
70 | * | X | | ||
71 | * '--------------------------------------------------------' | ||
72 | * .----------------------- 6.25u ---------------------------- 1.25u ---- 1.25u ---- 1.25u ------ 1.25u +-- 1.25u --. | ||
73 | * | X | X | X | X | X | X | | ||
74 | * '----------------------------------------------------------------------------------------------------------------' | ||
75 | */ | ||
76 | |||
77 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
78 | |||
79 | /* QWERTY - MIT ENHANCED / GRID COMPATIBLE | ||
80 | * .---------------------------------------------------------------------------------------------------------------------- 2u ------------. | ||
81 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | XXXXXX . BACKSP | | ||
82 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------| | ||
83 | * | TAB | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ | DEL | | ||
84 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+- 2u ------------+--------| | ||
85 | * | ESC | A | S | D | F | G | H | J | K | L | ; | ' | XXXXXX . ENTER | PG UP | | ||
86 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+- 2u ---------------------+--------| | ||
87 | * | LSHIFT | Z | X | C | V | B | N | M | , | . | / | XXXXXX . RSHIFT | UP | PG DN | | ||
88 | * |--------+--------+--------+--------+--------+- 2u ------------+--------+--------+--------+--------+-----------------+--------+--------| | ||
89 | * | BRITE | LCTRL | LALT | LGUI | RAISE | XXXXXX . SPACE | LOWER | RGUI | RALT | RCTRL | FN | LEFT | DOWN | RIGHT | | ||
90 | * '--------------------------------------------------------------------------------------------------------------------------------------' | ||
91 | */ | ||
92 | |||
93 | [_QW] = LAYOUT_ortho_5x15( /* QWERTY */ | ||
94 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC, | ||
95 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL , | ||
96 | KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_ENT, KC_PGUP, | ||
97 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_RSFT, KC_UP, KC_PGDN, | ||
98 | BL_STEP, KC_LCTL, KC_LALT, KC_LGUI, MO(_RS), KC_SPC, KC_SPC, MO(_LW), KC_RGUI, KC_RALT, KC_RCTL, MO(_FN), KC_LEFT, KC_DOWN, KC_RGHT | ||
99 | ), | ||
100 | |||
101 | /* COLEMAK - MIT ENHANCED / GRID COMPATIBLE | ||
102 | * .---------------------------------------------------------------------------------------------------------------------- 2u ------------. | ||
103 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | XXXXXX . BACKSP | | ||
104 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------| | ||
105 | * | TAB | Q | W | F | P | G | J | L | U | Y | ; | [ | ] | \ | DEL | | ||
106 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+- 2u ------------+--------| | ||
107 | * | ESC | A | R | S | T | D | H | N | E | I | O | ' | XXXXXX . ENTER | PG UP | | ||
108 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+- 2u ---------------------+--------| | ||
109 | * | LSHIFT | Z | X | C | V | B | K | M | , | . | / | XXXXXX . RSHIFT | UP | PG DN | | ||
110 | * |--------+--------+--------+--------+--------+- 2u ------------+--------+--------+--------+--------+-----------------+--------+--------| | ||
111 | * | BRITE | LCTRL | LALT | LGUI | RAISE | XXXXXX . SPACE | LOWER | RGUI | RALT | RCTRL | FN | LEFT | DOWN | RIGHT | | ||
112 | * '--------------------------------------------------------------------------------------------------------------------------------------' | ||
113 | */ | ||
114 | |||
115 | [_CM] = LAYOUT_ortho_5x15( /* COLEMAK */ | ||
116 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC, | ||
117 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL , | ||
118 | KC_ESC, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, KC_ENT, KC_ENT, KC_PGUP, | ||
119 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_RSFT, KC_UP, KC_PGDN, | ||
120 | BL_STEP, KC_LCTL, KC_LALT, KC_LGUI, MO(_RS), KC_SPC, KC_SPC, MO(_LW), KC_RGUI, KC_RALT, KC_RCTL, MO(_FN), KC_LEFT, KC_DOWN, KC_RGHT | ||
121 | ), | ||
122 | |||
123 | /* DVORAK - MIT ENHANCED / GRID COMPATIBLE | ||
124 | * .---------------------------------------------------------------------------------------------------------------------- 2u ------------. | ||
125 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | XXXXXX . BACKSP | | ||
126 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------| | ||
127 | * | TAB | ' | , | . | P | Y | F | G | C | R | L | [ | ] | \ | DEL | | ||
128 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+- 2u ------------+--------| | ||
129 | * | ESC | A | O | E | U | I | D | H | T | N | S | / | XXXXXX . ENTER | PG UP | | ||
130 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+- 2u ---------------------+--------| | ||
131 | * | LSHIFT | ; | Q | J | K | X | B | M | W | V | Z | XXXXXX . RSHIFT | UP | PG DN | | ||
132 | * |--------+--------+--------+--------+--------+- 2u ------------+--------+--------+--------+--------+-----------------+--------+--------| | ||
133 | * | BRITE | LCTRL | LALT | LGUI | RAISE | XXXXXX . SPACE | LOWER | RGUI | RALT | RCTRL | FN | LEFT | DOWN | RIGHT | | ||
134 | * '--------------------------------------------------------------------------------------------------------------------------------------' | ||
135 | */ | ||
136 | |||
137 | [_DV] = LAYOUT_ortho_5x15( /* DVORAK */ | ||
138 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC, | ||
139 | KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL , | ||
140 | KC_ESC, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH, KC_ENT, KC_ENT, KC_PGUP, | ||
141 | KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_RSFT, KC_RSFT, KC_UP, KC_PGDN, | ||
142 | BL_STEP, KC_LCTL, KC_LALT, KC_LGUI, MO(_RS), KC_SPC, KC_SPC, MO(_LW), KC_RGUI, KC_RALT, KC_RCTL, MO(_FN), KC_LEFT, KC_DOWN, KC_RGHT | ||
143 | ), | ||
144 | |||
145 | /* LOWERED | ||
146 | * .---------------------------------------------------------------------------------------------------------------------- 2u ------------. | ||
147 | * | | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | XXXXXX . | | ||
148 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------| | ||
149 | * | | ! | @ | # | $ | % | ^ | & | * | ( | ) | | | | INS | | ||
150 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+- 2u ------------+--------| | ||
151 | * | | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } | | | XXXXXX . | | | ||
152 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+- 2u ---------------------+--------| | ||
153 | * | | F7 | F8 | F9 | F10 | F11 | F12 | | | | | XXXXXX . | | | | ||
154 | * |--------+--------+--------+--------+--------+- 2u ------------+--------+--------+--------+--------+-----------------+--------+--------| | ||
155 | * | | | | | | XXXXXX . | | | | | | | | | | ||
156 | * '--------------------------------------------------------------------------------------------------------------------------------------' | ||
157 | */ | ||
158 | |||
159 | [_LW] = LAYOUT_ortho_5x15( /* LOWERED */ | ||
160 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, ___T___, ___T___, | ||
161 | _______, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, _______, _______, KC_INS , | ||
162 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, ___T___, ___T___, _______, | ||
163 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______, _______, ___T___, ___T___, _______, _______, | ||
164 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
165 | ), | ||
166 | |||
167 | /* RAISED | ||
168 | * .---------------------------------------------------------------------------------------------------------------------- 2u ------------. | ||
169 | * | | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | XXXXXX . | | ||
170 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------| | ||
171 | * | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | | | | INS | | ||
172 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+- 2u ------------+--------| | ||
173 | * | | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | \ | XXXXXX . | | | ||
174 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+- 2u ---------------------+--------| | ||
175 | * | | F7 | F8 | F9 | F10 | F11 | F12 | | | | | XXXXXX . | | | | ||
176 | * |--------+--------+--------+--------+--------+- 2u ------------+--------+--------+--------+--------+-----------------+--------+--------| | ||
177 | * | | | | | | XXXXXX . | | | | | | | | | | ||
178 | * '--------------------------------------------------------------------------------------------------------------------------------------' | ||
179 | */ | ||
180 | |||
181 | [_RS] = LAYOUT_ortho_5x15( /* RAISED */ | ||
182 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, ___T___, ___T___, | ||
183 | _______, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, _______, _______, _______, KC_INS , | ||
184 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, ___T___, ___T___, _______, | ||
185 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______, _______, ___T___, ___T___, _______, _______, | ||
186 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
187 | ), | ||
188 | |||
189 | /* FUNCTION | ||
190 | * .---------------------------------------------------------------------------------------------------------------------- 2u ------------. | ||
191 | * | NUM LK | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | XXXXXX . | | ||
192 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------| | ||
193 | * | SCR LK | F13 | F14 | F15 | F16 | F17 | F18 | F19 | F20 | F21 | F22 | F23 | F24 | PAUSE | PR SCR | | ||
194 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+- 2u ------------+--------| | ||
195 | * | CAP LK | MS BT5 | MS BT4 | MS BT3 | MS BT2 | SLOW M | FAST M | NEXT | VOL+ | VOL- | PLAY | | XXXXXX . | WHEEL+ | | ||
196 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+- 2u ---------------------+--------| | ||
197 | * | | | QWERTY | COLEMK | DVORAK | | | | | | | XXXXXX . | MOUS U | WHEEL- | | ||
198 | * |--------+--------+--------+--------+--------+- 2u ------------+--------+--------+--------+--------+-----------------+--------+--------| | ||
199 | * | | | | | | XXXXXX . MS BT1 | | | | | | MOUS L | MOUS D | MOUS R | | ||
200 | * '--------------------------------------------------------------------------------------------------------------------------------------' | ||
201 | */ | ||
202 | |||
203 | [_FN] = LAYOUT_ortho_5x15( /* FUNCTION */ | ||
204 | KC_NLCK, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, ___T___, ___T___, | ||
205 | KC_SLCK, KC_F13, KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, KC_PAUS, KC_PSCR, | ||
206 | KC_CAPS, KC_BTN5, KC_BTN4, KC_BTN3, KC_BTN2, KC_ACL0, KC_ACL2, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY, _______, ___T___, ___T___, KC_WH_U, | ||
207 | _______, _______, DF(_QW), DF(_CM), DF(_DV), _______, _______, _______, _______, _______, _______, ___T___, ___T___, KC_MS_U, KC_WH_D, | ||
208 | _______, _______, _______, _______, _______, KC_BTN1, KC_BTN1, _______, _______, _______, _______, _______, KC_MS_L, KC_MS_D, KC_MS_R | ||
209 | ), | ||
210 | }; | ||