summaryrefslogtreecommitdiffstats
path: root/keyboards/afternoonlabs/gust
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-01-30 03:38:45 +0000
committerQMK Bot <hello@qmk.fm>2021-01-30 03:38:45 +0000
commit3780ab3fcd4888cba4852158e11c495fc9809306 (patch)
tree62b67574b902d15caa739fe5637b2150a70efd1b /keyboards/afternoonlabs/gust
parent8bcac0b72686bef039804048e10a0024d76d16c4 (diff)
parent42045f5b173fc50c61b8d033dae58848eeeed869 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/afternoonlabs/gust')
-rw-r--r--keyboards/afternoonlabs/gust/config.h22
-rw-r--r--keyboards/afternoonlabs/gust/gust.c17
-rw-r--r--keyboards/afternoonlabs/gust/gust.h21
-rw-r--r--keyboards/afternoonlabs/gust/keymaps/default/keymap.c34
-rw-r--r--keyboards/afternoonlabs/gust/keymaps/default/readme.md5
-rw-r--r--keyboards/afternoonlabs/gust/rev1/config.h41
-rw-r--r--keyboards/afternoonlabs/gust/rev1/info.json38
-rw-r--r--keyboards/afternoonlabs/gust/rev1/readme.md15
-rw-r--r--keyboards/afternoonlabs/gust/rev1/rev1.c17
-rw-r--r--keyboards/afternoonlabs/gust/rev1/rev1.h30
-rw-r--r--keyboards/afternoonlabs/gust/rev1/rules.mk22
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 0000000000..48331fa076
--- /dev/null
+++ b/keyboards/afternoonlabs/gust/config.h
@@ -0,0 +1,22 @@
+/* Copyright 2021 eithanshavit
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#pragma once
+
+#include "config_common.h"
+
+#define NO_ACTION_MACRO
+#define NO_ACTION_FUNCTION
diff --git a/keyboards/afternoonlabs/gust/gust.c b/keyboards/afternoonlabs/gust/gust.c
new file mode 100644
index 0000000000..ee2a9fa5ca
--- /dev/null
+++ b/keyboards/afternoonlabs/gust/gust.c
@@ -0,0 +1,17 @@
+/* Copyright 2021 eithanshavit
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include "gust.h"
diff --git a/keyboards/afternoonlabs/gust/gust.h b/keyboards/afternoonlabs/gust/gust.h
new file mode 100644
index 0000000000..886dc3786f
--- /dev/null
+++ b/keyboards/afternoonlabs/gust/gust.h
@@ -0,0 +1,21 @@
+/* Copyright 2021 eithanshavit
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#pragma once
+
+#ifdef KEYBOARD_afternoonlabs_gust_rev1
+# include "rev1.h"
+#endif
diff --git a/keyboards/afternoonlabs/gust/keymaps/default/keymap.c b/keyboards/afternoonlabs/gust/keymaps/default/keymap.c
new file mode 100644
index 0000000000..33bd13f860
--- /dev/null
+++ b/keyboards/afternoonlabs/gust/keymaps/default/keymap.c
@@ -0,0 +1,34 @@
+/* Copyright 2021 eithanshavit
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include QMK_KEYBOARD_H
+
+enum layer_names {
+ _MAIN,
+};
+
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+
+ [_MAIN] = LAYOUT(
+ //┌─────────┬─────────┬─────────┐
+ KC_1, KC_2, KC_3,
+ //├─────────┼─────────┼─────────┤
+ KC_4, KC_5, KC_6
+ //└─────────┴─────────┴─────────┘
+ )
+
+};
diff --git a/keyboards/afternoonlabs/gust/keymaps/default/readme.md b/keyboards/afternoonlabs/gust/keymaps/default/readme.md
new file mode 100644
index 0000000000..290eae23e4
--- /dev/null
+++ b/keyboards/afternoonlabs/gust/keymaps/default/readme.md
@@ -0,0 +1,5 @@
+# Default Gust Layout
+
+![Gust Layout Image](https://i.imgur.com/S94jViT.jpeg)
+
+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 0000000000..646f21dcc5
--- /dev/null
+++ b/keyboards/afternoonlabs/gust/rev1/config.h
@@ -0,0 +1,41 @@
+/* Copyright 2021 eithanshavit
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#pragma once
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0x616C
+#define PRODUCT_ID 0x0002
+#define DEVICE_VER 0x0001
+#define MANUFACTURER AfternoonLabs
+#define PRODUCT Gust
+
+/* key matrix size */
+// Rows are doubled-up
+#define MATRIX_ROWS 2
+#define MATRIX_COLS 3
+
+// wiring of each half
+#define MATRIX_ROW_PINS { F5, F4 }
+#define MATRIX_COL_PINS { D1, D2, D3 }
+
+/* Set 0 if debouncing isn't needed */
+#define DEBOUNCE 5
+
+#define DIODE_DIRECTION COL2ROW
+
+#define BOOTMAGIC_LITE_ROW 0
+#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 0000000000..376cb265b6
--- /dev/null
+++ b/keyboards/afternoonlabs/gust/rev1/info.json
@@ -0,0 +1,38 @@
+{
+ "keyboard_name": "Gust",
+ "url": "afternoonlabs.com/breeze",
+ "productId": "0x0002",
+ "maintainer": "eithanshavit",
+ "width": 3,
+ "height": 2,
+ "layouts": {
+ "LAYOUT": {
+ "layout": [
+ {
+ "x": 0,
+ "y": 0
+ },
+ {
+ "x": 1,
+ "y": 0
+ },
+ {
+ "x": 2,
+ "y": 0
+ },
+ {
+ "x": 0,
+ "y": 1
+ },
+ {
+ "x": 1,
+ "y": 1
+ },
+ {
+ "x": 2,
+ "y": 1
+ }
+ ]
+ }
+ }
+}
diff --git a/keyboards/afternoonlabs/gust/rev1/readme.md b/keyboards/afternoonlabs/gust/rev1/readme.md
new file mode 100644
index 0000000000..f72e5cc6b9
--- /dev/null
+++ b/keyboards/afternoonlabs/gust/rev1/readme.md
@@ -0,0 +1,15 @@
+# Gust
+
+![Gust](https://i.imgur.com/S94jViT.jpeg)
+
+Gust Macro Board is a simple 6 key cluster that comes as a free bonus with the [Breeze Split Keyboard](https://afternoonlabs.com/breeze).
+
+* Keyboard Maintainer: [Eithan Shavit](https://github.com/eithanshavit)
+* Hardware Supported: Gust Rev1 PCB
+* Hardware Availability: Coming soon
+
+Make example for this keyboard (after setting up your build environment):
+
+ make afternoonlabs/gust/rev1:default
+
+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 0000000000..ee2a9fa5ca
--- /dev/null
+++ b/keyboards/afternoonlabs/gust/rev1/rev1.c
@@ -0,0 +1,17 @@
+/* Copyright 2021 eithanshavit
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include "gust.h"
diff --git a/keyboards/afternoonlabs/gust/rev1/rev1.h b/keyboards/afternoonlabs/gust/rev1/rev1.h
new file mode 100644
index 0000000000..97f75cef80
--- /dev/null
+++ b/keyboards/afternoonlabs/gust/rev1/rev1.h
@@ -0,0 +1,30 @@
+/* Copyright 2021 eithanshavit
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#pragma once
+
+#include "gust.h"
+
+#include "quantum.h"
+
+#define LAYOUT( \
+ M00, M01, M02, \
+ M10, M11, M12 \
+) \
+{ \
+ { M00, M01, M02 }, \
+ { M10, M11, M12 } \
+}
diff --git a/keyboards/afternoonlabs/gust/rev1/rules.mk b/keyboards/afternoonlabs/gust/rev1/rules.mk
new file mode 100644
index 0000000000..eb0a77dced
--- /dev/null
+++ b/keyboards/afternoonlabs/gust/rev1/rules.mk
@@ -0,0 +1,22 @@
+# MCU name
+MCU = atmega32u4
+
+# Bootloader selection
+BOOTLOADER = caterina
+
+# Build Options
+# change yes to no to disable
+#
+BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
+MOUSEKEY_ENABLE = no # Mouse keys
+EXTRAKEY_ENABLE = no # Audio control and System control
+CONSOLE_ENABLE = no # Console for debug
+COMMAND_ENABLE = no # Commands for debug and configuration
+# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
+SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
+# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
+NKRO_ENABLE = no # USB Nkey Rollover
+BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
+RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
+BLUETOOTH_ENABLE = no # Enable Bluetooth
+AUDIO_ENABLE = no # Audio output