summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-08-13 18:21:40 +0000
committerQMK Bot <hello@qmk.fm>2021-08-13 18:21:40 +0000
commit8fea9722ddf235c3f675ce42802a8032a6eecadb (patch)
tree3bb9b97de6aa914f94f282b0c8a61ef02b0b09ff
parentceb428c9aa08e664887d9c059ada6d0f63b7b429 (diff)
parent0014c3237556b8c94bbf6d287d53a7b55534fa69 (diff)
Merge remote-tracking branch 'origin/master' into develop
-rw-r--r--keyboards/basketweave/keymaps/via/keymap.c66
-rw-r--r--keyboards/basketweave/keymaps/via/rules.mk2
-rw-r--r--keyboards/frooastboard/config.h66
-rw-r--r--keyboards/frooastboard/frooastboard.c17
-rw-r--r--keyboards/frooastboard/frooastboard.h27
-rw-r--r--keyboards/frooastboard/info.json44
-rw-r--r--keyboards/frooastboard/keymaps/default/keymap.c47
-rw-r--r--keyboards/frooastboard/keymaps/safe_mode/keymap.c43
-rw-r--r--keyboards/frooastboard/keymaps/via/config.h30
-rw-r--r--keyboards/frooastboard/keymaps/via/keymap.c27
-rw-r--r--keyboards/frooastboard/keymaps/via/rules.mk2
-rw-r--r--keyboards/frooastboard/readme.md19
-rw-r--r--keyboards/frooastboard/rules.mk22
13 files changed, 412 insertions, 0 deletions
diff --git a/keyboards/basketweave/keymaps/via/keymap.c b/keyboards/basketweave/keymaps/via/keymap.c
new file mode 100644
index 0000000000..12e3fefed4
--- /dev/null
+++ b/keyboards/basketweave/keymaps/via/keymap.c
@@ -0,0 +1,66 @@
+/* Copyright 2021 null-ll
+ *
+ * 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
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+
+ [0] = LAYOUT_default( /* base */
+ KC_GESC, 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,
+ 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, KC_MUTE,
+ 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,
+ 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,
+ KC_LCTL, KC_LALT, KC_SPC, MO(1), KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT
+ ),
+
+
+ [1] = LAYOUT_default( /* fn */
+ /* esc ` 1 2 3 4 5 6 7 8 9 0 - = bspc */
+ KC_TRNS, 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,
+ /* ins tab Q W E R T Y U I O P [ ] \ rotary */
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RESET, KC_TRNS, KC_TRNS, KC_INS, KC_TRNS, KC_TRNS, KC_PSCR, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPLY,
+ /* del caps A S D F G H J K L ; ' enter */
+ 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_INS, KC_TRNS,
+ /* shift Z X C V B B N M , . / shift up */
+ KC_LSFT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MUTE, KC_TRNS, KC_TRNS, KC_TRNS, KC_RSFT, KC_PGUP,
+ /* ctrl alt space fn space alt ctrl left down right */
+ KC_LCTL, KC_LALT, KC_TRNS, KC_TRNS, KC_TRNS, KC_RALT, KC_RCTL, KC_HOME, KC_PGDN, KC_END
+ ),
+
+ [2] = LAYOUT_default( /* extra */
+ /* esc ` 1 2 3 4 5 6 7 8 9 0 - = bspc */
+ 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,
+ /* ins tab Q W E R T Y U I O P [ ] \ rotary */
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_INS, KC_TRNS, KC_TRNS, KC_PSCR, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ /* del caps A S D F G H J K L ; ' enter */
+ 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_INS, KC_TRNS,
+ /* shift Z X C V B B N M , . / shift up */
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MUTE, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ /* ctrl alt space fn space alt ctrl left down right */
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
+ )
+};
+
+bool encoder_update_user(uint8_t index, bool clockwise) {
+ if (index == 0) {
+ if (clockwise) {
+ tap_code(KC_VOLU);
+ } else {
+ tap_code(KC_VOLD);
+ }
+ }
+ return true;
+}
diff --git a/keyboards/basketweave/keymaps/via/rules.mk b/keyboards/basketweave/keymaps/via/rules.mk
new file mode 100644
index 0000000000..36b7ba9cbc
--- /dev/null
+++ b/keyboards/basketweave/keymaps/via/rules.mk
@@ -0,0 +1,2 @@
+VIA_ENABLE = yes
+LTO_ENABLE = yes
diff --git a/keyboards/frooastboard/config.h b/keyboards/frooastboard/config.h
new file mode 100644
index 0000000000..fb5f3e650c
--- /dev/null
+++ b/keyboards/frooastboard/config.h
@@ -0,0 +1,66 @@
+/* Copyright 2021 frooastside
+ *
+ * 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 3 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"
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0x4642 /*F rooast B oards*/
+#define PRODUCT_ID 0x6F21 /*osu!*/
+#define DEVICE_VER 0x0001
+#define MANUFACTURER frooastside
+#define PRODUCT Frooastboard
+
+/* key matrix size */
+#define MATRIX_ROWS 2
+#define MATRIX_COLS 2
+
+/* key matrix pins */
+#define MATRIX_ROW_PINS { B0, B1 }
+#define MATRIX_COL_PINS { B2, B3 }
+#define UNUSED_PINS
+
+#define BOOTMAGIC_LITE_ROW 1
+#define BOOTMAGIC_LITE_COLUMN 1
+
+/* COL2ROW or ROW2COL */
+#define DIODE_DIRECTION COL2ROW
+
+/* Set 0 if debouncing isn't needed */
+#define DEBOUNCE 5
+
+#define RGB_DI_PIN B4
+#define RGBLED_NUM 8
+
+#define RGBLIGHT_SLEEP
+
+#define RGBLIGHT_HUE_STEP 8
+#define RGBLIGHT_SAT_STEP 8
+#define RGBLIGHT_VAL_STEP 8
+
+#define RGBLIGHT_DEFAULT_HUE 234
+
+#define RGBLIGHT_LIMIT_VAL 255
+#define RGBLIGHT_DEFAULT_VAL 190
+
+#define RGBLIGHT_EFFECT_RAINBOW_MOOD
+#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
+#define RGBLIGHT_EFFECT_TWINKLE
+#define RGBLIGHT_EFFECT_BREATHING
+#define RGBLIGHT_EFFECT_SNAKE
+
+#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD + 2
diff --git a/keyboards/frooastboard/frooastboard.c b/keyboards/frooastboard/frooastboard.c
new file mode 100644
index 0000000000..8e7f3c8998
--- /dev/null
+++ b/keyboards/frooastboard/frooastboard.c
@@ -0,0 +1,17 @@
+/* Copyright 2021 frooastside
+ *
+ * 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 3 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 "frooastboard.h"
diff --git a/keyboards/frooastboard/frooastboard.h b/keyboards/frooastboard/frooastboard.h
new file mode 100644
index 0000000000..da598cf4aa
--- /dev/null
+++ b/keyboards/frooastboard/frooastboard.h
@@ -0,0 +1,27 @@
+/* Copyright 2021 frooastside
+ *
+ * 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 3 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 "quantum.h"
+
+#define LAYOUT( \
+ K00, K01, \
+ K10, K11 \
+) { \
+ { K00, K01 }, \
+ { K10, K11 } \
+}
diff --git a/keyboards/frooastboard/info.json b/keyboards/frooastboard/info.json
new file mode 100644
index 0000000000..43ea3cae74
--- /dev/null
+++ b/keyboards/frooastboard/info.json
@@ -0,0 +1,44 @@
+{
+ "keyboard_name": "Frooastboard",
+ "url": "https://github.com/frooastside/qmk_firmware/tree/master/keyboards/frooastboard",
+ "maintainer": "frooastside",
+ "width": 2,
+ "height": 2,
+ "debounce": 5,
+ "diode_direction": "COL2ROW",
+ "layouts": {
+ "LAYOUT": {
+ "layout": [
+ {
+ "label": "Z",
+ "x": 0,
+ "y": 0
+ },
+ {
+ "label": "X",
+ "x": 1,
+ "y": 0
+ },
+ {
+ "label": "Esc",
+ "x": 0,
+ "y": 1
+ },
+ {
+ "label": "~",
+ "x": 1,
+ "y": 1
+ }
+ ]
+ },
+ },
+ "matrix_pins": {
+ "rows": ["B0", "B1"],
+ "cols": ["B2", "B3"]
+ },
+ "usb": {
+ "vid": "0x4642",
+ "pid": "0x6F21",
+ "device_ver": "0x0001"
+ }
+}
diff --git a/keyboards/frooastboard/keymaps/default/keymap.c b/keyboards/frooastboard/keymaps/default/keymap.c
new file mode 100644
index 0000000000..569937d8e2
--- /dev/null
+++ b/keyboards/frooastboard/keymaps/default/keymap.c
@@ -0,0 +1,47 @@
+/* Copyright 2021 frooastside
+ *
+ * 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 3 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
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT(
+ KC_Z, KC_X,
+ LT(1, KC_ESC), KC_TILD),
+
+ [1] = LAYOUT(
+ KC_F23, KC_F24,
+ KC_TRNS, TO(2)),
+
+ [2] = LAYOUT(
+ RGB_TOG, RGB_MOD,
+ TO(3), TO(0)),
+
+ [3] = LAYOUT(
+ RGB_HUD, RGB_HUI,
+ TO(4), TO(2)),
+
+ [4] = LAYOUT(
+ RGB_SAD, RGB_SAI,
+ TO(5), TO(3)),
+
+ [5] = LAYOUT(
+ RGB_VAD, RGB_VAI,
+ TO(6), TO(4)),
+
+ [6] = LAYOUT(
+ KC_TRNS, KC_TRNS,
+ RESET, TO(5))
+};
diff --git a/keyboards/frooastboard/keymaps/safe_mode/keymap.c b/keyboards/frooastboard/keymaps/safe_mode/keymap.c
new file mode 100644
index 0000000000..dc040070ed
--- /dev/null
+++ b/keyboards/frooastboard/keymaps/safe_mode/keymap.c
@@ -0,0 +1,43 @@
+/* Copyright 2021 frooastside
+ *
+ * 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 3 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
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT(
+ KC_Z, KC_X,
+ TO(1), KC_TILD),
+
+ [1] = LAYOUT(
+ RGB_TOG, RGB_MOD,
+ TO(2), TO(0)),
+
+ [2] = LAYOUT(
+ RGB_HUD, RGB_HUI,
+ TO(3), TO(1)),
+
+ [3] = LAYOUT(
+ RGB_SAD, RGB_SAI,
+ TO(4), TO(2)),
+
+ [4] = LAYOUT(
+ RGB_VAD, RGB_VAI,
+ TO(5), TO(3)),
+
+ [5] = LAYOUT(
+ KC_TRNS, KC_TRNS,
+ RESET, TO(4))
+};
diff --git a/keyboards/frooastboard/keymaps/via/config.h b/keyboards/frooastboard/keymaps/via/config.h
new file mode 100644
index 0000000000..6bd3c6ea37
--- /dev/null
+++ b/keyboards/frooastboard/keymaps/via/config.h
@@ -0,0 +1,30 @@
+/* Copyright 2021 frooastside
+ *
+ * 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 3 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
+
+#define RGBLIGHT_EFFECT_BREATHING
+#define RGBLIGHT_EFFECT_RAINBOW_MOOD
+#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
+#define RGBLIGHT_EFFECT_SNAKE
+#define RGBLIGHT_EFFECT_KNIGHT
+#define RGBLIGHT_EFFECT_CHRISTMAS
+#define RGBLIGHT_EFFECT_STATIC_GRADIENT
+#define RGBLIGHT_EFFECT_RGB_TEST
+#define RGBLIGHT_EFFECT_ALTERNATING
+#define RGBLIGHT_EFFECT_TWINKLE
+
+#define DYNAMIC_KEYMAP_LAYER_COUNT 2
diff --git a/keyboards/frooastboard/keymaps/via/keymap.c b/keyboards/frooastboard/keymaps/via/keymap.c
new file mode 100644
index 0000000000..028462cded
--- /dev/null
+++ b/keyboards/frooastboard/keymaps/via/keymap.c
@@ -0,0 +1,27 @@
+/* Copyright 2021 frooastside
+ *
+ * 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 3 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
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT(
+ KC_Z, KC_X,
+ LT(1, KC_ESC), KC_TILD),
+
+ [1] = LAYOUT(
+ KC_F23, KC_F24,
+ KC_TRNS, RGB_TOG)
+};
diff --git a/keyboards/frooastboard/keymaps/via/rules.mk b/keyboards/frooastboard/keymaps/via/rules.mk
new file mode 100644
index 0000000000..36b7ba9cbc
--- /dev/null
+++ b/keyboards/frooastboard/keymaps/via/rules.mk
@@ -0,0 +1,2 @@
+VIA_ENABLE = yes
+LTO_ENABLE = yes
diff --git a/keyboards/frooastboard/readme.md b/keyboards/frooastboard/readme.md
new file mode 100644
index 0000000000..d465c3f4b7
--- /dev/null
+++ b/keyboards/frooastboard/readme.md
@@ -0,0 +1,19 @@
+# Frooastboard
+
+![Frooastboard](https://i.imgur.com/f26O8JLh.jpg)
+
+* Keyboard Maintainer: [Frooastside](https://github.com/frooastside)
+* Hardware Supported: Frooastboard
+* Hardware Availability: https://github.com/Frooastside/Frooastboard
+
+**Reset Key:** Hold down the key located at `K00`, commonly programmed as ESCAPE while plugging in the keyboard. (If via is used it is the key located at `K10`.)
+
+Make example for this keyboard (after setting up your build environment):
+
+ make frooastboard:default
+
+Flashing example for this keyboard:
+
+ make frooastboard:default:flash
+
+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/frooastboard/rules.mk b/keyboards/frooastboard/rules.mk
new file mode 100644
index 0000000000..bc035eca04
--- /dev/null
+++ b/keyboards/frooastboard/rules.mk
@@ -0,0 +1,22 @@
+# MCU name
+MCU = atmega32u2
+
+# Bootloader selection
+BOOTLOADER = atmel-dfu
+
+# Build Options
+# change yes to no to disable
+#
+BOOTMAGIC_ENABLE = lite # 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 = yes # USB Nkey Rollover
+BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
+RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
+BLUETOOTH_ENABLE = no # Enable Bluetooth
+AUDIO_ENABLE = no # Audio output