4f9ef90754a79774da5685b786403c130d836ac4

Author
HereVoLand <65162585+Vem-596@users.noreply.github.com>
Committer
GitHub <noreply@github.com>
Date

Message

Add keyboard buff75 (#24297)

* Create herevoland

* Delete keyboards/herevoland

* Add files via upload

* Delete keyboards/herevoland/buff75 directory

* Add files via upload

* Delete keyboards/herevoland/buff75/buff75.h

* Delete keyboards/herevoland/buff75/rules.mk

* Delete keyboards/herevoland/buff75/halconf.h

* Update and rename info.json to keyboard.json

* Delete keyboards/herevoland/buff75/matrix_diagram.md

* Update readme.md

* Update readme.md

* Add files via upload

* Delete keyboards/herevoland/buff75/keymaps/via directory

* Update readme.md

* Update keymap.c

* Update matrix_diagram.md

* Update readme.md

* Update keyboard.json

* Update readme.md

* Update matrix_diagram.md

* Update keyboard.json

* Update keymap.c

* Update keymap.c

* Update keyboard.json

* Update mcuconf.h

* Delete keyboards/herevoland/buff75/mcuconf.h

Diff

This diff is truncated to protect this page.

  1diff --git a/keyboards/herevoland/buff75/keyboard.json b/keyboards/herevoland/buff75/keyboard.json
  2new file mode 100644
  3index 0000000000000000000000000000000000000000..15f3e27ac18c20e03853e0a322ba832eaac31bbf
  4--- /dev/null
  5+++ b/keyboards/herevoland/buff75/keyboard.json
  6@@ -0,0 +1,137 @@
  7+{
  8+    "keyboard_name": "Buff75",
  9+    "processor": "STM32F103",
 10+    "bootloader": "stm32duino",
 11+    "manufacturer": "HereVoLand",
 12+    "url": "",
 13+    "maintainer": "Here VoLand @Vem",
 14+    "usb": {
 15+        "vid": "0xB727",
 16+        "pid": "0xB727",
 17+        "device_version": "0.0.1"
 18+    },
 19+    "features": {
 20+        "bootmagic": true,
 21+        "mousekey": true,
 22+        "extrakey": true,
 23+        "nkro": true,
 24+        "rgblight": true
 25+    },
 26+    "rgblight": {
 27+        "led_count": 1,
 28+        "brightness_steps": 8,
 29+        "saturation_steps": 8,
 30+        "sleep": true,
 31+        "animations": {
 32+            "breathing": true,
 33+            "rainbow_mood": true,
 34+            "rainbow_swirl": true,
 35+            "snake": true,
 36+            "knight": true,
 37+            "christmas": true,
 38+            "static_gradient": true,
 39+            "alternating": true,
 40+            "twinkle": true
 41+        }
 42+    }, 
 43+    "ws2812": {
 44+        "pin": "B2"
 45+    },
 46+    "diode_direction": "COL2ROW",
 47+    "matrix_pins": {
 48+        "cols": ["B9", "B8", "B7", "B6", "B5", "B4", "B3", "A15", "A8", "B15", "B14", "B13", "B12", "A3", "A4" ],
 49+        "rows": ["A5", "B10", "B1", "B0", "A7", "A6"]
 50+    },
 51+    "layouts": {
 52+        "LAYOUT": { 
 53+            "layout": [
 54+                        {"label":"Esc", "matrix": [0,0], "x":0, "y":0},
 55+                        {"label":"F1", "matrix": [0,1], "x":1.5, "y":0},
 56+                        {"label":"F2", "matrix": [0,2], "x":2.5, "y":0},
 57+                        {"label":"F3", "matrix": [0,3], "x":3.5, "y":0},
 58+                        {"label":"F4", "matrix": [0,4], "x":4.5, "y":0},
 59+                        {"label":"F5", "matrix": [0,6], "x":6, "y":0},
 60+                        {"label":"F6", "matrix": [0,7], "x":7, "y":0},
 61+                        {"label":"F7", "matrix": [0,8], "x":8, "y":0},
 62+                        {"label":"F8", "matrix": [0,9], "x":9, "y":0},
 63+                        {"label":"F9", "matrix": [0,10], "x":10.5, "y":0},
 64+                        {"label":"F10", "matrix": [0,11], "x":11.5, "y":0},
 65+                        {"label":"F11", "matrix": [0,12], "x":12.5, "y":0},
 66+                        {"label":"F12", "matrix": [0,13], "x":13.5, "y":0},
 67+                        {"label":"Home", "matrix": [0,14], "x":15, "y":0},
 68+
 69+                        {"label":"`~", "matrix": [1,0], "x":0, "y":1.25},
 70+                        {"label":"1!", "matrix": [1,1], "x":1, "y":1.25},
 71+                        {"label":"2@", "matrix": [1,2], "x":2, "y":1.25},
 72+                        {"label":"3#", "matrix": [1,3], "x":3, "y":1.25},
 73+                        {"label":"4$", "matrix": [1,4], "x":4, "y":1.25},
 74+                        {"label":"5%", "matrix": [1,5], "x":5, "y":1.25},
 75+                        {"label":"6^", "matrix": [1,6], "x":6, "y":1.25},
 76+                        {"label":"7&", "matrix": [1,7], "x":7, "y":1.25},
 77+                        {"label":"8*", "matrix": [1,8], "x":8, "y":1.25},
 78+                        {"label":"9(", "matrix": [1,9], "x":9, "y":1.25},
 79+                        {"label":"0)", "matrix": [1,10], "x":10, "y":1.25},
 80+                        {"label":"-_", "matrix": [1,11], "x":11, "y":1.25},
 81+                        {"label":"=+", "matrix": [1,12], "x":12, "y":1.25},
 82+                        {"label":"Backspace", "matrix": [1,13], "x":13, "y":1.25},
 83+                        {"label":"Page Up", "matrix": [1,14], "x":15, "y":1.25},
 84+
 85+                        {"label":"Tab", "matrix": [2,0], "x":0, "y":2.25, "w":1.5},
 86+                        {"label":"Q", "matrix": [2,1], "x":1.5, "y":2.25},
 87+                        {"label":"W", "matrix": [2,2], "x":2.5, "y":2.25},
 88+                        {"label":"E", "matrix": [2,3], "x":3.5, "y":2.25},
 89+                        {"label":"R", "matrix": [2,4], "x":4.5, "y":2.25}, 
 90+                        {"label":"T", "matrix": [2,5], "x":5.5, "y":2.25},
 91+                        {"label":"Y", "matrix": [2,6], "x":6.5, "y":2.25},
 92+                        {"label":"U", "matrix": [2,7], "x":7.5, "y":2.25},
 93+                        {"label":"I", "matrix": [2,8], "x":8.5, "y":2.25},
 94+                        {"label":"O", "matrix": [2,9], "x":9.5, "y":2.25},
 95+                        {"label":"P", "matrix": [2,10], "x":10.5, "y":2.25},
 96+                        {"label":"[", "matrix": [2,11], "x":11.5, "y":2.25},
 97+                        {"label":"]", "matrix": [2,12], "x":12.5, "y":2.25},
 98+                        {"label":"\\", "matrix": [2,13], "x":13.5, "y":2.25, "w":1.5},
 99+                        {"label":"Page Down", "matrix": [2,14], "x":15, "y":2.25},
100+
101+                        {"label":"Caps Lock", "matrix": [3,0], "x":0, "y":3.25, "w":1.75},
102+                        {"label":"A", "matrix": [3,1], "x":1.75, "y":3.25},
103+                        {"label":"S", "matrix": [3,2], "x":2.75, "y":3.25},
104+                        {"label":"D", "matrix": [3,3], "x":3.75, "y":3.25},
105+                        {"label":"F", "matrix": [3,4], "x":4.75, "y":3.25},
106diff --git a/keyboards/herevoland/buff75/keymaps/default/keymap.c b/keyboards/herevoland/buff75/keymaps/default/keymap.c
107new file mode 100644
108index 0000000000000000000000000000000000000000..28762b9a17c097235105f6589169a094aecbbf15
109--- /dev/null
110+++ b/keyboards/herevoland/buff75/keymaps/default/keymap.c
111@@ -0,0 +1,36 @@
112+/* Copyright 2024 楽(HereVoLand @Vem)
113+ *
114+ * This program is free software: you can redistribute it and/or modify
115+ * it under the terms of the GNU General Public License as published by
116+ * the Free Software Foundation, either version 2 of the License, or
117+ * (at your option) any later version.
118+ *
119+ * This program is distributed in the hope that it will be useful,
120+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
121+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
122+ * GNU General Public License for more details.
123+ *
124+ * You should have received a copy of the GNU General Public License
125+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
126+ */
127+
128+#include QMK_KEYBOARD_H
129+
130+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
131+    [0] = LAYOUT(
132+        KC_ESC,  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_HOME,
133+        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_PGUP,
134+        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_PGDN,
135+        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_DEL,
136+        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_UP,   KC_END,
137+        KC_LCTL, KC_LGUI,KC_LALT,                    KC_SPC,                        KC_RALT, MO(1),   KC_LEFT, KC_DOWN, KC_RIGHT
138+    ),
139+    [1] = LAYOUT( 
140+        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_PSCR,
141+        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,
142+        KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, KC_UP,   KC_END,  KC_TRNS, KC_TRNS,
143+        KC_CAPS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT,          KC_TRNS, KC_TRNS,
144+        KC_TRNS,          KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_END,  KC_PGDN, KC_DOWN, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
145+        KC_LCTL, KC_TRNS, KC_TRNS,                            KC_TRNS,                            KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
146+    )
147+};
148diff --git a/keyboards/herevoland/buff75/matrix_diagram.md b/keyboards/herevoland/buff75/matrix_diagram.md
149new file mode 100644
150index 0000000000000000000000000000000000000000..35cca7ec06f4084b84c3bd877fac51b27650b497
151--- /dev/null
152+++ b/keyboards/herevoland/buff75/matrix_diagram.md
153@@ -0,0 +1,18 @@
154+# Matrix Diagram for Buff75
155+
156+```
157+            ┌───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┬───┐ ┌───┐
158+            │00 │ │01 │02 │03 │04 │ │06 │07 │08 │09 │ │0A │0B │0C │0D │ │0E │
159+            └───┘ └───┴───┴───┴───┘ └───┴───┴───┴───┘ └───┴───┴───┴───┘ └───┘
160+            ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐
161+            │10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1A │1B │1C │1D     │1E │
162+            ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬──┼───┤
163+            │20   │21 │22 │23 │24 │25 │26 │27 │28 │29 │2A │2B │2C    │2D│2E │
164+            ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬─────┴──┼───┤
165+            │30    │31 │32 │33 │34 │35 │36 │37 │38 │39 │3A │3B │3D      │3E │
166+            ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤
167+            │40      │42 │43 │44 │45 │46 │47 │48 │49 │4A │4B │4C    │4D │4E │
168+            ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴───┴┬─┬───┼───┼───┤
169+            │50  │51  │52  │56                      │5A │ 5B  │ │5C │5D |5E |
170+            └────┴────┴────┴────────────────────────┴───┴─────┘ └───┴───┘───┘
171+```
172diff --git a/keyboards/herevoland/buff75/readme.md b/keyboards/herevoland/buff75/readme.md
173new file mode 100644
174index 0000000000000000000000000000000000000000..b5ce6407d71293b2e446267c9ef4fa3430c26d1c
175--- /dev/null
176+++ b/keyboards/herevoland/buff75/readme.md
177@@ -0,0 +1,25 @@
178+# Buff75
179+
180+![Buff75](https://imgur.com/pQfzIZr.jpg)
181+An 75%/TenKeyLess sized keyboard with 1 RGB.
182+
183+* Keyboard Maintainer: [HereVoLand](https://github.com/Vem-596)
184+* Hardware Supported: buff75
185+* Hardware Availability: [BUFF Customer-Keyboard](https://shop107132374.taobao.com)
186+
187+Make example for this keyboard (after setting up your build environment):
188+
189+    make herevoland/buff75:default
190+    
191+Flashing example for this keyboard:
192+
193+    make herevoland/buff75:default:flash
194+