diff options
| author | Josh Johnson <josh@joshajohnson.com> | 2021-11-13 03:37:54 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-12 08:37:54 -0800 |
| commit | 051bde9c63cbfa5c5fbebc53daa59ce30fb0cebd (patch) | |
| tree | d72e4b82fc38459017e3277bd0ea0e1c6871b65b | |
| parent | 7c2b2c81b53d055c66a15bd9ced92f548ca28ad6 (diff) | |
| download | qmk_firmware-051bde9c63cbfa5c5fbebc53daa59ce30fb0cebd.tar.gz qmk_firmware-051bde9c63cbfa5c5fbebc53daa59ce30fb0cebd.zip | |
[Keyboard] Add Chalice Support (#15106)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
| -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 | 79 | ||||
| -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 | 21 |
9 files changed, 380 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..a0bc0026f --- /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 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, \ | ||
| 26 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, \ | ||
| 27 | K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, \ | ||
| 28 | K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K214, \ | ||
| 29 | K401, K402, K404, K406, K408, K410, K411, K412, K413, K314 \ | ||
| 30 | ) { \ | ||
| 31 | { K000, K002, K004, K006, K008, K010, K012 }, \ | ||
| 32 | { K001, K003, K005, K007, K009, K011, K013 }, \ | ||
| 33 | { K100, K102, K104, K106, K108, K110, K112 }, \ | ||
| 34 | { K101, K103, K105, K107, K109, K111, K113 }, \ | ||
| 35 | { K200, K202, K204, K206, K208, K210, K014 }, \ | ||
| 36 | { K201, K203, K205, K207, K209, K211, K114 }, \ | ||
| 37 | { K301, K303, K305, K307, K309, K311, K212 }, \ | ||
| 38 | { K302, K304, K306, K308, K310, K312, K213 }, \ | ||
| 39 | { K401, ____, K404, K408, K411, K413, K313 }, \ | ||
| 40 | { ____, K402, K406, K410, K412, K314, K214 } \ | ||
| 41 | } | ||
| 42 | |||
| 43 | #define LAYOUT_split_bs( \ | ||
| 44 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K403, \ | ||
| 45 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, \ | ||
| 46 | K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, \ | ||
| 47 | K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K214, \ | ||
| 48 | K401, K402, K404, K406, K408, K410, K411, K412, K413, K314 \ | ||
| 49 | ) { \ | ||
| 50 | { K000, K002, K004, K006, K008, K010, K012 }, \ | ||
| 51 | { K001, K003, K005, K007, K009, K011, K013 }, \ | ||
| 52 | { K100, K102, K104, K106, K108, K110, K112 }, \ | ||
| 53 | { K101, K103, K105, K107, K109, K111, K113 }, \ | ||
| 54 | { K200, K202, K204, K206, K208, K210, K014 }, \ | ||
| 55 | { K201, K203, K205, K207, K209, K211, K114 }, \ | ||
| 56 | { K301, K303, K305, K307, K309, K311, K212 }, \ | ||
| 57 | { K302, K304, K306, K308, K310, K312, K213 }, \ | ||
| 58 | { K401, K403, K404, K408, K411, K413, K313 }, \ | ||
| 59 | { ____, K402, K406, K410, K412, K314, K214 } \ | ||
| 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..68bd710a3 --- /dev/null +++ b/keyboards/chalice/info.json | |||
| @@ -0,0 +1,79 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Chalice", | ||
| 3 | "url": "https://customkbd.com/products/chalice-pre-order", | ||
| 4 | "maintainer": "CustomKBD", | ||
| 5 | "layouts": { | ||
| 6 | "LAYOUT_default": { | ||
| 7 | "layout": [ | ||
| 8 | {"label":"Esc", "x":0, "y":0}, | ||
| 9 | {"label":"~", "x":1.5, "y":0}, | ||
| 10 | {"label":"!", "x":2.5, "y":0}, | ||
| 11 | {"label":"@", "x":3.5, "y":0}, | ||
| 12 | {"label":"#", "x":4.5, "y":0}, | ||
| 13 | {"label":"$", "x":5.5, "y":0}, | ||
| 14 | {"label":"%", "x":6.5, "y":0}, | ||
| 15 | {"label":"^", "x":7.5, "y":0}, | ||
| 16 | {"label":"&", "x":10.5, "y":0}, | ||
| 17 | {"label":"*", "x":11.5, "y":0}, | ||
| 18 | {"label":"(", "x":12.5, "y":0}, | ||
| 19 | {"label":")", "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 | {"label":"Tab", "x":1.5, "y":1, "w":1.5}, | ||
| 24 | {"label":"Q", "x":3, "y":1}, | ||
| 25 | {"label":"W", "x":4, "y":1}, | ||
| 26 | {"label":"E", "x":5, "y":1}, | ||
| 27 | {"label":"R", "x":6, "y":1}, | ||
| 28 | {"label":"T", "x":7, "y":1}, | ||
| 29 | {"label":"Y", "x":10, "y":1}, | ||
| 30 | {"label":"U", "x":11, "y":1}, | ||
| 31 | {"label":"I", "x":12, "y":1}, | ||
| 32 | {"label":"O", "x":13, "y":1}, | ||
| 33 | {"label":"P", "x":14, "y":1}, | ||
| 34 | {"label":"{", "x":15, "y":1}, | ||
| 35 | {"label":"}", "x":16, "y":1}, | ||
| 36 | {"label":"|", "x":17, "y":1, "w":1.5}, | ||
| 37 | {"label":"Mute", "x":19, "y":0.5}, | ||
| 38 | {"label":"Delete", "x":0, "y":2}, | ||
| 39 | {"label":"Caps Lock", "x":1.5, "y":2, "w":1.75}, | ||
| 40 | {"label":"A", "x":3.25, "y":2}, | ||
| 41 | {"label":"S", "x":4.25, "y":2}, | ||
| 42 | {"label":"D", "x":5.25, "y":2}, | ||
| 43 | {"label":"F", "x":6.25, "y":2}, | ||
| 44 | {"label":"G", "x":7.25, "y":2}, | ||
| 45 | {"label":"H", "x":10.25, "y":2}, | ||
| 46 | {"label":"J", "x":11.25, "y":2}, | ||
| 47 | {"label":"K", "x":12.25, "y":2}, | ||
| 48 | {"label":"L", "x":13.25, "y":2}, | ||
| 49 | {"label":":", "x":14.25, "y":2}, | ||
| 50 | {"label":"\"", "x":15.25, "y":2}, | ||
| 51 | {"label":"Enter", "x":16.25, "y":2, "w":2.25}, | ||
| 52 | {"label":"Shift", "x":1.5, "y":3, "w":2.25}, | ||
| 53 | {"label":"Z", "x":3.75, "y":3}, | ||
| 54 | {"label":"X", "x":4.75, "y":3}, | ||
| 55 | {"label":"C", "x":5.75, "y":3}, | ||
| 56 | {"label":"V", "x":6.75, "y":3}, | ||
| 57 | {"label":"B", "x":7.75, "y":3}, | ||
| 58 | {"label":"B", "x":9.75, "y":3}, | ||
| 59 | {"label":"N", "x":10.75, "y":3}, | ||
| 60 | {"label":"M", "x":11.75, "y":3}, | ||
| 61 | {"label":"<", "x":12.75, "y":3}, | ||
| 62 | {"label":">", "x":13.75, "y":3}, | ||
| 63 | {"label":"?", "x":14.75, "y":3}, | ||
| 64 | {"label":"Shift", "x":15.75, "y":3, "w":1.75}, | ||
| 65 | {"label":"Up", "x":17.75, "y":3.25}, | ||
| 66 | {"label":"Ctrl", "x":1.5, "y":4, "w":1.5}, | ||
| 67 | {"label":"Alt", "x":4.5, "y":4, "w":1.5}, | ||
| 68 | {"label":"Space", "x":6, "y":4, "w":2}, | ||
| 69 | {"label":"Fn", "x":8, "y":4}, | ||
| 70 | {"label":"Space", "x":9.75, "y":4, "w":2.75}, | ||
| 71 | {"label":"Alt", "x":12.5, "y":4, "w":1.5}, | ||
| 72 | {"label":"Ctrl", "x":15, "y":4, "w":1.5}, | ||
| 73 | {"label":"Left", "x":16.75, "y":4.25}, | ||
| 74 | {"label":"Down", "x":17.75, "y":4.25}, | ||
| 75 | {"label":"Right", "x":18.75, "y":4.25} | ||
| 76 | ] | ||
| 77 | } | ||
| 78 | } | ||
| 79 | } | ||
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..cf5d2e685 --- /dev/null +++ b/keyboards/chalice/rules.mk | |||
| @@ -0,0 +1,21 @@ | |||
| 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 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 18 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
| 19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 20 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
| 21 | AUDIO_ENABLE = no # Audio output | ||
