Merge remote-tracking branch 'origin/master' into develop

This commit is contained in:
QMK Bot 2024-03-29 04:51:51 +00:00
commit bcc4dc4f25
7 changed files with 202 additions and 0 deletions

View file

@ -0,0 +1,77 @@
{
"keyboard_name": "ZLABKEEB 15PAD",
"manufacturer": "zlabkeeb",
"maintainer": "zlabkeeb",
"processor": "RP2040",
"bootloader": "rp2040",
"diode_direction": "COL2ROW",
"features": {
"bootmagic": true,
"extrakey": true,
"encoder": true,
"mousekey": true,
"rgblight": true
},
"build": {
"lto": true
},
"url": "https://github.com/zlabkeeb",
"usb": {
"vid": "0x4154",
"pid": "0x4454",
"device_version": "1.0.0"
},
"rgblight": {
"animations": {
"alternating": true,
"breathing": true,
"christmas": true,
"knight": true,
"rainbow_mood": true,
"rainbow_swirl": true,
"snake": true,
"static_gradient": true,
"twinkle": true
},
"led_count": 13,
"max_brightness": 180,
"saturation_steps": 8,
"sleep": true
},
"ws2812": {
"pin": "GP15",
"driver": "vendor"
},
"encoder": {
"rotary": [
{"pin_a": "GP1", "pin_b": "GP2"},
{"pin_a": "GP3", "pin_b": "GP4"},
{"pin_a": "GP5", "pin_b": "GP6"}
]
},
"matrix_pins": {
"cols": ["GP11", "GP12", "GP13", "GP14"],
"rows": ["GP7", "GP8", "GP9", "GP10"]
},
"layouts": {
"LAYOUT": {
"layout": [
{"x": 0, "y": 0, "matrix": [0, 0], "encoder": 0},
{"x": 1, "y": 0, "matrix": [0, 1], "encoder": 1},
{"x": 3, "y": 0, "matrix": [0, 3], "encoder": 2},
{"x": 0, "y": 0, "matrix": [1, 0]},
{"x": 1, "y": 0, "matrix": [1, 1]},
{"x": 2, "y": 0, "matrix": [1, 2]},
{"x": 3, "y": 0, "matrix": [1, 3]},
{"x": 0, "y": 0, "matrix": [2, 0]},
{"x": 1, "y": 0, "matrix": [2, 1]},
{"x": 2, "y": 0, "matrix": [2, 2]},
{"x": 3, "y": 0, "matrix": [2, 3]},
{"x": 0, "y": 0, "matrix": [3, 0]},
{"x": 1, "y": 0, "matrix": [3, 1]},
{"x": 2, "y": 0, "matrix": [3, 2]},
{"x": 3, "y": 0, "matrix": [3, 3]}
]
}
}
}

View file

@ -0,0 +1,43 @@
/*
Copyright 2024 zlabkeeb (zlabkeeb@gmail.com)
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] = {
/*
*
* MUTE MPLY TRNS
*
* 1 2 3 4
*
* 5 6 7 8
*
* 9 0 ENTER DELL
*
*/
[0] = LAYOUT(
KC_MUTE, KC_MPLY, KC_TRNS,
KC_1, KC_2, KC_3, KC_4,
KC_5, KC_6, KC_7, KC_8,
KC_9, KC_0, KC_ENT, KC_DEL
)
};
#if defined (ENCODER_MAP_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_LEFT, KC_RIGHT), ENCODER_CCW_CW(KC_DOWN, KC_UP)}
};
#endif

View file

@ -0,0 +1 @@
ENCODER_MAP_ENABLE = yes

View file

@ -0,0 +1,50 @@
/*
Copyright 2024 zlabkeeb (zlabkeeb@gmail.com)
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] = {
/*
*
* TO(0) TO(1) TO(2)
*
* 1 2 3 4
*
* 5 6 7 8
*
* 9 0 ENTER DELL
*
*/
[0] = LAYOUT(
TO(0), TO(1), TO(2),
KC_1, KC_2, KC_3, KC_4,
KC_5, KC_6, KC_7, KC_8,
KC_9, KC_0, KC_ENT, KC_DEL
),
[1] = LAYOUT(
TO(0), TO(1), TO(2),
KC_1, KC_2, KC_3, KC_4,
KC_5, KC_6, KC_7, KC_8,
KC_LEFT, KC_RIGHT, KC_DOWN, KC_UP
)
};
#if defined (ENCODER_MAP_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_LEFT, KC_RIGHT), ENCODER_CCW_CW(KC_DOWN, KC_UP)},
[1] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_LEFT, KC_RIGHT), ENCODER_CCW_CW(KC_DOWN, KC_UP)}
};
#endif

View file

@ -0,0 +1,2 @@
VIA_ENABLE = yes
ENCODER_MAP_ENABLE = yes

View file

@ -0,0 +1,28 @@
# 15PAD
![15PAD](https://i.imgur.com/J7sZSnx.jpeg)
15PAD is a Macropad With 12 Keys & 3 Rotary Encoder, Designed And Manufactured In INDONESIA.
- Keyboard Maintainer: [zlabkeeb](https://github.com/zlabkeeb)
- Hardware Supported: 15Pad PCB, RP2040 ZERO
- Hardware Availability: (INDONESIA ONLY) [Tokopedia](https://www.tokopedia.com/zahranetid/macropad-15pad-via-compatible)
Make example for this keyboard (after setting up your build environment):
make zlabkeeb/15pad:default
Flashing example for this keyboard:
make zlabkeeb/15pad: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 3 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
* **Physical reset button**: Briefly press the button on the top of the PCB
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available

View file

@ -0,0 +1 @@
# This file intentionally left blank