diff options
| author | evanmcook <42785294+evanmcook@users.noreply.github.com> | 2022-02-21 12:11:23 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-21 09:11:23 -0800 |
| commit | 0b21fbc37b784db576adfa46aea6ef7237c7b62e (patch) | |
| tree | 9af069aba4e6bca5d14ff8d055a771871aa649fc /keyboards | |
| parent | 7e4f74d6897c5c34be084317a3647f974fdd4e71 (diff) | |
| download | qmk_firmware-0b21fbc37b784db576adfa46aea6ef7237c7b62e.tar.gz qmk_firmware-0b21fbc37b784db576adfa46aea6ef7237c7b62e.zip | |
[Keyboard] add evancookaudio sleepingdinosaur (#16320)
Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat (limited to 'keyboards')
7 files changed, 221 insertions, 0 deletions
diff --git a/keyboards/evancookaudio/sleepingdinosaur/config.h b/keyboards/evancookaudio/sleepingdinosaur/config.h new file mode 100644 index 000000000..4412e9eb6 --- /dev/null +++ b/keyboards/evancookaudio/sleepingdinosaur/config.h | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | /* Copyright 2022 evan cook <evan@evancook.audio> | ||
| 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 "config_common.h" | ||
| 20 | |||
| 21 | /* USB Device descriptor parameter */ | ||
| 22 | #define VENDOR_ID 0x636F | ||
| 23 | #define PRODUCT_ID 0x0002 | ||
| 24 | #define DEVICE_VER 0x0000 | ||
| 25 | #define MANUFACTURER evancook.audio | ||
| 26 | #define PRODUCT sleepingdinosaur | ||
| 27 | |||
| 28 | /* COL2ROW or ROW2COL */ | ||
| 29 | #define DIODE_DIRECTION COL2ROW | ||
| 30 | |||
| 31 | /* Set 0 if debouncing isn't needed */ | ||
| 32 | #define DEBOUNCE 5 | ||
| 33 | |||
| 34 | /* key matrix size */ | ||
| 35 | #define MATRIX_ROWS 5 | ||
| 36 | #define MATRIX_COLS 6 | ||
| 37 | |||
| 38 | /* key matrix pins */ | ||
| 39 | |||
| 40 | #define MATRIX_ROW_PINS {D0, D1, D4, C6, D7} | ||
| 41 | #define MATRIX_COL_PINS {F4, F5, F6, F7, B1, B3} | ||
| 42 | |||
| 43 | #define UNUSED_PINS {B2, B6, B7, D5, C7, F1, F0, B4, E6} | ||
| 44 | |||
diff --git a/keyboards/evancookaudio/sleepingdinosaur/info.json b/keyboards/evancookaudio/sleepingdinosaur/info.json new file mode 100644 index 000000000..2c21777d4 --- /dev/null +++ b/keyboards/evancookaudio/sleepingdinosaur/info.json | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "evancook.audio sleepingdinosaur", | ||
| 3 | "url": "https://evancook.audio/", | ||
| 4 | "maintainer": "evanmcook", | ||
| 5 | "layouts": { | ||
| 6 | "LAYOUT": { | ||
| 7 | "layout": [ | ||
| 8 | {"label":"1", "x":0, "y":0}, | ||
| 9 | {"label":"2", "x":1, "y":0}, | ||
| 10 | {"label":"3", "x":2, "y":0}, | ||
| 11 | {"label":"4", "x":3, "y":0}, | ||
| 12 | {"label":"5", "x":4, "y":0}, | ||
| 13 | {"label":"-", "x":5, "y":0}, | ||
| 14 | |||
| 15 | {"label":"6", "x":0, "y":1}, | ||
| 16 | {"label":"7", "x":1, "y":1}, | ||
| 17 | {"label":"8", "x":2, "y":1}, | ||
| 18 | {"label":"9", "x":3, "y":1}, | ||
| 19 | {"label":"0", "x":4, "y":1}, | ||
| 20 | {"label":"R", "x":5, "y":1}, | ||
| 21 | |||
| 22 | {"label":"/", "x":0, "y":2}, | ||
| 23 | {"label":"Q", "x":1, "y":2}, | ||
| 24 | {"label":"W", "x":2, "y":2}, | ||
| 25 | {"label":"E", "x":3, "y":2}, | ||
| 26 | {"label":"U", "x":4, "y":2}, | ||
| 27 | {"label":"V", "x":5, "y":2}, | ||
| 28 | |||
| 29 | {"label":"Enter", "x":0, "y":3, "h":2}, | ||
| 30 | {"label":"A", "x":1, "y":3}, | ||
| 31 | {"label":"S", "x":2, "y":3}, | ||
| 32 | {"label":"D", "x":3, "y":3}, | ||
| 33 | {"label":"Space", "x":4, "y":3, "h":2}, | ||
| 34 | {"label":"O", "x":5, "y":3}, | ||
| 35 | |||
| 36 | {"label":"Z", "x":1, "y":4}, | ||
| 37 | {"label":"X", "x":2, "y":4}, | ||
| 38 | {"label":"C", "x":3, "y":4}, | ||
| 39 | {"label":"N", "x":5, "y":4} | ||
| 40 | |||
| 41 | ] | ||
| 42 | } | ||
| 43 | } | ||
| 44 | } \ No newline at end of file | ||
diff --git a/keyboards/evancookaudio/sleepingdinosaur/keymaps/default/keymap.c b/keyboards/evancookaudio/sleepingdinosaur/keymaps/default/keymap.c new file mode 100644 index 000000000..94cbc390d --- /dev/null +++ b/keyboards/evancookaudio/sleepingdinosaur/keymaps/default/keymap.c | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | /* Copyright 2022 evan cook <evan@evancook.audio> | ||
| 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 | |||
| 20 | /* LAYER 0 | ||
| 21 | * ,-----------------------------------------------. | ||
| 22 | * | 1 | 2 | 3 | 4 | 5 | - | | ||
| 23 | * |-------+-------+-------|-------|-------|-------| | ||
| 24 | * | 6 | 7 | 8 | 9 | 0 | R | | ||
| 25 | * |-------+-------+-------|-------|-------|-------| | ||
| 26 | * | / | Q | W | E | U | V | | ||
| 27 | * -------+-------+-------|-------|-------|-------| | ||
| 28 | * | ENTER | A | S | D | SPACE | O | | ||
| 29 | * | |-------+-------+-------| |-------| | ||
| 30 | * | | Z | X | C | | N | | ||
| 31 | * ,-----------------------------------------------. | ||
| 32 | */ | ||
| 33 | [0] = LAYOUT( | ||
| 34 | KC_1, KC_2, KC_3, KC_4, KC_5, KC_MINS, | ||
| 35 | KC_6, KC_7, KC_8, KC_9, KC_0, KC_R, | ||
| 36 | KC_SLSH, KC_Q, KC_W, KC_E, KC_U, KC_V, | ||
| 37 | KC_ENT, KC_A, KC_S, KC_D, KC_SPC, KC_O, | ||
| 38 | KC_Z, KC_X, KC_C, KC_N | ||
| 39 | ) | ||
| 40 | }; | ||
diff --git a/keyboards/evancookaudio/sleepingdinosaur/readme.md b/keyboards/evancookaudio/sleepingdinosaur/readme.md new file mode 100644 index 000000000..064e4981f --- /dev/null +++ b/keyboards/evancookaudio/sleepingdinosaur/readme.md | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | # tenpad macropad | ||
| 2 | |||
| 3 | A 28 button macropad, in a format that is closest to a 5x6 grid, designed by evan cook | ||
| 4 | [Default Layout](https://raw.githubusercontent.com/evanmcook/sleepingdinosaur/main/images/layouts/sleepingdinosaurdefault.jpg) | ||
| 5 | |||
| 6 | * Keyboard Maintainer: [evan cook](https://github.com/evanmcook/) | ||
| 7 | * Hardware Supported: sleepingdinosaur Macropad PCB | ||
| 8 | * Hardware Availability: [tenpad Github](https://github.com/evanmcook/sleepingdinosaur) | ||
| 9 | |||
| 10 | Make example for this keyboard (after setting up your build environment): | ||
| 11 | |||
| 12 | make evancookaudio/sleepingdinosaur:default | ||
| 13 | |||
| 14 | 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). | ||
| 15 | |||
| 16 | ## Enter the bootloader: | ||
| 17 | * **Physical reset button**: On the underside of the board, near the USB connector and microcontroller, press and hold the small button labeled reset for more than one second to enter the bootloader. \ No newline at end of file | ||
diff --git a/keyboards/evancookaudio/sleepingdinosaur/rules.mk b/keyboards/evancookaudio/sleepingdinosaur/rules.mk new file mode 100644 index 000000000..6cf6d9358 --- /dev/null +++ b/keyboards/evancookaudio/sleepingdinosaur/rules.mk | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = caterina | ||
| 6 | |||
| 7 | # Build Options | ||
| 8 | # change yes to no to disable | ||
| 9 | # | ||
| 10 | BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite | ||
| 11 | MOUSEKEY_ENABLE = no # Mouse keys | ||
| 12 | EXTRAKEY_ENABLE = no # Audio control and System control | ||
| 13 | CONSOLE_ENABLE = yes # Console for debug | ||
| 14 | COMMAND_ENABLE = yes # 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 | ||
diff --git a/keyboards/evancookaudio/sleepingdinosaur/sleepingdinosaur.c b/keyboards/evancookaudio/sleepingdinosaur/sleepingdinosaur.c new file mode 100644 index 000000000..814275e3f --- /dev/null +++ b/keyboards/evancookaudio/sleepingdinosaur/sleepingdinosaur.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* Copyright 2022 evan cook <evan@evancook.audio> | ||
| 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 "sleepingdinosaur.h" | ||
diff --git a/keyboards/evancookaudio/sleepingdinosaur/sleepingdinosaur.h b/keyboards/evancookaudio/sleepingdinosaur/sleepingdinosaur.h new file mode 100644 index 000000000..9672fca28 --- /dev/null +++ b/keyboards/evancookaudio/sleepingdinosaur/sleepingdinosaur.h | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | /* Copyright 2022 evan cook <evan@evancook.audio> | ||
| 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 | #pragma once | ||
| 17 | |||
| 18 | #include "quantum.h" | ||
| 19 | |||
| 20 | /* This is a shortcut to help you visually see your layout. | ||
| 21 | * | ||
| 22 | * The first section contains all of the arguments representing the physical | ||
| 23 | * layout of the board and position of the keys. | ||
| 24 | * | ||
| 25 | * The second converts the arguments into a two-dimensional array which | ||
| 26 | * represents the switch matrix. | ||
| 27 | */ | ||
| 28 | #define LAYOUT(\ | ||
| 29 | k00, k01, k02, k03, k04, k05, \ | ||
| 30 | k06, k07, k08, k09, k10, k11, \ | ||
| 31 | k12, k13, k14, k15, k16, k17, \ | ||
| 32 | k18, k19, k20, k21, k22, k23, \ | ||
| 33 | k24, k25, k26, k27 \ | ||
| 34 | ) \ | ||
| 35 | { \ | ||
| 36 | {k00, k01, k02, k03, k04, k05},\ | ||
| 37 | {k06, k07, k08, k09, k10, k11},\ | ||
| 38 | {k12, k13, k14, k15, k16, k17},\ | ||
| 39 | {k18, k19, k20, k21, k22, k23},\ | ||
| 40 | {KC_NO, k24, k25, k26, KC_NO, k27},\ | ||
| 41 | } | ||
