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

This commit is contained in:
QMK Bot 2024-03-20 20:32:34 +00:00
commit 536b4d5cf1
7 changed files with 183 additions and 0 deletions

View file

@ -0,0 +1,65 @@
{
"keyboard_name": "ZLABKEEB 6PAD",
"manufacturer": "zlabkeeb",
"maintainer": "zlabkeeb",
"development_board": "promicro",
"features": {
"bootmagic": true,
"extrakey": true,
"encoder": true,
"mousekey": true,
"rgblight": true
},
"build": {
"lto": true
},
"url": "https://github.com/zlabkeeb",
"usb": {
"device_version": "1.0.0",
"vid": "0x4154",
"pid": "0x7A77"
},
"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": 4,
"max_brightness": 180,
"saturation_steps": 8,
"sleep": true
},
"ws2812": {
"pin": "B6"
},
"encoder": {
"rotary": [
{"pin_a": "B4", "pin_b": "B5"}
]
},
"matrix_pins": {
"direct": [
["D1", "D0", "D4"],
["C6", "D7", "E6"]
]
},
"layouts": {
"LAYOUT": {
"layout": [
{"x": 0, "y": 0, "matrix": [0, 0]},
{"x": 1, "y": 0, "matrix": [0, 1]},
{"x": 2, "y": 0, "matrix": [0, 2]},
{"x": 0, "y": 1, "matrix": [1, 0]},
{"x": 1, "y": 1, "matrix": [1, 1]},
{"x": 2, "y": 1, "matrix": [1, 2]}
]
}
}
}

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] = {
/*
*
* 1 layer 1 3
* |
* 4 5 6 |
*
*/
[0] = LAYOUT(
KC_1, TO(1), KC_2,
KC_3, KC_4, KC_5
),
/*
*
* A layer O B
* |
* C D E |
*
*/
[1] = LAYOUT(
KC_A, TO(0), KC_B,
KC_C, KC_D, KC_E
)
};
#if defined (ENCODER_MAP_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU)},
[1] = { ENCODER_CCW_CW(KC_PGDN, KC_PGUP)}
};
#endif

View file

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

View file

@ -0,0 +1,38 @@
/*
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] = {
/*
*
* 1 2 3
* |
* 4 5 6 |
*
*/
[0] = LAYOUT(
KC_1, KC_2, KC_3,
KC_4, KC_5, KC_6
)
};
#if defined (ENCODER_MAP_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU)}
};
#endif

View file

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

View file

@ -0,0 +1,26 @@
# 6PAD
![6PAD](https://i.imgur.com/yt3dKCBh.jpeg)
6PAD is a Simple Yet Elegant Macropad, 5 Keys & Single Rotary Encoder, Designed And Manufactured In INDONESIA.
- Support RGB light UnderGlow
- Keyboard Maintainer: [zlabkeeb](https://github.com/zlabkeeb)
- Hardware Supported: 6Pad PCB, Promicro
- 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/6pad:default
Flashing example for this keyboard:
make zlabkeeb/6pad: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 1 way:
- **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead

View file

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