diff options
author | ILWrites <pikeeb@gmail.com> | 2021-12-29 13:57:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-29 02:57:40 -0800 |
commit | 88a8bdbb3aa3ee6c4eb443557bca0849f455fc03 (patch) | |
tree | 534ca2ab5c3533064c0e619b9acc11131f41789c | |
parent | dea23720e67d95278830a1172dac57a4e502a050 (diff) | |
download | qmk_firmware-88a8bdbb3aa3ee6c4eb443557bca0849f455fc03.tar.gz qmk_firmware-88a8bdbb3aa3ee6c4eb443557bca0849f455fc03.zip |
[Keyboard] Adding Charon keyboard to Charue family (#15190)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
-rw-r--r-- | keyboards/charue/charon/charon.c | 17 | ||||
-rw-r--r-- | keyboards/charue/charon/charon.h | 41 | ||||
-rw-r--r-- | keyboards/charue/charon/config.h | 43 | ||||
-rw-r--r-- | keyboards/charue/charon/info.json | 85 | ||||
-rw-r--r-- | keyboards/charue/charon/keymaps/debug/keymap.c | 76 | ||||
-rw-r--r-- | keyboards/charue/charon/keymaps/debug/readme.md | 1 | ||||
-rw-r--r-- | keyboards/charue/charon/keymaps/default/keymap.c | 40 | ||||
-rw-r--r-- | keyboards/charue/charon/keymaps/default/readme.md | 1 | ||||
-rw-r--r-- | keyboards/charue/charon/keymaps/via/keymap.c | 48 | ||||
-rw-r--r-- | keyboards/charue/charon/keymaps/via/readme.md | 1 | ||||
-rw-r--r-- | keyboards/charue/charon/keymaps/via/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/charue/charon/readme.md | 27 | ||||
-rw-r--r-- | keyboards/charue/charon/rules.mk | 18 |
13 files changed, 399 insertions, 0 deletions
diff --git a/keyboards/charue/charon/charon.c b/keyboards/charue/charon/charon.c new file mode 100644 index 000000000..2c4a518a3 --- /dev/null +++ b/keyboards/charue/charon/charon.c | |||
@@ -0,0 +1,17 @@ | |||
1 | /* Copyright 2021 Charue Design | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | |||
17 | #include "charon.h" | ||
diff --git a/keyboards/charue/charon/charon.h b/keyboards/charue/charon/charon.h new file mode 100644 index 000000000..e8738dda7 --- /dev/null +++ b/keyboards/charue/charon/charon.h | |||
@@ -0,0 +1,41 @@ | |||
1 | /* Copyright 2021 Charue Design | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | |||
17 | #pragma once | ||
18 | |||
19 | #include "quantum.h" | ||
20 | |||
21 | /* This is a shortcut to help you visually see your layout. | ||
22 | * | ||
23 | * The first section contains all of the arguments representing the physical | ||
24 | * layout of the board and position of the keys. | ||
25 | * | ||
26 | * The second converts the arguments into a two-dimensional array which | ||
27 | * represents the switch matrix. | ||
28 | */ | ||
29 | #define LAYOUT_all( \ | ||
30 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0e, k0f, \ | ||
31 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1e, k1f, \ | ||
32 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2e, \ | ||
33 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3e, k3f, \ | ||
34 | k40, k41, k42, k43, k45, k48, k4a, k4b, k4c, k4e, k4f \ | ||
35 | ) { \ | ||
36 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0e, k0f }, \ | ||
37 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1e, k1f }, \ | ||
38 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2e, KC_NO }, \ | ||
39 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3e, k3f }, \ | ||
40 | { k40, k41, k42, k43, KC_NO, k45, KC_NO, KC_NO, k48, KC_NO, k4a, k4b, k4c, k4e, k4f } \ | ||
41 | } | ||
diff --git a/keyboards/charue/charon/config.h b/keyboards/charue/charon/config.h new file mode 100644 index 000000000..4ee679f70 --- /dev/null +++ b/keyboards/charue/charon/config.h | |||
@@ -0,0 +1,43 @@ | |||
1 | /* | ||
2 | Copyright 2021 Charue Design | ||
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 | /* USB Device descriptor parameter */ | ||
23 | #define VENDOR_ID 0x4344 // CD for CharueDesign | ||
24 | #define PRODUCT_ID 0x4348 // CH for Charon | ||
25 | #define DEVICE_VER 0x0001 // Revision prototype | ||
26 | #define MANUFACTURER Charue Design | ||
27 | #define PRODUCT Charon | ||
28 | |||
29 | /* key matrix size */ | ||
30 | #define MATRIX_ROWS 5 | ||
31 | #define MATRIX_COLS 15 | ||
32 | |||
33 | /* Keyboard Matrix Assignments */ | ||
34 | #define MATRIX_ROW_PINS { B0, B1, B2, B3, C7 } | ||
35 | #define MATRIX_COL_PINS { D3, D5, B4, D7, D6, D4, F7, F6, F5, F4, F1, F0, B5, B6, C6 } | ||
36 | #define UNUSED_PINS { B7, D0, D1, D2 } | ||
37 | #define DIODE_DIRECTION COL2ROW | ||
38 | |||
39 | /* LED config */ | ||
40 | #define LED_CAPS_LOCK_PIN E6 | ||
41 | |||
42 | /* Set 0 if debouncing is not needed */ | ||
43 | #define DEBOUNCE 5 | ||
diff --git a/keyboards/charue/charon/info.json b/keyboards/charue/charon/info.json new file mode 100644 index 000000000..9702af08c --- /dev/null +++ b/keyboards/charue/charon/info.json | |||
@@ -0,0 +1,85 @@ | |||
1 | { | ||
2 | "keyboard_name": "Charon", | ||
3 | "url": "https://charue-design.com/products/charon", | ||
4 | "maintainer": "ILWrites", | ||
5 | "layouts": { | ||
6 | "LAYOUT_all": { | ||
7 | "layout": [ | ||
8 | {"x":0, "y":0}, | ||
9 | {"x":1, "y":0}, | ||
10 | {"x":2, "y":0}, | ||
11 | {"x":3, "y":0}, | ||
12 | {"x":4, "y":0}, | ||
13 | {"x":5, "y":0}, | ||
14 | {"x":6, "y":0}, | ||
15 | {"x":7, "y":0}, | ||
16 | {"x":8, "y":0}, | ||
17 | {"x":9, "y":0}, | ||
18 | {"x":10, "y":0}, | ||
19 | {"x":11, "y":0}, | ||
20 | {"x":12, "y":0}, | ||
21 | {"x":13, "y":0}, | ||
22 | {"x":14, "y":0}, | ||
23 | |||
24 | {"x":0, "y":1, "w":1.5}, | ||
25 | {"x":1.5, "y":1}, | ||
26 | {"x":2.5, "y":1}, | ||
27 | {"x":3.5, "y":1}, | ||
28 | {"x":4.5, "y":1}, | ||
29 | {"x":5.5, "y":1}, | ||
30 | {"x":6.5, "y":1}, | ||
31 | {"x":7.5, "y":1}, | ||
32 | {"x":8.5, "y":1}, | ||
33 | {"x":9.5, "y":1}, | ||
34 | {"x":10.5, "y":1}, | ||
35 | {"x":11.5, "y":1}, | ||
36 | {"x":12.5, "y":1}, | ||
37 | {"x":13.5, "y":1, "w":1.5}, | ||
38 | {"x":15, "y":1}, | ||
39 | |||
40 | {"x":0, "y":2, "w":1.75}, | ||
41 | {"x":1.75, "y":2}, | ||
42 | {"x":2.75, "y":2}, | ||
43 | {"x":3.75, "y":2}, | ||
44 | {"x":4.75, "y":2}, | ||
45 | {"x":5.75, "y":2}, | ||
46 | {"x":6.75, "y":2}, | ||
47 | {"x":7.75, "y":2}, | ||
48 | {"x":8.75, "y":2}, | ||
49 | {"x":9.75, "y":2}, | ||
50 | {"x":10.75, "y":2}, | ||
51 | {"x":11.75, "y":2}, | ||
52 | {"x":12.75, "y":2, "w":2.25}, | ||
53 | {"x":15, "y":2}, | ||
54 | |||
55 | {"x":0, "y":3, "w":1.25}, | ||
56 | {"x":1.25, "y":3}, | ||
57 | {"x":2.25, "y":3}, | ||
58 | {"x":3.25, "y":3}, | ||
59 | {"x":4.25, "y":3}, | ||
60 | {"x":5.25, "y":3}, | ||
61 | {"x":6.25, "y":3}, | ||
62 | {"x":7.25, "y":3}, | ||
63 | {"x":8.25, "y":3}, | ||
64 | {"x":9.25, "y":3}, | ||
65 | {"x":10.25, "y":3}, | ||
66 | {"x":11.25, "y":3}, | ||
67 | {"x":12.25, "y":3, "w":1.75}, | ||
68 | {"x":14, "y":3}, | ||
69 | {"x":15, "y":3}, | ||
70 | |||
71 | {"x":0, "y":4, "w":1.5}, | ||
72 | {"x":1.5, "y":4}, | ||
73 | {"x":2.5, "y":4, "w":1.5}, | ||
74 | {"x":4, "y":4}, | ||
75 | {"x":5, "y":4, "w":2.25}, | ||
76 | {"x":7.25, "y":4, "w":2.75}, | ||
77 | {"x":10, "y":4}, | ||
78 | {"x":11, "y":4, "w":1.5}, | ||
79 | {"x":13, "y":4}, | ||
80 | {"x":14, "y":4}, | ||
81 | {"x":15, "y":4} | ||
82 | ] | ||
83 | } | ||
84 | } | ||
85 | } | ||
diff --git a/keyboards/charue/charon/keymaps/debug/keymap.c b/keyboards/charue/charon/keymaps/debug/keymap.c new file mode 100644 index 000000000..8e8c045b8 --- /dev/null +++ b/keyboards/charue/charon/keymaps/debug/keymap.c | |||
@@ -0,0 +1,76 @@ | |||
1 | /* Copyright 2021 Charue Design | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #include QMK_KEYBOARD_H | ||
17 | |||
18 | // Defines names for use in layer keycodes and the keymap | ||
19 | enum layer_names { | ||
20 | _BASE, | ||
21 | _FN | ||
22 | }; | ||
23 | |||
24 | // Defines the keycodes used by our macros in process_record_user | ||
25 | enum custom_keycodes { | ||
26 | QMKBEST = SAFE_RANGE, | ||
27 | QMKURL | ||
28 | }; | ||
29 | |||
30 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
31 | /* Base */ | ||
32 | [_BASE] = LAYOUT_all( | ||
33 | KC_GESC, 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_GRV, KC_BSPC, | ||
34 | 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_VOLU, | ||
35 | 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, KC_VOLD, | ||
36 | KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_MUTE, | ||
37 | KC_LCTRL, KC_LGUI, KC_LALT, KC_LGUI, KC_SPC, KC_SPC, KC_RGUI, MO(_FN), KC_LEFT, KC_DOWN, KC_RIGHT | ||
38 | ), | ||
39 | [_FN] = LAYOUT_all( | ||
40 | RESET, 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_GRV, KC_BSPC, | ||
41 | 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_VOLU, | ||
42 | 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, KC_VOLD, | ||
43 | KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_MUTE, | ||
44 | KC_LCTRL, KC_LGUI, KC_LALT, QMKURL, KC_SPC, KC_SPC, QMKBEST, KC_TRNS, KC_LEFT, KC_DOWN, KC_RIGHT | ||
45 | ) | ||
46 | }; | ||
47 | |||
48 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
49 | switch (keycode) { | ||
50 | case QMKBEST: | ||
51 | if (record->event.pressed) { | ||
52 | // when keycode QMKBEST is pressed | ||
53 | SEND_STRING("QMK is the best thing ever!"); | ||
54 | } else { | ||
55 | // when keycode QMKBEST is released | ||
56 | } | ||
57 | break; | ||
58 | case QMKURL: | ||
59 | if (record->event.pressed) { | ||
60 | // when keycode QMKURL is pressed | ||
61 | SEND_STRING("https://qmk.fm/\n"); | ||
62 | } else { | ||
63 | // when keycode QMKURL is released | ||
64 | } | ||
65 | break; | ||
66 | }; | ||
67 | #ifdef CONSOLE_ENABLE | ||
68 | uprintf("KL: kc: 0x%04X, col: %u, row: %u, pressed: %b, time: %u, interrupt: %b, count: %u\n", keycode, record->event.key.col, record->event.key.row, record->event.pressed, record->event.time, record->tap.interrupted, record->tap.count); | ||
69 | #endif | ||
70 | return true; | ||
71 | } | ||
72 | |||
73 | void keyboard_post_init_user(void) { | ||
74 | debug_enable=true; | ||
75 | debug_matrix=true; | ||
76 | } | ||
diff --git a/keyboards/charue/charon/keymaps/debug/readme.md b/keyboards/charue/charon/keymaps/debug/readme.md new file mode 100644 index 000000000..b1b61bf15 --- /dev/null +++ b/keyboards/charue/charon/keymaps/debug/readme.md | |||
@@ -0,0 +1 @@ | |||
# The default keymap for charon | |||
diff --git a/keyboards/charue/charon/keymaps/default/keymap.c b/keyboards/charue/charon/keymaps/default/keymap.c new file mode 100644 index 000000000..cb16f8eee --- /dev/null +++ b/keyboards/charue/charon/keymaps/default/keymap.c | |||
@@ -0,0 +1,40 @@ | |||
1 | /* Copyright 2021 Charue Design | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #include QMK_KEYBOARD_H | ||
17 | |||
18 | // Defines names for use in layer keycodes and the keymap | ||
19 | enum layer_names { | ||
20 | _BASE, | ||
21 | _FN | ||
22 | }; | ||
23 | |||
24 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
25 | /* Base */ | ||
26 | [_BASE] = LAYOUT_all( | ||
27 | KC_GESC, 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_GRV, KC_BSPC, | ||
28 | 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_VOLU, | ||
29 | 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, KC_VOLD, | ||
30 | KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_MUTE, | ||
31 | KC_LCTRL, KC_LGUI, KC_LALT, KC_LGUI, KC_SPC, KC_SPC, KC_RGUI, MO(_FN), KC_LEFT, KC_DOWN, KC_RIGHT | ||
32 | ), | ||
33 | [_FN] = LAYOUT_all( | ||
34 | RESET, 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_GRV, KC_BSPC, | ||
35 | 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_VOLU, | ||
36 | 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, KC_VOLD, | ||
37 | KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_MUTE, | ||
38 | KC_LCTRL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_TRNS, KC_LEFT, KC_DOWN, KC_RIGHT | ||
39 | ) | ||
40 | }; | ||
diff --git a/keyboards/charue/charon/keymaps/default/readme.md b/keyboards/charue/charon/keymaps/default/readme.md new file mode 100644 index 000000000..b1b61bf15 --- /dev/null +++ b/keyboards/charue/charon/keymaps/default/readme.md | |||
@@ -0,0 +1 @@ | |||
# The default keymap for charon | |||
diff --git a/keyboards/charue/charon/keymaps/via/keymap.c b/keyboards/charue/charon/keymaps/via/keymap.c new file mode 100644 index 000000000..3eeb2af26 --- /dev/null +++ b/keyboards/charue/charon/keymaps/via/keymap.c | |||
@@ -0,0 +1,48 @@ | |||
1 | /* Copyright 2021 Charue Design | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #include QMK_KEYBOARD_H | ||
17 | |||
18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
19 | /* Base */ | ||
20 | [0] = LAYOUT_all( | ||
21 | KC_GESC, 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, | ||
22 | 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_VOLU, | ||
23 | 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, KC_VOLD, | ||
24 | KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_MUTE, | ||
25 | KC_LCTRL, KC_LGUI, KC_LALT, KC_LGUI, KC_SPC, KC_SPC, KC_RGUI, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT | ||
26 | ), | ||
27 | [1] = LAYOUT_all( | ||
28 | KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, | ||
29 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
30 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
31 | KC_TRNS, KC_TRNS, RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
32 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
33 | ), | ||
34 | [2] = LAYOUT_all( | ||
35 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
36 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
37 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
38 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
39 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
40 | ), | ||
41 | [3] = LAYOUT( | ||
42 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
43 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
44 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
45 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
46 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
47 | ) | ||
48 | }; | ||
diff --git a/keyboards/charue/charon/keymaps/via/readme.md b/keyboards/charue/charon/keymaps/via/readme.md new file mode 100644 index 000000000..f45f3c54b --- /dev/null +++ b/keyboards/charue/charon/keymaps/via/readme.md | |||
@@ -0,0 +1 @@ | |||
# The VIA keymap for charon | |||
diff --git a/keyboards/charue/charon/keymaps/via/rules.mk b/keyboards/charue/charon/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/charue/charon/keymaps/via/rules.mk | |||
@@ -0,0 +1 @@ | |||
VIA_ENABLE = yes | |||
diff --git a/keyboards/charue/charon/readme.md b/keyboards/charue/charon/readme.md new file mode 100644 index 000000000..1732d8a01 --- /dev/null +++ b/keyboards/charue/charon/readme.md | |||
@@ -0,0 +1,27 @@ | |||
1 | # Charon | ||
2 | |||
3 |  | ||
4 | |||
5 | A 65% with blocker Keyboard kit made and sold by Charue Design. [More info on charue-design.com](https://charue-design.com/) | ||
6 | |||
7 | * Keyboard Maintainer: [ILWrites](https://github.com/PiKeeb) | ||
8 | * Hardware Supported: [Charon PCB](https://charue-design.com/collections/charon/) | ||
9 | * Hardware Availability: [Charue Design](https://charue-design.com/) | ||
10 | |||
11 | Make example for this keyboard (after setting up your build environment): | ||
12 | |||
13 | make charue/charon:default | ||
14 | |||
15 | Flashing example for this keyboard: | ||
16 | |||
17 | make charue/charon:default:flash | ||
18 | |||
19 | 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). | ||
20 | |||
21 | ## Bootloader | ||
22 | |||
23 | Enter the bootloader in 3 ways: | ||
24 | |||
25 | * **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard | ||
26 | * **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead | ||
27 | * **Keycode in layout**: Press the key mapped to `RESET` if it is available | ||
diff --git a/keyboards/charue/charon/rules.mk b/keyboards/charue/charon/rules.mk new file mode 100644 index 000000000..d6d12ae0d --- /dev/null +++ b/keyboards/charue/charon/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 = no # Mouse keys | ||
12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
13 | CONSOLE_ENABLE = yes # Console for debug | ||
14 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
15 | NKRO_ENABLE = no # Enable N-Key Rollover | ||
16 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
17 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
18 | AUDIO_ENABLE = no # Audio output | ||