diff options
| -rw-r--r-- | keyboards/afternoonlabs/gust/config.h | 22 | ||||
| -rw-r--r-- | keyboards/afternoonlabs/gust/gust.c | 17 | ||||
| -rw-r--r-- | keyboards/afternoonlabs/gust/gust.h | 21 | ||||
| -rw-r--r-- | keyboards/afternoonlabs/gust/keymaps/default/keymap.c | 34 | ||||
| -rw-r--r-- | keyboards/afternoonlabs/gust/keymaps/default/readme.md | 5 | ||||
| -rw-r--r-- | keyboards/afternoonlabs/gust/rev1/config.h | 41 | ||||
| -rw-r--r-- | keyboards/afternoonlabs/gust/rev1/info.json | 38 | ||||
| -rw-r--r-- | keyboards/afternoonlabs/gust/rev1/readme.md | 15 | ||||
| -rw-r--r-- | keyboards/afternoonlabs/gust/rev1/rev1.c | 17 | ||||
| -rw-r--r-- | keyboards/afternoonlabs/gust/rev1/rev1.h | 30 | ||||
| -rw-r--r-- | keyboards/afternoonlabs/gust/rev1/rules.mk | 22 |
11 files changed, 262 insertions, 0 deletions
diff --git a/keyboards/afternoonlabs/gust/config.h b/keyboards/afternoonlabs/gust/config.h new file mode 100644 index 000000000..48331fa07 --- /dev/null +++ b/keyboards/afternoonlabs/gust/config.h | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | /* Copyright 2021 eithanshavit | ||
| 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 | #define NO_ACTION_MACRO | ||
| 22 | #define NO_ACTION_FUNCTION | ||
diff --git a/keyboards/afternoonlabs/gust/gust.c b/keyboards/afternoonlabs/gust/gust.c new file mode 100644 index 000000000..ee2a9fa5c --- /dev/null +++ b/keyboards/afternoonlabs/gust/gust.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* Copyright 2021 eithanshavit | ||
| 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 "gust.h" | ||
diff --git a/keyboards/afternoonlabs/gust/gust.h b/keyboards/afternoonlabs/gust/gust.h new file mode 100644 index 000000000..886dc3786 --- /dev/null +++ b/keyboards/afternoonlabs/gust/gust.h | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | /* Copyright 2021 eithanshavit | ||
| 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 | #ifdef KEYBOARD_afternoonlabs_gust_rev1 | ||
| 20 | # include "rev1.h" | ||
| 21 | #endif | ||
diff --git a/keyboards/afternoonlabs/gust/keymaps/default/keymap.c b/keyboards/afternoonlabs/gust/keymaps/default/keymap.c new file mode 100644 index 000000000..33bd13f86 --- /dev/null +++ b/keyboards/afternoonlabs/gust/keymaps/default/keymap.c | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | /* Copyright 2021 eithanshavit | ||
| 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 QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | enum layer_names { | ||
| 20 | _MAIN, | ||
| 21 | }; | ||
| 22 | |||
| 23 | |||
| 24 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 25 | |||
| 26 | [_MAIN] = LAYOUT( | ||
| 27 | //┌─────────┬─────────┬─────────┐ | ||
| 28 | KC_1, KC_2, KC_3, | ||
| 29 | //├─────────┼─────────┼─────────┤ | ||
| 30 | KC_4, KC_5, KC_6 | ||
| 31 | //└─────────┴─────────┴─────────┘ | ||
| 32 | ) | ||
| 33 | |||
| 34 | }; | ||
diff --git a/keyboards/afternoonlabs/gust/keymaps/default/readme.md b/keyboards/afternoonlabs/gust/keymaps/default/readme.md new file mode 100644 index 000000000..290eae23e --- /dev/null +++ b/keyboards/afternoonlabs/gust/keymaps/default/readme.md | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | # Default Gust Layout | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | This is the default layout for Gust Macro Board. | ||
diff --git a/keyboards/afternoonlabs/gust/rev1/config.h b/keyboards/afternoonlabs/gust/rev1/config.h new file mode 100644 index 000000000..646f21dcc --- /dev/null +++ b/keyboards/afternoonlabs/gust/rev1/config.h | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | /* Copyright 2021 eithanshavit | ||
| 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 | /* USB Device descriptor parameter */ | ||
| 20 | #define VENDOR_ID 0x616C | ||
| 21 | #define PRODUCT_ID 0x0002 | ||
| 22 | #define DEVICE_VER 0x0001 | ||
| 23 | #define MANUFACTURER AfternoonLabs | ||
| 24 | #define PRODUCT Gust | ||
| 25 | |||
| 26 | /* key matrix size */ | ||
| 27 | // Rows are doubled-up | ||
| 28 | #define MATRIX_ROWS 2 | ||
| 29 | #define MATRIX_COLS 3 | ||
| 30 | |||
| 31 | // wiring of each half | ||
| 32 | #define MATRIX_ROW_PINS { F5, F4 } | ||
| 33 | #define MATRIX_COL_PINS { D1, D2, D3 } | ||
| 34 | |||
| 35 | /* Set 0 if debouncing isn't needed */ | ||
| 36 | #define DEBOUNCE 5 | ||
| 37 | |||
| 38 | #define DIODE_DIRECTION COL2ROW | ||
| 39 | |||
| 40 | #define BOOTMAGIC_LITE_ROW 0 | ||
| 41 | #define BOOTMAGIC_LITE_COL 0 | ||
diff --git a/keyboards/afternoonlabs/gust/rev1/info.json b/keyboards/afternoonlabs/gust/rev1/info.json new file mode 100644 index 000000000..376cb265b --- /dev/null +++ b/keyboards/afternoonlabs/gust/rev1/info.json | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Gust", | ||
| 3 | "url": "afternoonlabs.com/breeze", | ||
| 4 | "productId": "0x0002", | ||
| 5 | "maintainer": "eithanshavit", | ||
| 6 | "width": 3, | ||
| 7 | "height": 2, | ||
| 8 | "layouts": { | ||
| 9 | "LAYOUT": { | ||
| 10 | "layout": [ | ||
| 11 | { | ||
| 12 | "x": 0, | ||
| 13 | "y": 0 | ||
| 14 | }, | ||
| 15 | { | ||
| 16 | "x": 1, | ||
| 17 | "y": 0 | ||
| 18 | }, | ||
| 19 | { | ||
| 20 | "x": 2, | ||
| 21 | "y": 0 | ||
| 22 | }, | ||
| 23 | { | ||
| 24 | "x": 0, | ||
| 25 | "y": 1 | ||
| 26 | }, | ||
| 27 | { | ||
| 28 | "x": 1, | ||
| 29 | "y": 1 | ||
| 30 | }, | ||
| 31 | { | ||
| 32 | "x": 2, | ||
| 33 | "y": 1 | ||
| 34 | } | ||
| 35 | ] | ||
| 36 | } | ||
| 37 | } | ||
| 38 | } | ||
diff --git a/keyboards/afternoonlabs/gust/rev1/readme.md b/keyboards/afternoonlabs/gust/rev1/readme.md new file mode 100644 index 000000000..f72e5cc6b --- /dev/null +++ b/keyboards/afternoonlabs/gust/rev1/readme.md | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | # Gust | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | Gust Macro Board is a simple 6 key cluster that comes as a free bonus with the [Breeze Split Keyboard](https://afternoonlabs.com/breeze). | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [Eithan Shavit](https://github.com/eithanshavit) | ||
| 8 | * Hardware Supported: Gust Rev1 PCB | ||
| 9 | * Hardware Availability: Coming soon | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make afternoonlabs/gust/rev1:default | ||
| 14 | |||
| 15 | 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/afternoonlabs/gust/rev1/rev1.c b/keyboards/afternoonlabs/gust/rev1/rev1.c new file mode 100644 index 000000000..ee2a9fa5c --- /dev/null +++ b/keyboards/afternoonlabs/gust/rev1/rev1.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* Copyright 2021 eithanshavit | ||
| 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 "gust.h" | ||
diff --git a/keyboards/afternoonlabs/gust/rev1/rev1.h b/keyboards/afternoonlabs/gust/rev1/rev1.h new file mode 100644 index 000000000..97f75cef8 --- /dev/null +++ b/keyboards/afternoonlabs/gust/rev1/rev1.h | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | /* Copyright 2021 eithanshavit | ||
| 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 "gust.h" | ||
| 20 | |||
| 21 | #include "quantum.h" | ||
| 22 | |||
| 23 | #define LAYOUT( \ | ||
| 24 | M00, M01, M02, \ | ||
| 25 | M10, M11, M12 \ | ||
| 26 | ) \ | ||
| 27 | { \ | ||
| 28 | { M00, M01, M02 }, \ | ||
| 29 | { M10, M11, M12 } \ | ||
| 30 | } | ||
diff --git a/keyboards/afternoonlabs/gust/rev1/rules.mk b/keyboards/afternoonlabs/gust/rev1/rules.mk new file mode 100644 index 000000000..eb0a77dce --- /dev/null +++ b/keyboards/afternoonlabs/gust/rev1/rules.mk | |||
| @@ -0,0 +1,22 @@ | |||
| 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 # Virtual DIP switch configuration | ||
| 11 | MOUSEKEY_ENABLE = no # Mouse keys | ||
| 12 | EXTRAKEY_ENABLE = no # 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 = no # USB Nkey Rollover | ||
| 19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 20 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 21 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
| 22 | AUDIO_ENABLE = no # Audio output | ||
