Merge branch 'vial-kb:vial' into protagonist
This commit is contained in:
commit
3be88009f0
15 changed files with 117 additions and 10 deletions
|
|
@ -407,6 +407,9 @@
|
|||
"lfkeyboards/smk65": {
|
||||
"target": "lfkeyboards/smk65/revb"
|
||||
},
|
||||
"ll3macorn/bongopad": {
|
||||
"target": "ll3ma/bongopad"
|
||||
},
|
||||
"m3v3van": {
|
||||
"target": "matthewdias/m3n3van"
|
||||
},
|
||||
|
|
|
|||
7
keyboards/doio/kb03/keymaps/vial/config.h
Normal file
7
keyboards/doio/kb03/keymaps/vial/config.h
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#pragma once
|
||||
|
||||
#define VIAL_KEYBOARD_UID {0xF5, 0x92, 0xBC, 0x63, 0x72, 0x84, 0xCA, 0x4E}
|
||||
#define VIAL_UNLOCK_COMBO_ROWS {0, 0}
|
||||
#define VIAL_UNLOCK_COMBO_COLS {0, 2}
|
||||
44
keyboards/doio/kb03/keymaps/vial/keymap.c
Normal file
44
keyboards/doio/kb03/keymaps/vial/keymap.c
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
// Copyright 2025 DOIO
|
||||
// Copyright 2025 ClownFish (@clownfish-og)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
enum my_layers {
|
||||
_BASE,
|
||||
_MOUSE,
|
||||
_MEDIA,
|
||||
_LIGHTS
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[_BASE] = LAYOUT(
|
||||
TO(_MOUSE),
|
||||
KC_ENT, C(KC_C), C(KC_V),
|
||||
C(KC_Z)
|
||||
),
|
||||
[_MOUSE] = LAYOUT(
|
||||
TO(_MEDIA),
|
||||
MS_BTN1, MS_BTN3, MS_BTN2,
|
||||
KC_LCTL
|
||||
),
|
||||
[_MEDIA] = LAYOUT(
|
||||
TO(_LIGHTS),
|
||||
KC_MRWD, KC_MPLY, KC_MFFD,
|
||||
KC_MUTE
|
||||
),
|
||||
[_LIGHTS] = LAYOUT(
|
||||
TO(_BASE),
|
||||
RM_VALD, RM_NEXT, RM_VALU,
|
||||
RM_TOGG
|
||||
)
|
||||
};
|
||||
|
||||
#ifdef ENCODER_MAP_ENABLE
|
||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||
[_BASE] = { ENCODER_CCW_CW(MS_WHLU, MS_WHLD), ENCODER_CCW_CW(MS_WHLL, MS_WHLR) },
|
||||
[_MOUSE] = { ENCODER_CCW_CW(MS_LEFT, MS_RGHT), ENCODER_CCW_CW(MS_UP, MS_DOWN) },
|
||||
[_MEDIA] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_MPRV, KC_MNXT) },
|
||||
[_LIGHTS] = { ENCODER_CCW_CW(RM_SATD, RM_SATU), ENCODER_CCW_CW(RM_HUED, RM_HUEU) }
|
||||
};
|
||||
#endif
|
||||
4
keyboards/doio/kb03/keymaps/vial/rules.mk
Normal file
4
keyboards/doio/kb03/keymaps/vial/rules.mk
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
ENCODER_MAP_ENABLE = yes
|
||||
VIA_ENABLE = yes
|
||||
VIAL_ENABLE = yes
|
||||
VIALRGB_ENABLE = yes
|
||||
49
keyboards/doio/kb03/keymaps/vial/vial.json
Normal file
49
keyboards/doio/kb03/keymaps/vial/vial.json
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
{
|
||||
"lighting": "vialrgb",
|
||||
"matrix": {"rows": 1, "cols": 5},
|
||||
"layouts": {
|
||||
"keymap": [
|
||||
[
|
||||
{
|
||||
"x": 0.5,
|
||||
"y": 0.25,
|
||||
"h": 0.5
|
||||
},
|
||||
"0,3"
|
||||
],
|
||||
[
|
||||
"0,0",
|
||||
"0,1",
|
||||
"0,2"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": 0.25,
|
||||
"x": 0.5
|
||||
},
|
||||
"0,0\n\n\n\n\n\n\n\n\ne",
|
||||
"0,1\n\n\n\n\n\n\n\n\ne"
|
||||
],
|
||||
[
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"0,4"
|
||||
],
|
||||
[
|
||||
{
|
||||
"x": 0.25,
|
||||
"y": 0.25,
|
||||
"w": 1.25,
|
||||
"h": 1.25
|
||||
},
|
||||
"1,0\n\n\n\n\n\n\n\n\ne",
|
||||
{
|
||||
"w": 1.25,
|
||||
"h": 1.25
|
||||
},
|
||||
"1,1\n\n\n\n\n\n\n\n\ne"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright 2021 Ll3macorn (@ll3macorn)
|
||||
// Copyright 2025 Ll3ma (@ll3ma)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
#include "quantum.h"
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright 2021 Ll3macorn (@ll3macorn)
|
||||
// Copyright 2025 Ll3ma (@ll3ma)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
#pragma once
|
||||
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"keyboard_name": "BongoPad",
|
||||
"manufacturer": "Ll3macorn",
|
||||
"url": "https://github.com/qmk/qmk_firmware/tree/master/keyboards/ll3macorn/bongopad",
|
||||
"maintainer": "Ll3macorn",
|
||||
"manufacturer": "Ll3ma",
|
||||
"url": "https://github.com/qmk/qmk_firmware/tree/master/keyboards/ll3ma/bongopad",
|
||||
"maintainer": "Ll3ma",
|
||||
"usb": {
|
||||
"vid": "0x3728",
|
||||
"pid": "0x2949",
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright 2021 Ll3macorn (@ll3macorn)
|
||||
// Copyright 2025 Ll3ma (@ll3ma)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright 2021 Ll3macorn (@ll3macorn)
|
||||
// Copyright 2025 Ll3ma (@ll3ma)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#define VIAL_KEYBOARD_UID {0x08, 0xDB, 0x6F, 0x28, 0x40, 0xFD, 0x6F, 0x58}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright 2021 Ll3macorn (@ll3macorn)
|
||||
// Copyright 2025 Ll3ma (@ll3ma)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
#include QMK_KEYBOARD_H
|
||||
#include <stdio.h>
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
# BongoPad
|
||||
|
||||
* Keyboard Maintainer: [Ll3macorn](https://github.com/Ll3macorn)
|
||||
* Keyboard Maintainer: [Ll3ma](https://github.com/Ll3ma)
|
||||
* Hardware Supported: Pro micro
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make ll3macorn/bongopad:default
|
||||
make ll3ma/bongopad:default
|
||||
|
||||
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).
|
||||
Loading…
Add table
Add a link
Reference in a new issue