aboutsummaryrefslogtreecommitdiff
path: root/keyboards/z150_bh
diff options
context:
space:
mode:
authorJames Young <18669334+noroadsleft@users.noreply.github.com>2020-05-30 13:14:59 -0700
committerGitHub <noreply@github.com>2020-05-30 13:14:59 -0700
commitfced377ac007d27f2650ccffbe0b18abcdcfe23d (patch)
treebd5b141987394a5a16cfc416bfe2b9efdb14d067 /keyboards/z150_bh
parent7b8a013826ad90714a05ea522de53adf964ab3b9 (diff)
downloadqmk_firmware-fced377ac007d27f2650ccffbe0b18abcdcfe23d.tar.gz
qmk_firmware-fced377ac007d27f2650ccffbe0b18abcdcfe23d.zip
2020 May 30 Breaking Changes Update (#9215)
* Branch point for 2020 May 30 Breaking Change * Migrate `ACTION_LAYER_TOGGLE` to `TG()` (#8954) * Migrate `ACTION_MODS_ONESHOT` to `OSM()` (#8957) * Migrate `ACTION_DEFAULT_LAYER_SET` to `DF()` (#8958) * Migrate `ACTION_LAYER_MODS` to `LM()` (#8959) * Migrate `ACTION_MODS_TAP_KEY` to `MT()` (#8968) * Convert V-USB usbdrv to a submodule (#8321) * Unify Tap Hold functions and documentation (#8348) * Changing board names to prevent confusion (#8412) * Move the Keyboardio Model01 to a keyboardio/ subdir (#8499) * Move spaceman keyboards (#8830) * Migrate miscellaneous `fn_actions` entries (#8977) * Migrate `ACTION_MODS_KEY` to chained mod keycodes (#8979) * Organizing my keyboards (plaid, tartan, ergoinu) (#8537) * Refactor Lily58 to use split_common (#6260) * Refactor zinc to use split_common (#7114) * Add a message if bin/qmk doesn't work (#9000) * Fix conflicting types for 'tfp_printf' (#8269) * Fixed RGB_DISABLE_AFTER_TIMEOUT to be seconds based & small internals cleanup (#6480) * Refactor and updates to TKC1800 code (#8472) * Switch to qmk forks for everything (#9019) * audio refactor: replace deprecated PLAY_NOTE_ARRAY (#8484) * Audio enable corrections (2/3) (#8903) * Split HHKB to ANSI and JP layouts and Add VIA support for each (#8582) * Audio enable corrections (Part 4) (#8974) * Fix typo from PR7114 (#9171) * Augment future branch Changelogs (#8978) * Revert "Branch point for 2020 May 30 Breaking Change"
Diffstat (limited to 'keyboards/z150_bh')
-rw-r--r--keyboards/z150_bh/config.h43
-rw-r--r--keyboards/z150_bh/info.json191
-rw-r--r--keyboards/z150_bh/keymaps/default/keymap.c48
-rw-r--r--keyboards/z150_bh/keymaps/default_tkl/keymap.c48
-rw-r--r--keyboards/z150_bh/readme.md14
-rw-r--r--keyboards/z150_bh/rules.mk26
-rw-r--r--keyboards/z150_bh/z150_bh.c32
-rw-r--r--keyboards/z150_bh/z150_bh.h31
8 files changed, 433 insertions, 0 deletions
diff --git a/keyboards/z150_bh/config.h b/keyboards/z150_bh/config.h
new file mode 100644
index 000000000..fc33021ff
--- /dev/null
+++ b/keyboards/z150_bh/config.h
@@ -0,0 +1,43 @@
1#pragma once
2
3#include "config_common.h"
4
5/* USB Device descriptor parameter */
6#define VENDOR_ID 0xFEED
7#define PRODUCT_ID 0x6060
8#define DEVICE_VER 0x0001
9#define MANUFACTURER blindassassin111
10#define PRODUCT Z-150 PCB
11#define DESCRIPTION Replacement for Zenith Z-150 PCB
12
13/* key matrix size */
14#define MATRIX_ROWS 5
15#define MATRIX_COLS 20
16
17/* key matrix pins */
18#define MATRIX_ROW_PINS { C3, C2, C1, C0, E1 }
19#define MATRIX_COL_PINS { D0, D1, D2, D3, D4, D5, D7, E0, C7, C6, C5, C4, F0, F1, F2, F3, F4, F5, F6, F7 }
20#define UNUSED_PINS
21
22/* COL2ROW or ROW2COL */
23#define DIODE_DIRECTION COL2ROW
24
25/* Set 0 if debouncing isn't needed */
26#define DEBOUNCE 5
27
28/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
29#define LOCKING_SUPPORT_ENABLE
30
31/* Locking resynchronize hack */
32#define LOCKING_RESYNC_ENABLE
33
34/* force n-key rollover*/
35#define FORCE_NKRO
36
37#ifdef RGB_DI_PIN
38#define RGBLIGHT_ANIMATIONS
39#define RGBLED_NUM 0
40#define RGBLIGHT_HUE_STEP 8
41#define RGBLIGHT_SAT_STEP 8
42#define RGBLIGHT_VAL_STEP 8
43#endif
diff --git a/keyboards/z150_bh/info.json b/keyboards/z150_bh/info.json
new file mode 100644
index 000000000..6e5c121f6
--- /dev/null
+++ b/keyboards/z150_bh/info.json
@@ -0,0 +1,191 @@
1{
2 "keyboard_name": "Z-150 BH",
3 "url": "",
4 "maintainer": "qmk, blindassassin111",
5 "width": 21.25,
6 "height": 5,
7 "layouts": {
8 "LAYOUT": {
9 "key_count": 84,
10 "layout": [
11 {"label":"F1", "x":0, "y":0},
12 {"label":"F2", "x":1, "y":0},
13 {"label":"Esc", "x":2.5, "y":0},
14 {"label":"!", "x":3.5, "y":0},
15 {"label":"@", "x":4.5, "y":0},
16 {"label":"#", "x":5.5, "y":0},
17 {"label":"$", "x":6.5, "y":0},
18 {"label":"%", "x":7.5, "y":0},
19 {"label":"^", "x":8.5, "y":0},
20 {"label":"&", "x":9.5, "y":0},
21 {"label":"*", "x":10.5, "y":0},
22 {"label":"(", "x":11.5, "y":0},
23 {"label":")", "x":12.5, "y":0},
24 {"label":"_", "x":13.5, "y":0},
25 {"label":"+", "x":14.5, "y":0},
26 {"label":"Backspace", "x":15.5, "y":0, "w":1.75},
27 {"label":"Num Lock", "x":17.25, "y":0},
28 {"label":"Scroll Lock", "x":18.25, "y":0, "w":1.5},
29 {"label":"Sys Req", "x":19.75, "y":0, "w":1.5},
30 {"label":"F3", "x":0, "y":1},
31 {"label":"F4", "x":1, "y":1},
32 {"label":"Tab", "x":2.5, "y":1, "w":1.5},
33 {"label":"Q", "x":4, "y":1},
34 {"label":"W", "x":5, "y":1},
35 {"label":"E", "x":6, "y":1},
36 {"label":"R", "x":7, "y":1},
37 {"label":"T", "x":8, "y":1},
38 {"label":"Y", "x":9, "y":1},
39 {"label":"U", "x":10, "y":1},
40 {"label":"I", "x":11, "y":1},
41 {"label":"O", "x":12, "y":1},
42 {"label":"P", "x":13, "y":1},
43 {"label":"{", "x":14, "y":1},
44 {"label":"}", "x":15, "y":1, "w":1.25},
45 {"label":"Enter", "x":15.25, "y":2, "w":2},
46 {"label":"7", "x":17.25, "y":1},
47 {"label":"8", "x":18.25, "y":1},
48 {"label":"9", "x":19.25, "y":1},
49 {"label":"PrtSc", "x":20.25, "y":1},
50 {"label":"F5", "x":0, "y":2},
51 {"label":"F6", "x":1, "y":2},
52 {"label":"Ctrl", "x":2.5, "y":2, "w":1.75},
53 {"label":"A", "x":4.25, "y":2},
54 {"label":"S", "x":5.25, "y":2},
55 {"label":"D", "x":6.25, "y":2},
56 {"label":"F", "x":7.25, "y":2},
57 {"label":"G", "x":8.25, "y":2},
58 {"label":"H", "x":9.25, "y":2},
59 {"label":"J", "x":10.25, "y":2},
60 {"label":"K", "x":11.25, "y":2},
61 {"label":"L", "x":12.25, "y":2},
62 {"label":":", "x":13.25, "y":2},
63 {"label":"\"", "x":14.25, "y":2},
64 {"label":"4", "x":17.25, "y":2},
65 {"label":"5", "x":18.25, "y":2},
66 {"label":"6", "x":19.25, "y":2},
67 {"label":"-", "x":20.25, "y":2},
68 {"label":"F7", "x":0, "y":3},
69 {"label":"F8", "x":1, "y":3},
70 {"label":"Shift", "x":2.5, "y":3, "w":2.25},
71 {"label":"Z", "x":4.75, "y":3},
72 {"label":"X", "x":5.75, "y":3},
73 {"label":"C", "x":6.75, "y":3},
74 {"label":"V", "x":7.75, "y":3},
75 {"label":"B", "x":8.75, "y":3},
76 {"label":"N", "x":9.75, "y":3},
77 {"label":"M", "x":10.75, "y":3},
78 {"label":"<", "x":11.75, "y":3},
79 {"label":">", "x":12.75, "y":3},
80 {"label":"?", "x":13.75, "y":3},
81 {"label":"Shift", "x":14.75, "y":3, "w":1.5},
82 {"label":"|", "x":16.25, "y":3},
83 {"label":"1", "x":17.25, "y":3},
84 {"label":"2", "x":18.25, "y":3},
85 {"label":"3", "x":19.25, "y":3},
86 {"label":"+", "x":20.25, "y":3, "h":2},
87 {"label":"F9", "x":0, "y":4},
88 {"label":"F10", "x":1, "y":4},
89 {"label":"Alt", "x":2.5, "y":4, "w":1.75},
90 {"label":"~", "x":4.25, "y":4},
91 {"label":"Space", "x":5.25, "y":4, "w":9},
92 {"label":"Caps Lock", "x":14.25, "y":4, "w":2},
93 {"label":"0", "x":16.25, "y":4, "w":2},
94 {"label":".", "x":18.25, "y":4, "w":2}
95 ]
96 },
97 "LAYOUT_z150_tkl": {
98 "key_count": 88,
99 "layout": [
100 {"label":"F1", "x":0, "y":0},
101 {"label":"F2", "x":1, "y":0},
102 {"label":"Esc", "x":2.5, "y":0},
103 {"label":"1", "x":3.5, "y":0},
104 {"label":"2", "x":4.5, "y":0},
105 {"label":"3", "x":5.5, "y":0},
106 {"label":"4", "x":6.5, "y":0},
107 {"label":"5", "x":7.5, "y":0},
108 {"label":"6", "x":8.5, "y":0},
109 {"label":"7", "x":9.5, "y":0},
110 {"label":"8", "x":10.5, "y":0},
111 {"label":"9", "x":11.5, "y":0},
112 {"label":"0", "x":12.5, "y":0},
113 {"label":"-", "x":13.5, "y":0},
114 {"label":"=", "x":14.5, "y":0},
115 {"label":"Backspace", "x":15.5, "y":0, "w":2},
116 {"label":"Insert", "x":18.25, "y":0},
117 {"label":"Home", "x":19.25, "y":0},
118 {"label":"PgUp", "x":20.25, "y":0},
119 {"label":"F3", "x":0, "y":1},
120 {"label":"F4", "x":1, "y":1},
121 {"label":"Tab", "x":2.5, "y":1, "w":1.5},
122 {"label":"Q", "x":4, "y":1},
123 {"label":"W", "x":5, "y":1},
124 {"label":"E", "x":6, "y":1},
125 {"label":"R", "x":7, "y":1},
126 {"label":"T", "x":8, "y":1},
127 {"label":"Y", "x":9, "y":1},
128 {"label":"U", "x":10, "y":1},
129 {"label":"I", "x":11, "y":1},
130 {"label":"O", "x":12, "y":1},
131 {"label":"P", "x":13, "y":1},
132 {"label":"[", "x":14, "y":1},
133 {"label":"]", "x":15, "y":1},
134 {"label":"\\", "x":16, "y":1, "w":1.5},
135 {"label":"Delete", "x":18.25, "y":1},
136 {"label":"End", "x":19.25, "y":1},
137 {"label":"PgDn", "x":20.25, "y":1},
138 {"label":"F5", "x":0, "y":2},
139 {"label":"F6", "x":1, "y":2},
140 {"label":"Caps Lock", "x":2.5, "y":2, "w":1.75},
141 {"label":"A", "x":4.25, "y":2},
142 {"label":"S", "x":5.25, "y":2},
143 {"label":"D", "x":6.25, "y":2},
144 {"label":"F", "x":7.25, "y":2},
145 {"label":"G", "x":8.25, "y":2},
146 {"label":"H", "x":9.25, "y":2},
147 {"label":"J", "x":10.25, "y":2},
148 {"label":"K", "x":11.25, "y":2},
149 {"label":"L", "x":12.25, "y":2},
150 {"label":";", "x":13.25, "y":2},
151 {"label":"'", "x":14.25, "y":2},
152 {"label":"Enter", "x":15.25, "y":2, "w":2.25},
153 {"x":18.25, "y":2},
154 {"x":19.25, "y":2},
155 {"x":20.25, "y":2},
156 {"label":"F7", "x":0, "y":3},
157 {"label":"F8", "x":1, "y":3},
158 {"label":"Shift", "x":2.5, "y":3, "w":1.25},
159 {"label":"ISO \\", "x":3.75, "y":3},
160 {"label":"Z", "x":4.75, "y":3},
161 {"label":"X", "x":5.75, "y":3},
162 {"label":"C", "x":6.75, "y":3},
163 {"label":"V", "x":7.75, "y":3},
164 {"label":"B", "x":8.75, "y":3},
165 {"label":"N", "x":9.75, "y":3},
166 {"label":"M", "x":10.75, "y":3},
167 {"label":",", "x":11.75, "y":3},
168 {"label":".", "x":12.75, "y":3},
169 {"label":"/", "x":13.75, "y":3},
170 {"label":"Shift", "x":14.75, "y":3, "w":1.75},
171 {"label":"Fn", "x":16.5, "y":3},
172 {"x":18.25, "y":3},
173 {"label":"Up", "x":19.25, "y":3},
174 {"x":20.25, "y":3},
175 {"label":"F9", "x":0, "y":4},
176 {"label":"F10", "x":1, "y":4},
177 {"label":"Ctrl", "x":2.5, "y":4, "w":1.25},
178 {"label":"Win", "x":3.75, "y":4, "w":1.25},
179 {"label":"Alt", "x":5, "y":4, "w":1.25},
180 {"label":"Space", "x":6.25, "y":4, "w":6.25},
181 {"label":"Alt", "x":12.5, "y":4, "w":1.25},
182 {"label":"Win", "x":13.75, "y":4, "w":1.25},
183 {"label":"Menu", "x":15, "y":4, "w":1.25},
184 {"label":"Ctrl", "x":16.25, "y":4, "w":1.25},
185 {"label":"Left", "x":18.25, "y":4},
186 {"label":"Down", "x":19.25, "y":4},
187 {"label":"Right", "x":20.25, "y":4}
188 ]
189 }
190 }
191}
diff --git a/keyboards/z150_bh/keymaps/default/keymap.c b/keyboards/z150_bh/keymaps/default/keymap.c
new file mode 100644
index 000000000..ff4f6f7f9
--- /dev/null
+++ b/keyboards/z150_bh/keymaps/default/keymap.c
@@ -0,0 +1,48 @@
1/* Copyright 2018 blindassassin111
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 QMK_KEYBOARD_H
17
18const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
19
20 [0] = LAYOUT(
21 KC_F1, KC_F2, KC_ESC, 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_NLCK, KC_SLCK, MO(1),
22 KC_F3, KC_F4, 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_ENT, KC_P7, KC_P8, KC_P9, KC_PAST,
23 KC_F5, KC_F6, KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_P4, KC_P5, KC_P6, KC_PMNS,
24 KC_F7, KC_F8, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_BSLS, KC_P1, KC_P2, KC_P3, KC_PPLS,
25 KC_F9, KC_F10, KC_LALT, KC_GRV, KC_SPC, KC_CAPS, KC_P0, KC_PDOT
26 ),
27
28 [1] = LAYOUT(
29 _______, _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
30 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
31 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
32 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
33 _______, _______, _______, _______, _______, _______, _______, _______
34 ),
35};
36
37void matrix_init_user(void) {
38}
39
40void matrix_scan_user(void) {
41}
42
43bool process_record_user(uint16_t keycode, keyrecord_t *record) {
44 return true;
45}
46
47void led_set_user(uint8_t usb_led) {
48} \ No newline at end of file
diff --git a/keyboards/z150_bh/keymaps/default_tkl/keymap.c b/keyboards/z150_bh/keymaps/default_tkl/keymap.c
new file mode 100644
index 000000000..f1a24b8dd
--- /dev/null
+++ b/keyboards/z150_bh/keymaps/default_tkl/keymap.c
@@ -0,0 +1,48 @@
1/* Copyright 2018 blindassassin111
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 QMK_KEYBOARD_H
17
18const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
19
20 [0] = LAYOUT_z150_tkl(
21 KC_F1, KC_F2, KC_ESC, 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_HOME, KC_PGUP,
22 KC_F3, KC_F4, 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_DEL, KC_END, KC_PGDN,
23 KC_F5, KC_F6, 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, XXXXXXX, XXXXXXX, XXXXXXX,
24 KC_F7, KC_F8, KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), XXXXXXX, KC_UP, XXXXXXX,
25 KC_F9, KC_F10, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_MENU, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
26 ),
27
28 [1] = LAYOUT_z150_tkl(
29 _______, _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
30 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
31 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
32 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
33 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
34 ),
35};
36
37void matrix_init_user(void) {
38}
39
40void matrix_scan_user(void) {
41}
42
43bool process_record_user(uint16_t keycode, keyrecord_t *record) {
44 return true;
45}
46
47void led_set_user(uint8_t usb_led) {
48} \ No newline at end of file
diff --git a/keyboards/z150_bh/readme.md b/keyboards/z150_bh/readme.md
new file mode 100644
index 000000000..a1d484580
--- /dev/null
+++ b/keyboards/z150_bh/readme.md
@@ -0,0 +1,14 @@
1Z-150 BH PCB
2===
3
4A replacement PCB for Zenith Z-150 keyboards.
5
6Keyboard Maintainer: QMK Community and blindassassin111
7Hardware Supported: Z-150 BH PCB
8Hardware Availability: [Deskthority Group Buy](https://deskthority.net/group-buys-f50/programmable-vintage-board-pcbs-omnikey-at101-and-z-150-t19325.html)
9
10Make example for this keyboard (after setting up your build environment):
11
12 make z150_bh:default
13
14See 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/z150_bh/rules.mk b/keyboards/z150_bh/rules.mk
new file mode 100644
index 000000000..739bea393
--- /dev/null
+++ b/keyboards/z150_bh/rules.mk
@@ -0,0 +1,26 @@
1# MCU name
2MCU = at90usb1286
3
4# Bootloader selection
5# Teensy halfkay
6# Pro Micro caterina
7# Atmel DFU atmel-dfu
8# LUFA DFU lufa-dfu
9# QMK DFU qmk-dfu
10# ATmega32A bootloadHID
11# ATmega328P USBasp
12BOOTLOADER = halfkay
13
14# Build Options
15# comment out to disable the options.
16#
17BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration
18MOUSEKEY_ENABLE = yes # Mouse keys
19EXTRAKEY_ENABLE = yes # Audio control and System control
20CONSOLE_ENABLE = no # Console for debug
21COMMAND_ENABLE = no # Commands for debug and configuration
22SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
23NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
24BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
25AUDIO_ENABLE = no
26RGBLIGHT_ENABLE = no
diff --git a/keyboards/z150_bh/z150_bh.c b/keyboards/z150_bh/z150_bh.c
new file mode 100644
index 000000000..6db784b56
--- /dev/null
+++ b/keyboards/z150_bh/z150_bh.c
@@ -0,0 +1,32 @@
1#include "z150_bh.h"
2
3void matrix_init_kb(void) {
4 setPinOutput(B0);
5 setPinOutput(E6);
6 setPinOutput(E7);
7
8 matrix_init_user();
9};
10
11void led_set_kb(uint8_t usb_led) {
12 // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
13 if (IS_LED_ON(usb_led, USB_LED_NUM_LOCK)) {
14 writePinHigh(E7);
15 } else {
16 writePinLow(E7);
17 }
18
19 if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
20 writePinHigh(B0);
21 } else {
22 writePinLow(B0);
23 }
24
25 if (IS_LED_ON(usb_led, USB_LED_SCROLL_LOCK)) {
26 writePinHigh(E6);
27 } else {
28 writePinLow(E6);
29 }
30
31 led_set_user(usb_led);
32}
diff --git a/keyboards/z150_bh/z150_bh.h b/keyboards/z150_bh/z150_bh.h
new file mode 100644
index 000000000..f97ac1c03
--- /dev/null
+++ b/keyboards/z150_bh/z150_bh.h
@@ -0,0 +1,31 @@
1#pragma once
2
3#include "quantum.h"
4
5#define LAYOUT( \
6 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, K0G, K0H, K0J, \
7 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F, K1G, K1H, K1I, K1J, \
8 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2F, K2G, K2H, K2I, \
9 K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, K3F, K3G, K3H, K3I, \
10 K40, K41, K42, K43, K47, K4E, K4F, K4H \
11) { \
12 { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, K0G, K0H, KC_NO, K0J }, \
13 { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F, K1G, K1H, K1I, K1J }, \
14 { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, KC_NO, K2F, K2G, K2H, K2I, KC_NO }, \
15 { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, K3F, K3G, K3H, K3I, KC_NO }, \
16 { K40, K41, K42, K43, KC_NO, KC_NO, KC_NO, K47, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, K4E, K4F, KC_NO, K4H, KC_NO, KC_NO } \
17}
18
19#define LAYOUT_z150_tkl( \
20 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, K0H, K0I, K0J, \
21 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F, K1H, K1I, K1J, \
22 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2G, K2H, K2I, \
23 K30, K31, K32, K45, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, K3G, K3H, K3I, \
24 K40, K41, K42, K43, K44, K47, K4C, K4D, K4E, K4F, K4G, K4H, K4I \
25) { \
26 { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, KC_NO, K0H, K0I, K0J }, \
27 { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F, KC_NO, K1H, K1I, K1J }, \
28 { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, KC_NO, K2G, K2H, K2I, KC_NO }, \
29 { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, KC_NO, K3G, K3H, K3I, KC_NO }, \
30 { K40, K41, K42, K43, K44, K45, KC_NO, K47, KC_NO, KC_NO, KC_NO, KC_NO, K4C, K4D, K4E, K4F, K4G, K4H, K4I, KC_NO } \
31}