aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEithan Shavit <eithanshavit@users.noreply.github.com>2021-01-29 19:38:18 -0800
committerGitHub <noreply@github.com>2021-01-29 19:38:18 -0800
commit64da7413a0c2b3ea555288f5d296e3a98a0da6b4 (patch)
tree54a9fceac7275d4489880a724d4cd59a76b7acee
parent53b35052eefc8a341cbc68d3d9aba52dfbf59f35 (diff)
downloadqmk_firmware-64da7413a0c2b3ea555288f5d296e3a98a0da6b4.tar.gz
qmk_firmware-64da7413a0c2b3ea555288f5d296e3a98a0da6b4.zip
[Keyboard] Adding Rev1 to afternoonlabs/breeze (#11611)
* Breeze Rev1 * Better bootmagic and reset * typo Co-authored-by: Eithan Shavit <eithan@fb.com>
-rw-r--r--keyboards/afternoonlabs/breeze/breeze.h3
-rw-r--r--keyboards/afternoonlabs/breeze/keymaps/default/keymap.c6
-rw-r--r--keyboards/afternoonlabs/breeze/rev1/config.h49
-rw-r--r--keyboards/afternoonlabs/breeze/rev1/info.json84
-rw-r--r--keyboards/afternoonlabs/breeze/rev1/readme.md15
-rw-r--r--keyboards/afternoonlabs/breeze/rev1/rev1.c17
-rw-r--r--keyboards/afternoonlabs/breeze/rev1/rev1.h41
-rw-r--r--keyboards/afternoonlabs/breeze/rev1/rules.mk23
8 files changed, 235 insertions, 3 deletions
diff --git a/keyboards/afternoonlabs/breeze/breeze.h b/keyboards/afternoonlabs/breeze/breeze.h
index 740289961..9a98bb9e6 100644
--- a/keyboards/afternoonlabs/breeze/breeze.h
+++ b/keyboards/afternoonlabs/breeze/breeze.h
@@ -19,3 +19,6 @@
19#ifdef KEYBOARD_afternoonlabs_breeze_rev0 19#ifdef KEYBOARD_afternoonlabs_breeze_rev0
20# include "rev0.h" 20# include "rev0.h"
21#endif 21#endif
22#ifdef KEYBOARD_afternoonlabs_breeze_rev1
23# include "rev1.h"
24#endif
diff --git a/keyboards/afternoonlabs/breeze/keymaps/default/keymap.c b/keyboards/afternoonlabs/breeze/keymaps/default/keymap.c
index 85833ce80..c708984cc 100644
--- a/keyboards/afternoonlabs/breeze/keymaps/default/keymap.c
+++ b/keyboards/afternoonlabs/breeze/keymaps/default/keymap.c
@@ -43,11 +43,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
43 43
44 [_LOWER] = LAYOUT( 44 [_LOWER] = LAYOUT(
45 //┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐┌────────┬────────┬────────┐ 45 //┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐┌────────┬────────┬────────┐
46 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, 46 RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU,
47 //├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤├────────┼────────┼────────┤ 47 //├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤├────────┼────────┼────────┤
48 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, 48 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
49 //├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤├────────┼────────┼────────┤ 49 //├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤├────────┼────────┼────────┤
50 _______, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, _______, 50 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
51 //├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤├────────┼────────┼────────┤ 51 //├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤├────────┼────────┼────────┤
52 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, 52 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
53 //└────────┴────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┴────────┴────────┴────────┘└────────┴────────┴────────┘ 53 //└────────┴────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┴────────┴────────┴────────┘└────────┴────────┴────────┘
@@ -68,4 +68,4 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
68 _______, _______, _______, _______, _______, _______, KC_P0, KC_PDOT 68 _______, _______, _______, _______, _______, _______, KC_P0, KC_PDOT
69 // └────────┴────────┴────────┴────────┘ └────────┴────────┴────────┴────────┘ 69 // └────────┴────────┴────────┴────────┘ └────────┴────────┴────────┴────────┘
70 ) 70 )
71}; \ No newline at end of file 71};
diff --git a/keyboards/afternoonlabs/breeze/rev1/config.h b/keyboards/afternoonlabs/breeze/rev1/config.h
new file mode 100644
index 000000000..c3b9b9063
--- /dev/null
+++ b/keyboards/afternoonlabs/breeze/rev1/config.h
@@ -0,0 +1,49 @@
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 0x0001
22#define DEVICE_VER 0x0001
23#define MANUFACTURER AfternoonLabs
24#define PRODUCT Breeze
25
26/* key matrix size */
27// Rows are doubled-up
28#define MATRIX_ROWS 10
29#define MATRIX_COLS 9
30
31// wiring of each half
32#define MATRIX_ROW_PINS \
33 { F4, F5, F6, F7, B1 }
34#define MATRIX_COL_PINS \
35 { B2, D1, D0, D4, C6, D7, E6, B4, B5 }
36
37#define SPLIT_HAND_PIN B3
38
39/* Set 0 if debouncing isn't needed */
40#define DEBOUNCE 5
41
42#define SOFT_SERIAL_PIN D2
43
44#define DIODE_DIRECTION COL2ROW
45
46#define BOOTMAGIC_LITE_ROW_RIGHT 0
47#define BOOTMAGIC_LITE_COLUMN_RIGHT 5
48#define BOOTMAGIC_LITE_ROW_LEFT 0
49#define BOOTMAGIC_LITE_COLUMN_LEFT 5
diff --git a/keyboards/afternoonlabs/breeze/rev1/info.json b/keyboards/afternoonlabs/breeze/rev1/info.json
new file mode 100644
index 000000000..e60725735
--- /dev/null
+++ b/keyboards/afternoonlabs/breeze/rev1/info.json
@@ -0,0 +1,84 @@
1{
2 "keyboard_name": "Breeze",
3 "url": "afternoonlabs.com/breeze",
4 "productId": "0x0001",
5 "maintainer": "eithanshavit",
6 "width": 19,
7 "height": 6,
8 "layouts": {
9 "LAYOUT": {
10 "layout": [
11 {"x":0, "y":0.375},
12 {"x":1, "y":0.375},
13 {"x":2, "y":0.125},
14 {"x":3, "y":0},
15 {"x":4, "y":0.125},
16 {"x":5, "y":0.25},
17 {"x":9.75, "y":0.25},
18 {"x":10.75, "y":0.125},
19 {"x":11.75, "y":0},
20 {"x":12.75, "y":0.125},
21 {"x":13.75, "y":0.375},
22 {"x":14.75, "y":0.375},
23 {"x":16, "y":0.375},
24 {"x":17, "y":0.375},
25 {"x":18, "y":0.375},
26
27 {"x":0, "y":1.375},
28 {"x":1, "y":1.375},
29 {"x":2, "y":1.125},
30 {"x":3, "y":1},
31 {"x":4, "y":1.125},
32 {"x":5, "y":1.25},
33 {"x":9.75, "y":1.25},
34 {"x":10.75, "y":1.125},
35 {"x":11.75, "y":1},
36 {"x":12.75, "y":1.125},
37 {"x":13.75, "y":1.375},
38 {"x":14.75, "y":1.375},
39 {"x":16, "y":1.375},
40 {"x":17, "y":1.375},
41 {"x":18, "y":1.375},
42
43 {"x":0, "y":2.375},
44 {"x":1, "y":2.375},
45 {"x":2, "y":2.125},
46 {"x":3, "y":2},
47 {"x":4, "y":2.125},
48 {"x":5, "y":2.25},
49 {"x":9.75, "y":2.25},
50 {"x":10.75, "y":2.125},
51 {"x":11.75, "y":2},
52 {"x":12.75, "y":2.125},
53 {"x":13.75, "y":2.375},
54 {"x":14.75, "y":2.375},
55 {"x":17, "y":2.375},
56
57 {"x":0, "y":3.375},
58 {"x":1, "y":3.375},
59 {"x":2, "y":3.125},
60 {"x":3, "y":3},
61 {"x":4, "y":3.125},
62 {"x":5, "y":3.25},
63 {"x":9.75, "y":3.25},
64 {"x":10.75, "y":3.125},
65 {"x":11.75, "y":3},
66 {"x":12.75, "y":3.125},
67 {"x":13.75, "y":3.375},
68 {"x":14.75, "y":3.375},
69 {"x":16, "y":3.375},
70 {"x":17, "y":3.375},
71 {"x":18, "y":3.375},
72
73 {"x":2.5, "y":4.25},
74 {"x":3.5, "y":4.25},
75 {"x":4.5, "y":4.5},
76 {"x":6.25, "y":3.75, "h":2, "r":30},
77 {"x":8.5, "y":3.75, "h":2, "r":-30},
78 {"x":10.25, "y":4.5},
79 {"x":11.25, "y":4.25},
80 {"x":12.25, "y":4.25}
81 ]
82 }
83 }
84}
diff --git a/keyboards/afternoonlabs/breeze/rev1/readme.md b/keyboards/afternoonlabs/breeze/rev1/readme.md
new file mode 100644
index 000000000..9d845f6f3
--- /dev/null
+++ b/keyboards/afternoonlabs/breeze/rev1/readme.md
@@ -0,0 +1,15 @@
1# Breeze
2
3![Breeze](https://i.imgur.com/O8FJWD6.jpeg)
4
5Split ergonomics meets productivity. Breeze Rev1 is a split keyboard with 6×4 keys, 4 key thumb cluster, arrow keys, and a 6 key macro cluster, with ortholinear column-staggered.
6
7* Keyboard Maintainer: [Eithan Shavit](https://github.com/eithanshavit)
8* Hardware Supported: Breeze Rev1 PCB
9* Hardware Availability: Coming soon
10
11Make example for this keyboard (after setting up your build environment):
12
13 make afternoonlabs/breeze/rev1:default
14
15See 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/breeze/rev1/rev1.c b/keyboards/afternoonlabs/breeze/rev1/rev1.c
new file mode 100644
index 000000000..a39b91c5e
--- /dev/null
+++ b/keyboards/afternoonlabs/breeze/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 "breeze.h"
diff --git a/keyboards/afternoonlabs/breeze/rev1/rev1.h b/keyboards/afternoonlabs/breeze/rev1/rev1.h
new file mode 100644
index 000000000..b7d7025be
--- /dev/null
+++ b/keyboards/afternoonlabs/breeze/rev1/rev1.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#include "breeze.h"
20
21#include "quantum.h"
22
23#define LAYOUT( \
24 L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, MC0, MC1, MC2, \
25 L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, MC3, MC4, MC5, \
26 L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, AUP, \
27 L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35, ALT, ADN, ART, \
28 LT0, LT1, LT2, LT3, RT0, RT1, RT2, RT3 \
29) \
30{ \
31 { L05, L04, L03, L02, L01, L00, KC_NO, KC_NO, KC_NO }, \
32 { L15, L14, L13, L12, L11, L10, KC_NO, KC_NO, KC_NO }, \
33 { L25, L24, L23, L22, L21, L20, KC_NO, KC_NO, KC_NO }, \
34 { L35, L34, L33, L32, L31, L30, KC_NO, KC_NO, KC_NO }, \
35 { LT3, LT2, LT1, LT0, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \
36 { R00, R01, R02, R03, R04, R05, MC0, MC1, MC2 }, \
37 { R10, R11, R12, R13, R14, R15, MC3, MC4, MC5 }, \
38 { R20, R21, R22, R23, R24, R25, KC_NO, AUP, KC_NO }, \
39 { R30, R31, R32, R33, R34, R35, ALT, ADN, ART }, \
40 { RT0, RT1, RT2, RT3, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \
41}
diff --git a/keyboards/afternoonlabs/breeze/rev1/rules.mk b/keyboards/afternoonlabs/breeze/rev1/rules.mk
new file mode 100644
index 000000000..d1847482f
--- /dev/null
+++ b/keyboards/afternoonlabs/breeze/rev1/rules.mk
@@ -0,0 +1,23 @@
1# MCU name
2MCU = atmega32u4
3
4# Bootloader selection
5BOOTLOADER = caterina
6
7# Build Options
8# change yes to no to disable
9#
10SPLIT_KEYBOARD = yes
11BOOTMAGIC_ENABLE = lite
12MOUSEKEY_ENABLE = no # Mouse keys
13EXTRAKEY_ENABLE = no # Audio control and System control
14CONSOLE_ENABLE = yes # Console for debug
15COMMAND_ENABLE = no # Commands for debug and configuration
16# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
17SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
18# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
19NKRO_ENABLE = no # USB Nkey Rollover
20BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
21RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
22BLUETOOTH_ENABLE = no # Enable Bluetooth
23AUDIO_ENABLE = no # Audio output