Skip to content

Commit

Permalink
[Keyboard] Add Macropad VRYNBOARD (qmk#23931)
Browse files Browse the repository at this point in the history
Co-authored-by: jack <[email protected]>
Co-authored-by: Ryan <[email protected]>
Co-authored-by: Joel Challis <[email protected]>
Co-authored-by: jack <[email protected]>
Co-authored-by: ZahraNetMe <[email protected]>
  • Loading branch information
6 people authored Aug 26, 2024
1 parent c134822 commit 8b42e5f
Show file tree
Hide file tree
Showing 5 changed files with 483 additions and 0 deletions.
25 changes: 25 additions & 0 deletions keyboards/zlabkeeb/vrynboard/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
Copyright 2024 zlabkeeb ([email protected])
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#define OLED_TIMEOUT 180000
#define I2C1_SDA_PIN GP26
#define I2C1_SCL_PIN GP27
#define I2C_DRIVER I2CD1
#define DYNAMIC_KEYMAP_MACRO_COUNT 30
#define WEAR_LEVELING_BACKING_SIZE 16384
99 changes: 99 additions & 0 deletions keyboards/zlabkeeb/vrynboard/keyboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
{
"manufacturer": "zlabkeeb",
"keyboard_name": "VRYNBOARD",
"maintainer": "zlabkeeb",
"bootloader": "rp2040",
"build": {
"lto": true
},
"diode_direction": "COL2ROW",
"features": {
"bootmagic": true,
"extrakey": true,
"mousekey": true,
"oled": true,
"rgb_matrix": true
},
"matrix_pins": {
"cols": ["GP13", "GP11", "GP9"],
"rows": ["GP14", "GP12", "GP10", "GP8"]
},
"rgb_matrix": {
"animations": {
"alphas_mods": true,
"gradient_up_down": true,
"breathing": true,
"band_sat": true,
"band_val": true,
"band_pinwheel_sat": true,
"band_pinwheel_val": true,
"cycle_all": true,
"cycle_up_down": true,
"cycle_out_in": true,
"cycle_pinwheel": true,
"dual_beacon": true,
"rainbow_pinwheels": true,
"raindrops": true,
"jellybean_raindrops": true,
"hue_breathing": true,
"hue_pendulum": true,
"hue_wave": true,
"pixel_fractal": true,
"pixel_flow": true,
"pixel_rain": true,
"solid_reactive_simple": true,
"solid_reactive": true,
"solid_reactive_multiwide": true,
"solid_reactive_multicross": true,
"solid_reactive_multinexus": true,
"multisplash": true,
"solid_multisplash": true
},
"driver": "ws2812",
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0, "flags": 4},
{"matrix": [1, 0], "x": 0, "y": 21, "flags": 4},
{"matrix": [1, 1], "x": 112, "y": 21, "flags": 4},
{"matrix": [1, 2], "x": 224, "y": 21, "flags": 4},
{"matrix": [2, 0], "x": 0, "y": 43, "flags": 4},
{"matrix": [2, 1], "x": 112, "y": 43, "flags": 4},
{"matrix": [2, 2], "x": 224, "y": 43, "flags": 4},
{"matrix": [3, 0], "x": 0, "y": 64, "flags": 4},
{"matrix": [3, 1], "x": 112, "y": 64, "flags": 4},
{"matrix": [3, 2], "x": 224, "y": 64, "flags": 4}
],
"max_brightness": 200,
"sat_steps": 8,
"speed_steps": 10,
"val_steps": 8,
"react_on_keyup": true,
"sleep": true
},
"ws2812": {
"driver": "vendor",
"pin": "GP15"
},
"processor": "RP2040",
"url": "https://github.com/zlabkeeb",
"usb": {
"device_version": "1.0.0",
"pid": "0x4445",
"vid": "0x4154"
},
"layouts": {
"LAYOUT": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [1, 0], "x": 0, "y": 1},
{"matrix": [1, 1], "x": 1, "y": 1},
{"matrix": [1, 2], "x": 2, "y": 1},
{"matrix": [2, 0], "x": 0, "y": 2},
{"matrix": [2, 1], "x": 1, "y": 2},
{"matrix": [2, 2], "x": 2, "y": 2},
{"matrix": [3, 0], "x": 0, "y": 3},
{"matrix": [3, 1], "x": 1, "y": 3},
{"matrix": [3, 2], "x": 2, "y": 3}
]
}
}
}
49 changes: 49 additions & 0 deletions keyboards/zlabkeeb/vrynboard/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
/*
Copyright 2024 zlabkeeb ([email protected])
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

[0] = LAYOUT(
QK_KB_0,
KC_VOLD, KC_MUTE, KC_VOLU,
KC_LEFT, KC_MPLY, KC_RGHT,
KC_ESC, KC_PSCR, KC_DEL
),

[1] = LAYOUT(
QK_KB_0,
KC_1, KC_2, KC_3,
KC_4, KC_6, KC_7,
KC_TRNS, KC_TRNS, KC_TRNS
),

[2] = LAYOUT(
QK_KB_0,
KC_J, KC_K, KC_L,
KC_M, KC_N, KC_O,
KC_TRNS, KC_TRNS, KC_TRNS
),

[3] = LAYOUT(
QK_KB_0,
UG_NEXT, UG_TOGG, UG_PREV,
UG_HUED, KC_ESC, UG_HUEU,
UG_VALD, KC_ENT, UG_VALU
)
};
26 changes: 26 additions & 0 deletions keyboards/zlabkeeb/vrynboard/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# VRYNBOARD

![VRYNBOARD](https://i.imgur.com/GFtvJ2S.jpg)

VRYNBOARD is a Macropad With 10 Keys & Oled Layer Indicator

- Keyboard Maintainer: [zlabkeeb](https://github.com/zlabkeeb)
- Hardware Supported: VRYNBOARD PCB, RP2040 ZERO
- Hardware Availability: (INDONESIA ONLY) Will be available at [Tokopedia](https://www.tokopedia.com/zahranetid)

Make example for this keyboard (after setting up your build environment):

make zlabkeeb/vrynboard:default

Flashing example for this keyboard:

make zlabkeeb/vrynboard:default:flash

See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).

## Bootloader

Enter the bootloader in 2 ways:

- **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
- **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
Loading

0 comments on commit 8b42e5f

Please sign in to comment.