aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgazeddy <33955949+gazeddy@users.noreply.github.com>2021-02-28 06:09:41 +0000
committerGitHub <noreply@github.com>2021-02-28 17:09:41 +1100
commitcd12fe86d3bce4221498848e9fced62fd708bdd8 (patch)
tree19b99ef45dcdb00fc25fd21632cf244ce8373a60
parentd6fb8f12c63e8ee5fe51e0f2d6710b4d026f7469 (diff)
downloadqmk_firmware-cd12fe86d3bce4221498848e9fced62fd708bdd8.tar.gz
qmk_firmware-cd12fe86d3bce4221498848e9fced62fd708bdd8.zip
New Variants of Console Keyboard (#11973)
* initial push of console keyboard variants * update readme * fixed compilation issue * update Readme * added 18 and 27 key variants * missed commas * update info.json * added readme * correct info.json * correct info.json * info.json again * fixed keymap.c
-rw-r--r--keyboards/handwired/consolekeyboard/18key/18key.c (renamed from keyboards/handwired/consolekeyboard/consolekeyboard.c)2
-rw-r--r--keyboards/handwired/consolekeyboard/18key/18key.h26
-rw-r--r--keyboards/handwired/consolekeyboard/18key/config.h67
-rw-r--r--keyboards/handwired/consolekeyboard/18key/info.json33
-rw-r--r--keyboards/handwired/consolekeyboard/18key/keymaps/default/keymap.c25
-rw-r--r--keyboards/handwired/consolekeyboard/18key/keymaps/via/keymap.c35
-rw-r--r--keyboards/handwired/consolekeyboard/18key/keymaps/via/rules.mk (renamed from keyboards/handwired/consolekeyboard/keymaps/via/rules.mk)0
-rw-r--r--keyboards/handwired/consolekeyboard/18key/readme.md17
-rw-r--r--keyboards/handwired/consolekeyboard/18key/rules.mk (renamed from keyboards/handwired/consolekeyboard/rules.mk)0
-rw-r--r--keyboards/handwired/consolekeyboard/20key/20key.c16
-rw-r--r--keyboards/handwired/consolekeyboard/20key/20key.h (renamed from keyboards/handwired/consolekeyboard/consolekeyboard.h)0
-rw-r--r--keyboards/handwired/consolekeyboard/20key/config.h (renamed from keyboards/handwired/consolekeyboard/config.h)2
-rw-r--r--keyboards/handwired/consolekeyboard/20key/info.json (renamed from keyboards/handwired/consolekeyboard/info.json)0
-rw-r--r--keyboards/handwired/consolekeyboard/20key/keymaps/default/keymap.c (renamed from keyboards/handwired/consolekeyboard/keymaps/default/keymap.c)0
-rw-r--r--keyboards/handwired/consolekeyboard/20key/keymaps/via/keymap.c (renamed from keyboards/handwired/consolekeyboard/keymaps/via/keymap.c)7
-rw-r--r--keyboards/handwired/consolekeyboard/20key/keymaps/via/rules.mk1
-rw-r--r--keyboards/handwired/consolekeyboard/20key/readme.md17
-rw-r--r--keyboards/handwired/consolekeyboard/20key/rules.mk23
-rw-r--r--keyboards/handwired/consolekeyboard/27key/27key.c16
-rw-r--r--keyboards/handwired/consolekeyboard/27key/27key.h28
-rw-r--r--keyboards/handwired/consolekeyboard/27key/config.h67
-rw-r--r--keyboards/handwired/consolekeyboard/27key/info.json42
-rw-r--r--keyboards/handwired/consolekeyboard/27key/keymaps/default/keymap.c26
-rw-r--r--keyboards/handwired/consolekeyboard/27key/keymaps/via/keymap.c40
-rw-r--r--keyboards/handwired/consolekeyboard/27key/keymaps/via/rules.mk1
-rw-r--r--keyboards/handwired/consolekeyboard/27key/readme.md16
-rw-r--r--keyboards/handwired/consolekeyboard/27key/rules.mk23
-rw-r--r--keyboards/handwired/consolekeyboard/30key/30key.c16
-rw-r--r--keyboards/handwired/consolekeyboard/30key/30key.h28
-rw-r--r--keyboards/handwired/consolekeyboard/30key/config.h67
-rw-r--r--keyboards/handwired/consolekeyboard/30key/info.json44
-rw-r--r--keyboards/handwired/consolekeyboard/30key/keymaps/default/keymap.c26
-rw-r--r--keyboards/handwired/consolekeyboard/30key/keymaps/via/keymap.c40
-rw-r--r--keyboards/handwired/consolekeyboard/30key/keymaps/via/rules.mk1
-rw-r--r--keyboards/handwired/consolekeyboard/30key/readme.md16
-rw-r--r--keyboards/handwired/consolekeyboard/30key/rules.mk23
-rw-r--r--keyboards/handwired/consolekeyboard/readme.md8
37 files changed, 791 insertions, 8 deletions
diff --git a/keyboards/handwired/consolekeyboard/consolekeyboard.c b/keyboards/handwired/consolekeyboard/18key/18key.c
index a5ee1d9e7..911aaa642 100644
--- a/keyboards/handwired/consolekeyboard/consolekeyboard.c
+++ b/keyboards/handwired/consolekeyboard/18key/18key.c
@@ -13,4 +13,4 @@
13 * You should have received a copy of the GNU General Public License 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/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16#include "consolekeyboard.h" 16#include "18key.h"
diff --git a/keyboards/handwired/consolekeyboard/18key/18key.h b/keyboards/handwired/consolekeyboard/18key/18key.h
new file mode 100644
index 000000000..9625d9806
--- /dev/null
+++ b/keyboards/handwired/consolekeyboard/18key/18key.h
@@ -0,0 +1,26 @@
1/* Copyright 2021 Gareth Edwards
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#define LAYOUT( \
21 K000, K001, K002, K004, K005, K006, K008, K009, K010, \
22 K100, K101, K102, K104, K105, K106, K108, K109, K110 \
23) { \
24 { K000, K001, K002, KC_NO, K004, K005, K006, KC_NO, K008, K009, K010 }, \
25 { K100, K101, K102, KC_NO, K104, K105, K106, KC_NO, K108, K109, K110 }, \
26}
diff --git a/keyboards/handwired/consolekeyboard/18key/config.h b/keyboards/handwired/consolekeyboard/18key/config.h
new file mode 100644
index 000000000..00e99da9f
--- /dev/null
+++ b/keyboards/handwired/consolekeyboard/18key/config.h
@@ -0,0 +1,67 @@
1/* Copyright 2021 Gareth Edwards
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 0x6761
23#define PRODUCT_ID 0x3332
24#define DEVICE_VER 0x0001
25#define MANUFACTURER Stream Cheap
26#define PRODUCT Console Keyboard 18
27/* key matrix size */
28#define MATRIX_ROWS 2
29#define MATRIX_COLS 11
30
31/*
32 * Keyboard Matrix Assignments
33 *
34 * Change this to how you wired your keyboard
35 * COLS: AVR pins used for columns, left to right
36 * ROWS: AVR pins used for rows, top to bottom
37 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
38 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
39 *
40 */
41#define MATRIX_ROW_PINS { D1, D0 }
42#define MATRIX_COL_PINS { D4, C6, D7, C4, B1, B3, B2, B6, C5, E6, B4 }
43
44#define DIODE_DIRECTION COL2ROW
45
46#define RGB_DI_PIN F4
47#ifdef RGB_DI_PIN
48 #define RGBLED_NUM 6
49 #define RGBLIGHT_HUE_STEP 8
50 #define RGBLIGHT_SAT_STEP 8
51 #define RGBLIGHT_VAL_STEP 8
52 #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
53 #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
54/*== all animations enable ==*/
55 // #define RGBLIGHT_ANIMATIONS
56// /*== or choose animations ==*/
57 #define RGBLIGHT_EFFECT_BREATHING
58// #define RGBLIGHT_EFFECT_RAINBOW_MOOD
59// #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
60// #define RGBLIGHT_EFFECT_SNAKE
61// #define RGBLIGHT_EFFECT_KNIGHT
62// #define RGBLIGHT_EFFECT_CHRISTMAS
63// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
64// #define RGBLIGHT_EFFECT_RGB_TEST
65// #define RGBLIGHT_EFFECT_ALTERNATING
66#endif
67
diff --git a/keyboards/handwired/consolekeyboard/18key/info.json b/keyboards/handwired/consolekeyboard/18key/info.json
new file mode 100644
index 000000000..0995fe1c4
--- /dev/null
+++ b/keyboards/handwired/consolekeyboard/18key/info.json
@@ -0,0 +1,33 @@
1{
2 "keyboard_name": "Console Keyboard",
3 "url": "https://www.thingiverse.com/thing:3167050",
4 "maintainer": "Gareth Edwards",
5 "width": 11,
6 "height": 2,
7 "layouts": {
8 "LAYOUT": {
9 "layout": [
10 {"label":"K00 (D1,D4)", "x":0, "y":0},
11 {"label":"K01 (D1,C6)", "x":1, "y":0},
12 {"label":"K02 (D1,D7)", "x":2, "y":0},
13 {"label":"K04 (D1,B3)", "x":4, "y":0},
14 {"label":"K05 (D1,B2)", "x":5, "y":0},
15 {"label":"K06 (D1,B6)", "x":6, "y":0},
16 {"label":"K08 (D1,E6)", "x":8, "y":0},
17 {"label":"K09 (D1,C4)", "x":9, "y":0},
18 {"label":"K0A (D1,C5)", "x":10, "y":0},
19 {"label":"K10 (D0,D4)", "x":0, "y":1},
20 {"label":"K11 (D0,C6)", "x":1, "y":1},
21 {"label":"K12 (D0,D7)", "x":2, "y":1},
22 {"label":"K14 (D0,B3)", "x":4, "y":1},
23 {"label":"K15 (D0,B2)", "x":5, "y":1},
24 {"label":"K16 (D0,B6)", "x":6, "y":1},
25 {"label":"K18 (D0,E6)", "x":8, "y":1},
26 {"label":"K19 (D0,C4)", "x":9, "y":1},
27 {"label":"K1A (D0,C5)", "x":10, "y":1}
28
29 ]
30 }
31 }
32
33}
diff --git a/keyboards/handwired/consolekeyboard/18key/keymaps/default/keymap.c b/keyboards/handwired/consolekeyboard/18key/keymaps/default/keymap.c
new file mode 100644
index 000000000..d168e02ea
--- /dev/null
+++ b/keyboards/handwired/consolekeyboard/18key/keymaps/default/keymap.c
@@ -0,0 +1,25 @@
1/* Copyright 2021 Gareth Edwards
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
19const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20 [0] = LAYOUT(
21 KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_8, KC_9, KC_0,
22 KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_I, KC_O, KC_P
23 ),
24
25};
diff --git a/keyboards/handwired/consolekeyboard/18key/keymaps/via/keymap.c b/keyboards/handwired/consolekeyboard/18key/keymaps/via/keymap.c
new file mode 100644
index 000000000..ebeabcc37
--- /dev/null
+++ b/keyboards/handwired/consolekeyboard/18key/keymaps/via/keymap.c
@@ -0,0 +1,35 @@
1/* Copyright 2021 Gareth Edwards
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
18const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
19 [0] = LAYOUT(
20 KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_8, KC_9, KC_0,
21 KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_I, KC_O, KC_P
22 ),
23[1] = LAYOUT(
24 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
25 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
26 ),
27[2] = LAYOUT(
28 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
29 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
30 ),
31[3] = LAYOUT(
32 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
33 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
34 ),
35 };
diff --git a/keyboards/handwired/consolekeyboard/keymaps/via/rules.mk b/keyboards/handwired/consolekeyboard/18key/keymaps/via/rules.mk
index 1e5b99807..1e5b99807 100644
--- a/keyboards/handwired/consolekeyboard/keymaps/via/rules.mk
+++ b/keyboards/handwired/consolekeyboard/18key/keymaps/via/rules.mk
diff --git a/keyboards/handwired/consolekeyboard/18key/readme.md b/keyboards/handwired/consolekeyboard/18key/readme.md
new file mode 100644
index 000000000..cfd644190
--- /dev/null
+++ b/keyboards/handwired/consolekeyboard/18key/readme.md
@@ -0,0 +1,17 @@
1# Console Keyboard
2
3[Console Keyboard](https://i.imgur.com/5aLT7CLl.jpeg)
4
5A 3d printed macro pad based on the Stream Cheap with 18 keys
6
7* Keyboard Maintainer: [Gareth Edwards](https://github.com/gazeddy)
8* Hardware Supported: Arduino Pro Micro
9* Hardware Availability:https://www.thingiverse.com/thing:3167050
10
11Make example for this keyboard (after setting up your build environment):
12
13 make handwired/consolekeyboard/18key:default
14
15
16
17See 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/handwired/consolekeyboard/rules.mk b/keyboards/handwired/consolekeyboard/18key/rules.mk
index 1b8f014d8..1b8f014d8 100644
--- a/keyboards/handwired/consolekeyboard/rules.mk
+++ b/keyboards/handwired/consolekeyboard/18key/rules.mk
diff --git a/keyboards/handwired/consolekeyboard/20key/20key.c b/keyboards/handwired/consolekeyboard/20key/20key.c
new file mode 100644
index 000000000..409d1c16b
--- /dev/null
+++ b/keyboards/handwired/consolekeyboard/20key/20key.c
@@ -0,0 +1,16 @@
1/* Copyright 2021 Gareth Edwards
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 "20key.h"
diff --git a/keyboards/handwired/consolekeyboard/consolekeyboard.h b/keyboards/handwired/consolekeyboard/20key/20key.h
index bd109caf3..bd109caf3 100644
--- a/keyboards/handwired/consolekeyboard/consolekeyboard.h
+++ b/keyboards/handwired/consolekeyboard/20key/20key.h
diff --git a/keyboards/handwired/consolekeyboard/config.h b/keyboards/handwired/consolekeyboard/20key/config.h
index 3e6e24d63..077e73321 100644
--- a/keyboards/handwired/consolekeyboard/config.h
+++ b/keyboards/handwired/consolekeyboard/20key/config.h
@@ -23,7 +23,7 @@
23#define PRODUCT_ID 0x3432 23#define PRODUCT_ID 0x3432
24#define DEVICE_VER 0x0001 24#define DEVICE_VER 0x0001
25#define MANUFACTURER Stream Cheap 25#define MANUFACTURER Stream Cheap
26#define PRODUCT Console Keyboard 26#define PRODUCT Console Keyboard 20
27/* key matrix size */ 27/* key matrix size */
28#define MATRIX_ROWS 2 28#define MATRIX_ROWS 2
29#define MATRIX_COLS 12 29#define MATRIX_COLS 12
diff --git a/keyboards/handwired/consolekeyboard/info.json b/keyboards/handwired/consolekeyboard/20key/info.json
index 0126ec8c6..0126ec8c6 100644
--- a/keyboards/handwired/consolekeyboard/info.json
+++ b/keyboards/handwired/consolekeyboard/20key/info.json
diff --git a/keyboards/handwired/consolekeyboard/keymaps/default/keymap.c b/keyboards/handwired/consolekeyboard/20key/keymaps/default/keymap.c
index facc8ece2..facc8ece2 100644
--- a/keyboards/handwired/consolekeyboard/keymaps/default/keymap.c
+++ b/keyboards/handwired/consolekeyboard/20key/keymaps/default/keymap.c
diff --git a/keyboards/handwired/consolekeyboard/keymaps/via/keymap.c b/keyboards/handwired/consolekeyboard/20key/keymaps/via/keymap.c
index a5ab8c8b7..641dc5988 100644
--- a/keyboards/handwired/consolekeyboard/keymaps/via/keymap.c
+++ b/keyboards/handwired/consolekeyboard/20key/keymaps/via/keymap.c
@@ -15,22 +15,21 @@
15 */ 15 */
16 16
17#include QMK_KEYBOARD_H 17#include QMK_KEYBOARD_H
18
19const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { 18const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20 [0] = LAYOUT( 19 [0] = LAYOUT(
21 KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, 20 KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0,
22 KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P 21 KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P
23 ), 22 ),
24[1] = LAYOUT( 23[1] = LAYOUT(
25 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, 24 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
26 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS 25 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
27 ), 26 ),
28[2] = LAYOUT( 27[2] = LAYOUT(
29 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, 28 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
30 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS 29 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
31 ), 30 ),
32[3] = LAYOUT( 31[3] = LAYOUT(
33 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, 32 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
34 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS 33 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
35 ), 34 ),
36 }; 35 };
diff --git a/keyboards/handwired/consolekeyboard/20key/keymaps/via/rules.mk b/keyboards/handwired/consolekeyboard/20key/keymaps/via/rules.mk
new file mode 100644
index 000000000..1e5b99807
--- /dev/null
+++ b/keyboards/handwired/consolekeyboard/20key/keymaps/via/rules.mk
@@ -0,0 +1 @@
VIA_ENABLE = yes
diff --git a/keyboards/handwired/consolekeyboard/20key/readme.md b/keyboards/handwired/consolekeyboard/20key/readme.md
new file mode 100644
index 000000000..80765c01d
--- /dev/null
+++ b/keyboards/handwired/consolekeyboard/20key/readme.md
@@ -0,0 +1,17 @@
1# Console Keyboard
2
3[Console Keyboard](https://i.imgur.com/5aLT7CLl.jpeg)
4
5A 3d printed macro pad based on the Stream Cheap with 20 keys
6
7* Keyboard Maintainer: [Gareth Edwards](https://github.com/gazeddy)
8* Hardware Supported: Arduino Pro Micro
9* Hardware Availability:https://www.thingiverse.com/thing:3167050
10
11Make example for this keyboard (after setting up your build environment):
12
13 make handwired/consolekeyboard/20key:default
14
15
16
17See 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/handwired/consolekeyboard/20key/rules.mk b/keyboards/handwired/consolekeyboard/20key/rules.mk
new file mode 100644
index 000000000..1b8f014d8
--- /dev/null
+++ b/keyboards/handwired/consolekeyboard/20key/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#
10BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
11MOUSEKEY_ENABLE = no # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = no # Console for debug
14COMMAND_ENABLE = yes # Commands for debug and configuration
15# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
16SLEEP_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
18NKRO_ENABLE = yes # USB Nkey Rollover
19BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
20RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
21BLUETOOTH_ENABLE = no # Enable Bluetooth
22AUDIO_ENABLE = no # Audio output
23LTO_ENABLE = yes # Link time optimize
diff --git a/keyboards/handwired/consolekeyboard/27key/27key.c b/keyboards/handwired/consolekeyboard/27key/27key.c
new file mode 100644
index 000000000..06f0bb9a6
--- /dev/null
+++ b/keyboards/handwired/consolekeyboard/27key/27key.c
@@ -0,0 +1,16 @@
1/* Copyright 2021 Gareth Edwards
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 "27key.h"
diff --git a/keyboards/handwired/consolekeyboard/27key/27key.h b/keyboards/handwired/consolekeyboard/27key/27key.h
new file mode 100644
index 000000000..2c68f1f03
--- /dev/null
+++ b/keyboards/handwired/consolekeyboard/27key/27key.h
@@ -0,0 +1,28 @@
1/* Copyright 2021 Gareth Edwards
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#define LAYOUT( \
21 K000, K001, K002, K004, K005, K006, K008, K009, K010, \
22 K100, K101, K102, K104, K105, K106, K108, K109, K110, \
23 K200, K201, K202, K204, K205, K206, K208, K209, K210 \
24 ) { \
25 { K000, K001, K002, KC_NO, K004, K005, K006, KC_NO, K008, K009, K010 }, \
26 { K100, K101, K102, KC_NO, K104, K105, K106, KC_NO, K108, K109, K110 }, \
27 { K200, K201, K202, KC_NO, K204, K205, K206, KC_NO, K208, K209, K210 }, \
28}
diff --git a/keyboards/handwired/consolekeyboard/27key/config.h b/keyboards/handwired/consolekeyboard/27key/config.h
new file mode 100644
index 000000000..daddbd6fc
--- /dev/null
+++ b/keyboards/handwired/consolekeyboard/27key/config.h
@@ -0,0 +1,67 @@
1/* Copyright 2021 Gareth Edwards
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 0x6761
23#define PRODUCT_ID 0x3433
24#define DEVICE_VER 0x0001
25#define MANUFACTURER Stream Cheap
26#define PRODUCT Console Keyboard 30
27/* key matrix size */
28#define MATRIX_ROWS 3
29#define MATRIX_COLS 11
30
31/*
32 * Keyboard Matrix Assignments
33 *
34 * Change this to how you wired your keyboard
35 * COLS: AVR pins used for columns, left to right
36 * ROWS: AVR pins used for rows, top to bottom
37 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
38 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
39 *
40 */
41#define MATRIX_ROW_PINS { D1, D0, F7}
42#define MATRIX_COL_PINS { D4, C6, D7, C4, B1, B3, B2, B6, C5, E6, B4 }
43
44#define DIODE_DIRECTION COL2ROW
45
46#define RGB_DI_PIN F4
47#ifdef RGB_DI_PIN
48 #define RGBLED_NUM 6
49 #define RGBLIGHT_HUE_STEP 8
50 #define RGBLIGHT_SAT_STEP 8
51 #define RGBLIGHT_VAL_STEP 8
52 #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
53 #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
54/*== all animations enable ==*/
55 // #define RGBLIGHT_ANIMATIONS
56// /*== or choose animations ==*/
57 #define RGBLIGHT_EFFECT_BREATHING
58// #define RGBLIGHT_EFFECT_RAINBOW_MOOD
59// #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
60// #define RGBLIGHT_EFFECT_SNAKE
61// #define RGBLIGHT_EFFECT_KNIGHT
62// #define RGBLIGHT_EFFECT_CHRISTMAS
63// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
64// #define RGBLIGHT_EFFECT_RGB_TEST
65// #define RGBLIGHT_EFFECT_ALTERNATING
66#endif
67
diff --git a/keyboards/handwired/consolekeyboard/27key/info.json b/keyboards/handwired/consolekeyboard/27key/info.json
new file mode 100644
index 000000000..1b753a9bd
--- /dev/null
+++ b/keyboards/handwired/consolekeyboard/27key/info.json
@@ -0,0 +1,42 @@
1{
2 "keyboard_name": "Console Keyboard",
3 "url": "https://www.thingiverse.com/thing:3167050",
4 "maintainer": "Gareth Edwards",
5 "width": 11,
6 "height": 3,
7 "layouts": {
8 "LAYOUT": {
9 "layout": [
10 {"label":"K00 (D1,D4)", "x":0, "y":0},
11 {"label":"K01 (D1,C6)", "x":1, "y":0},
12 {"label":"K02 (D1,D7)", "x":2, "y":0},
13 {"label":"K04 (D1,B3)", "x":4, "y":0},
14 {"label":"K05 (D1,B2)", "x":5, "y":0},
15 {"label":"K06 (D1,B6)", "x":6, "y":0},
16 {"label":"K08 (D1,E6)", "x":8, "y":0},
17 {"label":"K09 (D1,C4)", "x":9, "y":0},
18 {"label":"K0A (D1,C5)", "x":10, "y":0},
19 {"label":"K10 (D0,D4)", "x":0, "y":1},
20 {"label":"K11 (D0,C6)", "x":1, "y":1},
21 {"label":"K12 (D0,D7)", "x":2, "y":1},
22 {"label":"K14 (D0,B3)", "x":4, "y":1},
23 {"label":"K15 (D0,B2)", "x":5, "y":1},
24 {"label":"K16 (D0,B6)", "x":6, "y":1},
25 {"label":"K18 (D0,E6)", "x":8, "y":1},
26 {"label":"K19 (D0,C4)", "x":9, "y":1},
27 {"label":"K1A (D0,C5)", "x":10, "y":1},
28 {"label":"K20 (F7,D4)", "x":0, "y":2},
29 {"label":"K21 (F7,C6)", "x":1, "y":2},
30 {"label":"K22 (F7,D7)", "x":2, "y":2},
31 {"label":"K24 (F7,B3)", "x":4, "y":2},
32 {"label":"K25 (F7,B2)", "x":5, "y":2},
33 {"label":"K26 (F7,B6)", "x":6, "y":2},
34 {"label":"K27 (F7,E6)", "x":8, "y":2},
35 {"label":"K29 (F7,C4)", "x":9, "y":2},
36 {"label":"K2A (F7,C5)", "x":10, "y":2}
37
38 ]
39 }
40 }
41
42}
diff --git a/keyboards/handwired/consolekeyboard/27key/keymaps/default/keymap.c b/keyboards/handwired/consolekeyboard/27key/keymaps/default/keymap.c
new file mode 100644
index 000000000..a1f86a2e4
--- /dev/null
+++ b/keyboards/handwired/consolekeyboard/27key/keymaps/default/keymap.c
@@ -0,0 +1,26 @@
1/* Copyright 2021 Gareth Edwards
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
19const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20 [0] = LAYOUT(
21 KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_8, KC_9, KC_0,
22 KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_I, KC_O, KC_P,
23 KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_K, KC_L, KC_Z
24 ),
25
26};
diff --git a/keyboards/handwired/consolekeyboard/27key/keymaps/via/keymap.c b/keyboards/handwired/consolekeyboard/27key/keymaps/via/keymap.c
new file mode 100644
index 000000000..6a4610bd1
--- /dev/null
+++ b/keyboards/handwired/consolekeyboard/27key/keymaps/via/keymap.c
@@ -0,0 +1,40 @@
1/* Copyright 2021 Gareth Edwards
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
19const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20 [0] = LAYOUT(
21 KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_8, KC_9, KC_0,
22 KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_I, KC_O, KC_P,
23 KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_K, KC_L, KC_Z
24 ),
25[1] = LAYOUT(
26 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
27 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
28 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
29 ),
30[2] = LAYOUT(
31 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
32 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
33 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
34 ),
35[3] = LAYOUT(
36 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
37 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
38 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
39 ),
40 };
diff --git a/keyboards/handwired/consolekeyboard/27key/keymaps/via/rules.mk b/keyboards/handwired/consolekeyboard/27key/keymaps/via/rules.mk
new file mode 100644
index 000000000..1e5b99807
--- /dev/null
+++ b/keyboards/handwired/consolekeyboard/27key/keymaps/via/rules.mk
@@ -0,0 +1 @@
VIA_ENABLE = yes
diff --git a/keyboards/handwired/consolekeyboard/27key/readme.md b/keyboards/handwired/consolekeyboard/27key/readme.md
new file mode 100644
index 000000000..10ca4c64c
--- /dev/null
+++ b/keyboards/handwired/consolekeyboard/27key/readme.md
@@ -0,0 +1,16 @@
1# Console Keyboard
2
3[Console Keyboard](https://i.imgur.com/5aLT7CLl.jpeg)
4
5A 3d printed macro pad based on the Stream Cheap with 27keys
6
7* Keyboard Maintainer: [Gareth Edwards](https://github.com/gazeddy)
8* Hardware Supported: Arduino Pro Micro
9* Hardware Availability:https://www.thingiverse.com/thing:3167050
10
11Make example for this keyboard (after setting up your build environment):
12
13 make handwired/consolekeyboard/27key:default
14
15
16See 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/handwired/consolekeyboard/27key/rules.mk b/keyboards/handwired/consolekeyboard/27key/rules.mk
new file mode 100644
index 000000000..1b8f014d8
--- /dev/null
+++ b/keyboards/handwired/consolekeyboard/27key/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#
10BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
11MOUSEKEY_ENABLE = no # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = no # Console for debug
14COMMAND_ENABLE = yes # Commands for debug and configuration
15# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
16SLEEP_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
18NKRO_ENABLE = yes # USB Nkey Rollover
19BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
20RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
21BLUETOOTH_ENABLE = no # Enable Bluetooth
22AUDIO_ENABLE = no # Audio output
23LTO_ENABLE = yes # Link time optimize
diff --git a/keyboards/handwired/consolekeyboard/30key/30key.c b/keyboards/handwired/consolekeyboard/30key/30key.c
new file mode 100644
index 000000000..4500206dd
--- /dev/null
+++ b/keyboards/handwired/consolekeyboard/30key/30key.c
@@ -0,0 +1,16 @@
1/* Copyright 2021 Gareth Edwards
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 "30key.h"
diff --git a/keyboards/handwired/consolekeyboard/30key/30key.h b/keyboards/handwired/consolekeyboard/30key/30key.h
new file mode 100644
index 000000000..34008dcb0
--- /dev/null
+++ b/keyboards/handwired/consolekeyboard/30key/30key.h
@@ -0,0 +1,28 @@
1/* Copyright 2021 Gareth Edwards
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#define LAYOUT( \
21 K000, K001, K002, K004, K005, K006, K007, K009, K010, K011, \
22 K100, K101, K102, K104, K105, K106, K107, K109, K110, K111, \
23 K200, K201, K202, K204, K205, K206, K207, K209, K210, K211 \
24 ) { \
25 { K000, K001, K002, KC_NO, K004, K005, K006, K007, KC_NO, K009, K010, K011 }, \
26 { K100, K101, K102, KC_NO, K104, K105, K106, K107, KC_NO, K109, K110, K111 }, \
27 { K200, K201, K202, KC_NO, K204, K205, K206, K207, KC_NO, K209, K210, K211 }, \
28}
diff --git a/keyboards/handwired/consolekeyboard/30key/config.h b/keyboards/handwired/consolekeyboard/30key/config.h
new file mode 100644
index 000000000..447f4e2a9
--- /dev/null
+++ b/keyboards/handwired/consolekeyboard/30key/config.h
@@ -0,0 +1,67 @@
1/* Copyright 2021 Gareth Edwards
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 0x6761
23#define PRODUCT_ID 0x3433
24#define DEVICE_VER 0x0001
25#define MANUFACTURER Stream Cheap
26#define PRODUCT Console Keyboard 30
27/* key matrix size */
28#define MATRIX_ROWS 3
29#define MATRIX_COLS 12
30
31/*
32 * Keyboard Matrix Assignments
33 *
34 * Change this to how you wired your keyboard
35 * COLS: AVR pins used for columns, left to right
36 * ROWS: AVR pins used for rows, top to bottom
37 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
38 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
39 *
40 */
41#define MATRIX_ROW_PINS { D1, D0, F7}
42#define MATRIX_COL_PINS { D4, C6, D7, C4, B1, B3, B2, B6, C5, E6, B4, B5 }
43
44#define DIODE_DIRECTION COL2ROW
45
46#define RGB_DI_PIN F4
47#ifdef RGB_DI_PIN
48 #define RGBLED_NUM 6
49 #define RGBLIGHT_HUE_STEP 8
50 #define RGBLIGHT_SAT_STEP 8
51 #define RGBLIGHT_VAL_STEP 8
52 #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
53 #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
54/*== all animations enable ==*/
55 // #define RGBLIGHT_ANIMATIONS
56// /*== or choose animations ==*/
57 #define RGBLIGHT_EFFECT_BREATHING
58// #define RGBLIGHT_EFFECT_RAINBOW_MOOD
59// #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
60// #define RGBLIGHT_EFFECT_SNAKE
61// #define RGBLIGHT_EFFECT_KNIGHT
62// #define RGBLIGHT_EFFECT_CHRISTMAS
63// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
64// #define RGBLIGHT_EFFECT_RGB_TEST
65// #define RGBLIGHT_EFFECT_ALTERNATING
66#endif
67
diff --git a/keyboards/handwired/consolekeyboard/30key/info.json b/keyboards/handwired/consolekeyboard/30key/info.json
new file mode 100644
index 000000000..2b01cbb2c
--- /dev/null
+++ b/keyboards/handwired/consolekeyboard/30key/info.json
@@ -0,0 +1,44 @@
1{
2 "keyboard_name": "Console Keyboard",
3 "url": "https://www.thingiverse.com/thing:3167050",
4 "maintainer": "Gareth Edwards",
5 "width": 12,
6 "height": 3,
7 "layouts": {
8 "LAYOUT": {
9 "layout": [
10 {"label":"K00 (D1,D4)", "x":0, "y":0},
11 {"label":"K01 (D1,C6)", "x":1, "y":0},
12 {"label":"K02 (D1,D7)", "x":2, "y":0},
13 {"label":"K04 (D1,B3)", "x":4, "y":0},
14 {"label":"K05 (D1,B2)", "x":5, "y":0},
15 {"label":"K06 (D1,B6)", "x":6, "y":0},
16 {"label":"K07 (D1,E6)", "x":7, "y":0},
17 {"label":"K09 (D1,B5)", "x":9, "y":0},
18 {"label":"K0A (D1,C4)", "x":10, "y":0},
19 {"label":"K0B (D1,C5)", "x":11, "y":0},
20 {"label":"K10 (D0,D4)", "x":0, "y":1},
21 {"label":"K11 (D0,C6)", "x":1, "y":1},
22 {"label":"K12 (D0,D7)", "x":2, "y":1},
23 {"label":"K14 (D0,B3)", "x":4, "y":1},
24 {"label":"K15 (D0,B2)", "x":5, "y":1},
25 {"label":"K16 (D0,B6)", "x":6, "y":1},
26 {"label":"K17 (D0,E6)", "x":7, "y":1},
27 {"label":"K19 (D0,B5)", "x":9, "y":1},
28 {"label":"K1A (D0,C4)", "x":10, "y":1},
29 {"label":"K1B (D0,C5)", "x":11, "y":1},
30 {"label":"K20 (F7,D4)", "x":0, "y":2},
31 {"label":"K21 (F7,C6)", "x":1, "y":2},
32 {"label":"K22 (F7,D7)", "x":2, "y":2},
33 {"label":"K24 (F7,B3)", "x":4, "y":2},
34 {"label":"K25 (F7,B2)", "x":5, "y":2},
35 {"label":"K26 (F7,B6)", "x":6, "y":2},
36 {"label":"K27 (F7,E6)", "x":7, "y":2},
37 {"label":"K29 (F7,B5)", "x":9, "y":2},
38 {"label":"K2A (F7,C4)", "x":10, "y":2},
39 {"label":"K2B (F7,C5)", "x":11, "y":2}
40 ]
41 }
42 }
43
44}
diff --git a/keyboards/handwired/consolekeyboard/30key/keymaps/default/keymap.c b/keyboards/handwired/consolekeyboard/30key/keymaps/default/keymap.c
new file mode 100644
index 000000000..97bb384fe
--- /dev/null
+++ b/keyboards/handwired/consolekeyboard/30key/keymaps/default/keymap.c
@@ -0,0 +1,26 @@
1/* Copyright 2021 Gareth Edwards
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
19const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20 [0] = LAYOUT(
21 KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0,
22 KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,
23 KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_Q
24 ),
25
26};
diff --git a/keyboards/handwired/consolekeyboard/30key/keymaps/via/keymap.c b/keyboards/handwired/consolekeyboard/30key/keymaps/via/keymap.c
new file mode 100644
index 000000000..1b47baddf
--- /dev/null
+++ b/keyboards/handwired/consolekeyboard/30key/keymaps/via/keymap.c
@@ -0,0 +1,40 @@
1/* Copyright 2021 Gareth Edwards
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
19const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20 [0] = LAYOUT(
21 KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0,
22 KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,
23 KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_Z
24 ),
25[1] = LAYOUT(
26 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
27 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
28 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
29 ),
30[2] = LAYOUT(
31 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
32 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
33 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
34 ),
35[3] = LAYOUT(
36 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
37 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
38 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
39 ),
40 };
diff --git a/keyboards/handwired/consolekeyboard/30key/keymaps/via/rules.mk b/keyboards/handwired/consolekeyboard/30key/keymaps/via/rules.mk
new file mode 100644
index 000000000..1e5b99807
--- /dev/null
+++ b/keyboards/handwired/consolekeyboard/30key/keymaps/via/rules.mk
@@ -0,0 +1 @@
VIA_ENABLE = yes
diff --git a/keyboards/handwired/consolekeyboard/30key/readme.md b/keyboards/handwired/consolekeyboard/30key/readme.md
new file mode 100644
index 000000000..b24e3b199
--- /dev/null
+++ b/keyboards/handwired/consolekeyboard/30key/readme.md
@@ -0,0 +1,16 @@
1# Console Keyboard
2
3[Console Keyboard](https://i.imgur.com/5aLT7CLl.jpeg)
4
5A 3d printed macro pad based on the Stream Cheap with 30 keys
6
7* Keyboard Maintainer: [Gareth Edwards](https://github.com/gazeddy)
8* Hardware Supported: Arduino Pro Micro
9* Hardware Availability:https://www.thingiverse.com/thing:3167050
10
11Make example for this keyboard (after setting up your build environment):
12
13 make handwired/consolekeyboard/30key:default
14
15
16See 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/handwired/consolekeyboard/30key/rules.mk b/keyboards/handwired/consolekeyboard/30key/rules.mk
new file mode 100644
index 000000000..1b8f014d8
--- /dev/null
+++ b/keyboards/handwired/consolekeyboard/30key/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#
10BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
11MOUSEKEY_ENABLE = no # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = no # Console for debug
14COMMAND_ENABLE = yes # Commands for debug and configuration
15# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
16SLEEP_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
18NKRO_ENABLE = yes # USB Nkey Rollover
19BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
20RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
21BLUETOOTH_ENABLE = no # Enable Bluetooth
22AUDIO_ENABLE = no # Audio output
23LTO_ENABLE = yes # Link time optimize
diff --git a/keyboards/handwired/consolekeyboard/readme.md b/keyboards/handwired/consolekeyboard/readme.md
index 303a394bd..877245502 100644
--- a/keyboards/handwired/consolekeyboard/readme.md
+++ b/keyboards/handwired/consolekeyboard/readme.md
@@ -2,7 +2,7 @@
2 2
3[Console Keyboard](https://i.imgur.com/5aLT7CLl.jpeg) 3[Console Keyboard](https://i.imgur.com/5aLT7CLl.jpeg)
4 4
5A 3d printed macro pad based on the Stream Cheap 5A 3d printed macro pad based on the Stream Cheap with 18,20,27,or 30 keys
6 6
7* Keyboard Maintainer: [Gareth Edwards](https://github.com/gazeddy) 7* Keyboard Maintainer: [Gareth Edwards](https://github.com/gazeddy)
8* Hardware Supported: Arduino Pro Micro 8* Hardware Supported: Arduino Pro Micro
@@ -10,6 +10,10 @@ A 3d printed macro pad based on the Stream Cheap
10 10
11Make example for this keyboard (after setting up your build environment): 11Make example for this keyboard (after setting up your build environment):
12 12
13 make handwired/consolekeyboard:default 13 make handwired/consolekeyboard/18key:default
14 make handwired/consolekeyboard/20key:default
15 make handwired/consolekeyboard/27key:default
16 make handwired/consolekeyboard/30key:default
17
14 18
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). 19See 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).