diff options
Diffstat (limited to 'keyboards/chalice')
-rw-r--r-- | keyboards/chalice/chalice.c | 18 | ||||
-rw-r--r-- | keyboards/chalice/chalice.h | 60 | ||||
-rw-r--r-- | keyboards/chalice/config.h | 66 | ||||
-rw-r--r-- | keyboards/chalice/info.json | 160 | ||||
-rw-r--r-- | keyboards/chalice/keymaps/default/keymap.c | 55 | ||||
-rw-r--r-- | keyboards/chalice/keymaps/via/keymap.c | 55 | ||||
-rw-r--r-- | keyboards/chalice/keymaps/via/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/chalice/readme.md | 25 | ||||
-rw-r--r-- | keyboards/chalice/rules.mk | 18 |
9 files changed, 458 insertions, 0 deletions
diff --git a/keyboards/chalice/chalice.c b/keyboards/chalice/chalice.c new file mode 100644 index 000000000..1d7cc1222 --- /dev/null +++ b/keyboards/chalice/chalice.c | |||
@@ -0,0 +1,18 @@ | |||
1 | /* Copyright 2020 null-ll | ||
2 | * Copyright 2021 Jels, Josh Johnson | ||
3 | * | ||
4 | * This program is free software: you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License as published by | ||
6 | * the Free Software Foundation, either version 2 of the License, or | ||
7 | * (at your option) any later version. | ||
8 | * | ||
9 | * This program is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU General Public License | ||
15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | |||
18 | #include "chalice.h" | ||
diff --git a/keyboards/chalice/chalice.h b/keyboards/chalice/chalice.h new file mode 100644 index 000000000..c55cd4ba0 --- /dev/null +++ b/keyboards/chalice/chalice.h | |||
@@ -0,0 +1,60 @@ | |||
1 | /* Copyright 2020 null-ll | ||
2 | * Copyright 2021 Jels, Josh Johnson | ||
3 | * | ||
4 | * This program is free software: you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License as published by | ||
6 | * the Free Software Foundation, either version 2 of the License, or | ||
7 | * (at your option) any later version. | ||
8 | * | ||
9 | * This program is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU General Public License | ||
15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | |||
18 | #pragma once | ||
19 | |||
20 | #define ___ KC_NO | ||
21 | |||
22 | #include "quantum.h" | ||
23 | |||
24 | #define LAYOUT_default( \ | ||
25 | K00, K10, K01, K11, K02, K12, K03, K13, K04, K14, K05, K15, K06, K16, K46, \ | ||
26 | K20, K30, K21, K31, K22, K32, K23, K33, K24, K34, K25, K35, K26, K36, K56, \ | ||
27 | K40, K50, K41, K51, K42, K52, K43, K53, K44, K54, K45, K55, K66, K76, \ | ||
28 | K60, K70, K61, K71, K62, K72, K63, K73, K64, K74, K65, K75, K86, K96, \ | ||
29 | K80, K91, K82, K92, K83, K93, K84, K94, K85, K95 \ | ||
30 | ) { \ | ||
31 | { K00, K01, K02, K03, K04, K05, K06 }, \ | ||
32 | { K10, K11, K12, K13, K14, K15, K16 }, \ | ||
33 | { K20, K21, K22, K23, K24, K25, K26 }, \ | ||
34 | { K30, K31, K32, K33, K34, K35, K36 }, \ | ||
35 | { K40, K41, K42, K43, K44, K45, K46 }, \ | ||
36 | { K50, K51, K52, K53, K54, K55, K56 }, \ | ||
37 | { K60, K61, K62, K63, K64, K65, K66 }, \ | ||
38 | { K70, K71, K72, K73, K74, K75, K76 }, \ | ||
39 | { K80, ___, K82, K83, K84, K85, K86 }, \ | ||
40 | { ___, K91, K92, K93, K94, K95, K96 } \ | ||
41 | } | ||
42 | |||
43 | #define LAYOUT_split_bs( \ | ||
44 | K00, K10, K01, K11, K02, K12, K03, K13, K04, K14, K05, K15, K06, K16, K46, K81, \ | ||
45 | K20, K30, K21, K31, K22, K32, K23, K33, K24, K34, K25, K35, K26, K36, K56, \ | ||
46 | K40, K50, K41, K51, K42, K52, K43, K53, K44, K54, K45, K55, K66, K76, \ | ||
47 | K60, K70, K61, K71, K62, K72, K63, K73, K64, K74, K65, K75, K86, K96, \ | ||
48 | K80, K91, K82, K92, K83, K93, K84, K94, K85, K95 \ | ||
49 | ) { \ | ||
50 | { K00, K01, K02, K03, K04, K05, K06 }, \ | ||
51 | { K10, K11, K12, K13, K14, K15, K16 }, \ | ||
52 | { K20, K21, K22, K23, K24, K25, K26 }, \ | ||
53 | { K30, K31, K32, K33, K34, K35, K36 }, \ | ||
54 | { K40, K41, K42, K43, K44, K45, K46 }, \ | ||
55 | { K50, K51, K52, K53, K54, K55, K56 }, \ | ||
56 | { K60, K61, K62, K63, K64, K65, K66 }, \ | ||
57 | { K70, K71, K72, K73, K74, K75, K76 }, \ | ||
58 | { K80, K81, K82, K83, K84, K85, K86 }, \ | ||
59 | { ___, K91, K92, K93, K94, K95, K96 } \ | ||
60 | } | ||
diff --git a/keyboards/chalice/config.h b/keyboards/chalice/config.h new file mode 100644 index 000000000..75c34cacd --- /dev/null +++ b/keyboards/chalice/config.h | |||
@@ -0,0 +1,66 @@ | |||
1 | /* Copyright 2020 null-ll | ||
2 | * Copyright 2021 Jels, Josh Johnson | ||
3 | * | ||
4 | * This program is free software: you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License as published by | ||
6 | * the Free Software Foundation, either version 2 of the License, or | ||
7 | * (at your option) any later version. | ||
8 | * | ||
9 | * This program is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU General Public License | ||
15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | |||
18 | #pragma once | ||
19 | |||
20 | #include "config_common.h" | ||
21 | |||
22 | #define VENDOR_ID 0x6A6A | ||
23 | #define PRODUCT_ID 0x000C | ||
24 | #define DEVICE_VER 0x0001 | ||
25 | #define MANUFACTURER CustomKBD | ||
26 | #define PRODUCT Chalice | ||
27 | |||
28 | /* key matrix size */ | ||
29 | #define MATRIX_ROWS 10 | ||
30 | #define MATRIX_COLS 7 | ||
31 | |||
32 | #define MATRIX_ROW_PINS {F4, D1, D0, F5, D4, F6, B4, B5, B2, B6} | ||
33 | #define MATRIX_COL_PINS {F7, C6, B1, D2, E6, B3, D7} | ||
34 | |||
35 | /* COL2ROW, ROW2COL*/ | ||
36 | #define DIODE_DIRECTION COL2ROW | ||
37 | |||
38 | #define RGB_DI_PIN D3 | ||
39 | |||
40 | #ifdef RGBLIGHT_ENABLE | ||
41 | #define RGBLED_NUM 14 | ||
42 | #define RGBLIGHT_SLEEP | ||
43 | #define RGBLIGHT_EFFECT_BREATHING | ||
44 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
45 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
46 | #define RGBLIGHT_EFFECT_SNAKE | ||
47 | #define RGBLIGHT_EFFECT_KNIGHT | ||
48 | #define RGBLIGHT_EFFECT_CHRISTMAS | ||
49 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
50 | #define RGBLIGHT_EFFECT_RGB_TEST | ||
51 | #define RGBLIGHT_EFFECT_ALTERNATING | ||
52 | #define RGBLIGHT_EFFECT_TWINKLE | ||
53 | #endif | ||
54 | |||
55 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
56 | #define DEBOUNCE 5 | ||
57 | |||
58 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
59 | #define LOCKING_SUPPORT_ENABLE | ||
60 | /* Locking resynchronize hack */ | ||
61 | #define LOCKING_RESYNC_ENABLE | ||
62 | |||
63 | /* Bootmagic Lite key configuration */ | ||
64 | #define BOOTMAGIC_LITE_ROW 0 | ||
65 | #define BOOTMAGIC_LITE_COLUMN 0 | ||
66 | |||
diff --git a/keyboards/chalice/info.json b/keyboards/chalice/info.json new file mode 100644 index 000000000..77a3f7bc1 --- /dev/null +++ b/keyboards/chalice/info.json | |||
@@ -0,0 +1,160 @@ | |||
1 | { | ||
2 | "keyboard_name": "Chalice", | ||
3 | "url": "https://customkbd.com/products/chalice-pre-order", | ||
4 | "maintainer": "joshajohnson, CustomKBD", | ||
5 | "layouts": { | ||
6 | "LAYOUT_default": { | ||
7 | "layout": [ | ||
8 | {"label":"Esc", "x":0, "y":0}, | ||
9 | {"label":"`~", "x":1.5, "y":0}, | ||
10 | {"label":"1!", "x":2.5, "y":0}, | ||
11 | {"label":"2@", "x":3.5, "y":0}, | ||
12 | {"label":"3#", "x":4.5, "y":0}, | ||
13 | {"label":"4$", "x":5.5, "y":0}, | ||
14 | {"label":"5%", "x":6.5, "y":0}, | ||
15 | {"label":"6^", "x":7.5, "y":0}, | ||
16 | {"label":"7&", "x":10.5, "y":0}, | ||
17 | {"label":"8*", "x":11.5, "y":0}, | ||
18 | {"label":"9(", "x":12.5, "y":0}, | ||
19 | {"label":"0)", "x":13.5, "y":0}, | ||
20 | {"label":"-_", "x":14.5, "y":0}, | ||
21 | {"label":"=+", "x":15.5, "y":0}, | ||
22 | {"label":"Backspace", "x":16.5, "y":0, "w":2}, | ||
23 | |||
24 | {"label":"Insert", "x":0, "y":1}, | ||
25 | {"label":"Tab", "x":1.5, "y":1, "w":1.5}, | ||
26 | {"label":"Q", "x":3, "y":1}, | ||
27 | {"label":"W", "x":4, "y":1}, | ||
28 | {"label":"E", "x":5, "y":1}, | ||
29 | {"label":"R", "x":6, "y":1}, | ||
30 | {"label":"T", "x":7, "y":1}, | ||
31 | {"label":"Y", "x":10, "y":1}, | ||
32 | {"label":"U", "x":11, "y":1}, | ||
33 | {"label":"I", "x":12, "y":1}, | ||
34 | {"label":"O", "x":13, "y":1}, | ||
35 | {"label":"P", "x":14, "y":1}, | ||
36 | {"label":"[{", "x":15, "y":1}, | ||
37 | {"label":"]}", "x":16, "y":1}, | ||
38 | {"label":"\\|", "x":17, "y":1, "w":1.5}, | ||
39 | |||
40 | {"label":"Delete", "x":0, "y":2}, | ||
41 | {"label":"Caps Lock", "x":1.5, "y":2, "w":1.75}, | ||
42 | {"label":"A", "x":3.25, "y":2}, | ||
43 | {"label":"S", "x":4.25, "y":2}, | ||
44 | {"label":"D", "x":5.25, "y":2}, | ||
45 | {"label":"F", "x":6.25, "y":2}, | ||
46 | {"label":"G", "x":7.25, "y":2}, | ||
47 | {"label":"H", "x":10.25, "y":2}, | ||
48 | {"label":"J", "x":11.25, "y":2}, | ||
49 | {"label":"K", "x":12.25, "y":2}, | ||
50 | {"label":"L", "x":13.25, "y":2}, | ||
51 | {"label":";:", "x":14.25, "y":2}, | ||
52 | {"label":"'\"", "x":15.25, "y":2}, | ||
53 | {"label":"Enter", "x":16.25, "y":2, "w":2.25}, | ||
54 | |||
55 | {"label":"Shift", "x":1.5, "y":3, "w":2.25}, | ||
56 | {"label":"Z", "x":3.75, "y":3}, | ||
57 | {"label":"X", "x":4.75, "y":3}, | ||
58 | {"label":"C", "x":5.75, "y":3}, | ||
59 | {"label":"V", "x":6.75, "y":3}, | ||
60 | {"label":"B", "x":7.75, "y":3}, | ||
61 | {"label":"B", "x":9.75, "y":3}, | ||
62 | {"label":"N", "x":10.75, "y":3}, | ||
63 | {"label":"M", "x":11.75, "y":3}, | ||
64 | {"label":",<", "x":12.75, "y":3}, | ||
65 | {"label":".>", "x":13.75, "y":3}, | ||
66 | {"label":"/?", "x":14.75, "y":3}, | ||
67 | {"label":"Shift", "x":15.75, "y":3, "w":1.75}, | ||
68 | {"label":"Up", "x":17.5, "y":3}, | ||
69 | |||
70 | {"label":"Ctrl", "x":1.5, "y":4, "w":1.5}, | ||
71 | {"label":"Alt", "x":4.5, "y":4, "w":1.5}, | ||
72 | {"label":"Space", "x":6, "y":4, "w":2.25}, | ||
73 | {"label":"Fn", "x":8.25, "y":4}, | ||
74 | {"label":"Space", "x":9.75, "y":4, "w":2.75}, | ||
75 | {"label":"Alt", "x":12.5, "y":4, "w":1.5}, | ||
76 | {"label":"Ctrl", "x":15, "y":4, "w":1.5}, | ||
77 | {"label":"Left", "x":16.5, "y":4}, | ||
78 | {"label":"Down", "x":17.5, "y":4}, | ||
79 | {"label":"Right", "x":18.5, "y":4} | ||
80 | ] | ||
81 | }, | ||
82 | "LAYOUT_split_bs": { | ||
83 | "layout": [ | ||
84 | {"label":"Esc", "x":0, "y":0}, | ||
85 | {"label":"`~", "x":1.5, "y":0}, | ||
86 | {"label":"1!", "x":2.5, "y":0}, | ||
87 | {"label":"2@", "x":3.5, "y":0}, | ||
88 | {"label":"3#", "x":4.5, "y":0}, | ||
89 | {"label":"4$", "x":5.5, "y":0}, | ||
90 | {"label":"5%", "x":6.5, "y":0}, | ||
91 | {"label":"6^", "x":7.5, "y":0}, | ||
92 | {"label":"7&", "x":10.5, "y":0}, | ||
93 | {"label":"8*", "x":11.5, "y":0}, | ||
94 | {"label":"9(", "x":12.5, "y":0}, | ||
95 | {"label":"0)", "x":13.5, "y":0}, | ||
96 | {"label":"-_", "x":14.5, "y":0}, | ||
97 | {"label":"=+", "x":15.5, "y":0}, | ||
98 | {"label":"Backspace", "x":16.5, "y":0}, | ||
99 | {"label":"Backspace", "x":17.5, "y":0}, | ||
100 | |||
101 | {"label":"Insert", "x":0, "y":1}, | ||
102 | {"label":"Tab", "x":1.5, "y":1, "w":1.5}, | ||
103 | {"label":"Q", "x":3, "y":1}, | ||
104 | {"label":"W", "x":4, "y":1}, | ||
105 | {"label":"E", "x":5, "y":1}, | ||
106 | {"label":"R", "x":6, "y":1}, | ||
107 | {"label":"T", "x":7, "y":1}, | ||
108 | {"label":"Y", "x":10, "y":1}, | ||
109 | {"label":"U", "x":11, "y":1}, | ||
110 | {"label":"I", "x":12, "y":1}, | ||
111 | {"label":"O", "x":13, "y":1}, | ||
112 | {"label":"P", "x":14, "y":1}, | ||
113 | {"label":"[{", "x":15, "y":1}, | ||
114 | {"label":"]}", "x":16, "y":1}, | ||
115 | {"label":"\\|", "x":17, "y":1, "w":1.5}, | ||
116 | |||
117 | {"label":"Delete", "x":0, "y":2}, | ||
118 | {"label":"Caps Lock", "x":1.5, "y":2, "w":1.75}, | ||
119 | {"label":"A", "x":3.25, "y":2}, | ||
120 | {"label":"S", "x":4.25, "y":2}, | ||
121 | {"label":"D", "x":5.25, "y":2}, | ||
122 | {"label":"F", "x":6.25, "y":2}, | ||
123 | {"label":"G", "x":7.25, "y":2}, | ||
124 | {"label":"H", "x":10.25, "y":2}, | ||
125 | {"label":"J", "x":11.25, "y":2}, | ||
126 | {"label":"K", "x":12.25, "y":2}, | ||
127 | {"label":"L", "x":13.25, "y":2}, | ||
128 | {"label":";:", "x":14.25, "y":2}, | ||
129 | {"label":"'\"", "x":15.25, "y":2}, | ||
130 | {"label":"Enter", "x":16.25, "y":2, "w":2.25}, | ||
131 | |||
132 | {"label":"Shift", "x":1.5, "y":3, "w":2.25}, | ||
133 | {"label":"Z", "x":3.75, "y":3}, | ||
134 | {"label":"X", "x":4.75, "y":3}, | ||
135 | {"label":"C", "x":5.75, "y":3}, | ||
136 | {"label":"V", "x":6.75, "y":3}, | ||
137 | {"label":"B", "x":7.75, "y":3}, | ||
138 | {"label":"B", "x":9.75, "y":3}, | ||
139 | {"label":"N", "x":10.75, "y":3}, | ||
140 | {"label":"M", "x":11.75, "y":3}, | ||
141 | {"label":",<", "x":12.75, "y":3}, | ||
142 | {"label":".>", "x":13.75, "y":3}, | ||
143 | {"label":"/?", "x":14.75, "y":3}, | ||
144 | {"label":"Shift", "x":15.75, "y":3, "w":1.75}, | ||
145 | {"label":"Up", "x":17.5, "y":3}, | ||
146 | |||
147 | {"label":"Ctrl", "x":1.5, "y":4, "w":1.5}, | ||
148 | {"label":"Alt", "x":4.5, "y":4, "w":1.5}, | ||
149 | {"label":"Space", "x":6, "y":4, "w":2.25}, | ||
150 | {"label":"Fn", "x":8.25, "y":4}, | ||
151 | {"label":"Space", "x":9.75, "y":4, "w":2.75}, | ||
152 | {"label":"Alt", "x":12.5, "y":4, "w":1.5}, | ||
153 | {"label":"Ctrl", "x":15, "y":4, "w":1.5}, | ||
154 | {"label":"Left", "x":16.5, "y":4}, | ||
155 | {"label":"Down", "x":17.5, "y":4}, | ||
156 | {"label":"Right", "x":18.5, "y":4} | ||
157 | ] | ||
158 | } | ||
159 | } | ||
160 | } | ||
diff --git a/keyboards/chalice/keymaps/default/keymap.c b/keyboards/chalice/keymaps/default/keymap.c new file mode 100644 index 000000000..c33ebfabd --- /dev/null +++ b/keyboards/chalice/keymaps/default/keymap.c | |||
@@ -0,0 +1,55 @@ | |||
1 | /* Copyright 2020 null-ll | ||
2 | * Copyright 2021 Jels, Josh Johnson | ||
3 | * | ||
4 | * This program is free software: you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License as published by | ||
6 | * the Free Software Foundation, either version 2 of the License, or | ||
7 | * (at your option) any later version. | ||
8 | * | ||
9 | * This program is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU General Public License | ||
15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | |||
18 | #include QMK_KEYBOARD_H | ||
19 | |||
20 | |||
21 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
22 | |||
23 | [0] = LAYOUT_default( | ||
24 | KC_ESC, 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, | ||
25 | KC_INS, 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, | ||
26 | KC_DEL, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
27 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, | ||
28 | KC_LCTL, KC_LALT, KC_SPC, MO(1), KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT | ||
29 | ), | ||
30 | |||
31 | |||
32 | [1] = LAYOUT_default( | ||
33 | RESET, _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, | ||
34 | _______, _______, RGB_TOG, RGB_HUD, RGB_HUI, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
35 | _______, _______, RGB_MOD, RGB_SAD, RGB_SAI, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
36 | _______, RGB_RMOD,RGB_VAD, RGB_VAI, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGUP, | ||
37 | _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END | ||
38 | ), | ||
39 | |||
40 | [2] = LAYOUT_default( | ||
41 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
42 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
43 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
44 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
45 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
46 | ), | ||
47 | |||
48 | [3] = LAYOUT_default( | ||
49 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
50 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
51 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
52 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
53 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
54 | ) | ||
55 | }; \ No newline at end of file | ||
diff --git a/keyboards/chalice/keymaps/via/keymap.c b/keyboards/chalice/keymaps/via/keymap.c new file mode 100644 index 000000000..c33ebfabd --- /dev/null +++ b/keyboards/chalice/keymaps/via/keymap.c | |||
@@ -0,0 +1,55 @@ | |||
1 | /* Copyright 2020 null-ll | ||
2 | * Copyright 2021 Jels, Josh Johnson | ||
3 | * | ||
4 | * This program is free software: you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License as published by | ||
6 | * the Free Software Foundation, either version 2 of the License, or | ||
7 | * (at your option) any later version. | ||
8 | * | ||
9 | * This program is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU General Public License | ||
15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | |||
18 | #include QMK_KEYBOARD_H | ||
19 | |||
20 | |||
21 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
22 | |||
23 | [0] = LAYOUT_default( | ||
24 | KC_ESC, 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, | ||
25 | KC_INS, 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, | ||
26 | KC_DEL, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
27 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, | ||
28 | KC_LCTL, KC_LALT, KC_SPC, MO(1), KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT | ||
29 | ), | ||
30 | |||
31 | |||
32 | [1] = LAYOUT_default( | ||
33 | RESET, _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, | ||
34 | _______, _______, RGB_TOG, RGB_HUD, RGB_HUI, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
35 | _______, _______, RGB_MOD, RGB_SAD, RGB_SAI, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
36 | _______, RGB_RMOD,RGB_VAD, RGB_VAI, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGUP, | ||
37 | _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END | ||
38 | ), | ||
39 | |||
40 | [2] = LAYOUT_default( | ||
41 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
42 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
43 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
44 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
45 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
46 | ), | ||
47 | |||
48 | [3] = LAYOUT_default( | ||
49 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
50 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
51 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
52 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
53 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
54 | ) | ||
55 | }; \ No newline at end of file | ||
diff --git a/keyboards/chalice/keymaps/via/rules.mk b/keyboards/chalice/keymaps/via/rules.mk new file mode 100644 index 000000000..036bd6d1c --- /dev/null +++ b/keyboards/chalice/keymaps/via/rules.mk | |||
@@ -0,0 +1 @@ | |||
VIA_ENABLE = yes \ No newline at end of file | |||
diff --git a/keyboards/chalice/readme.md b/keyboards/chalice/readme.md new file mode 100644 index 000000000..ebfaa3cbd --- /dev/null +++ b/keyboards/chalice/readme.md | |||
@@ -0,0 +1,25 @@ | |||
1 | # Chalice | ||
2 | |||
3 | A Cheap Alice, powered by a Pro-Micro | ||
4 | |||
5 | * Keyboard Maintainer: [CustomKBD](https://github.com/customkbd/) | ||
6 | * Hardware Supported: Pro-Micro (or equivalent - Sea Micro, Elite-C etc.) | ||
7 | * Hardware Availability: [CustomKBD](https://customkbd.com/products/chalice-pre-order) | ||
8 | |||
9 | Make example for this keyboard (after setting up your build environment): | ||
10 | |||
11 | make chalice:default | ||
12 | |||
13 | Flashing example for this keyboard: | ||
14 | |||
15 | make chalice:default:flash | ||
16 | |||
17 | ## Bootloader | ||
18 | |||
19 | Enter the bootloader in 3 ways: | ||
20 | |||
21 | * **Bootmagic reset**: Hold down Escape and plug in the keyboard. | ||
22 | * **Physical reset button**: Briefly press the reset button below the pro-micro. | ||
23 | * **Keycode in layout**: The `RESET` key can be found by holding `FUNC` in between the space bars and pressing `ESC`. | ||
24 | |||
25 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). | ||
diff --git a/keyboards/chalice/rules.mk b/keyboards/chalice/rules.mk new file mode 100644 index 000000000..85eec9079 --- /dev/null +++ b/keyboards/chalice/rules.mk | |||
@@ -0,0 +1,18 @@ | |||
1 | # MCU name | ||
2 | MCU = atmega32u4 | ||
3 | |||
4 | # Bootloader selection | ||
5 | BOOTLOADER = atmel-dfu | ||
6 | |||
7 | # Build Options | ||
8 | # change yes to no to disable | ||
9 | # | ||
10 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
11 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
13 | CONSOLE_ENABLE = no # Console for debug | ||
14 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
15 | NKRO_ENABLE = yes # Enable N-Key Rollover | ||
16 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
17 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
18 | AUDIO_ENABLE = no # Audio output | ||