Add vial support for lazydesigners/kontro (#842)
Add vial support for lazydesigners/kontro
This commit is contained in:
parent
cca6137c3c
commit
6307f1a540
8 changed files with 166 additions and 0 deletions
56
keyboards/lazydesigners/kontro/info.json
Normal file
56
keyboards/lazydesigners/kontro/info.json
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
{
|
||||
"keyboard_name": "Kontro",
|
||||
"manufacturer": "lazydesigners",
|
||||
"url": "http://lazydesigners.cn",
|
||||
"maintainer": "lazydesigners",
|
||||
"usb": {
|
||||
"vid": "0x4C44",
|
||||
"pid": "0x0033",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"processor": "STM32F072",
|
||||
"bootloader": "stm32-dfu",
|
||||
"diode_direction": "COL2ROW",
|
||||
"matrix_pins": {
|
||||
"cols": [ "B10", "A2", "F1", "F0", "C15", "C14", "C13", "B9", "B8", "B7" ],
|
||||
"rows": [ "B13", "B14", "A3"]
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||
{"matrix": [0, 5], "x": 5, "y": 0},
|
||||
{"matrix": [0, 6], "x": 6, "y": 0},
|
||||
{"matrix": [0, 7], "x": 7, "y": 0},
|
||||
{"matrix": [0, 8], "x": 8, "y": 0},
|
||||
{"matrix": [0, 9], "x": 9, "y": 0},
|
||||
|
||||
{"matrix": [1, 0], "x": 0, "y": 1},
|
||||
{"matrix": [1, 1], "x": 1, "y": 1},
|
||||
{"matrix": [1, 2], "x": 2, "y": 1},
|
||||
{"matrix": [1, 3], "x": 3, "y": 1},
|
||||
{"matrix": [1, 4], "x": 4, "y": 1},
|
||||
{"matrix": [1, 5], "x": 5, "y": 1},
|
||||
{"matrix": [1, 6], "x": 6, "y": 1},
|
||||
{"matrix": [1, 7], "x": 7, "y": 1},
|
||||
{"matrix": [1, 8], "x": 8, "y": 1},
|
||||
{"matrix": [1, 9], "x": 9, "y": 1},
|
||||
|
||||
{"matrix": [2, 0], "x": 0, "y": 2},
|
||||
{"matrix": [2, 1], "x": 1, "y": 2},
|
||||
{"matrix": [2, 2], "x": 2, "y": 2},
|
||||
{"matrix": [2, 3], "x": 3, "y": 2},
|
||||
{"matrix": [2, 4], "x": 4, "y": 2},
|
||||
{"matrix": [2, 5], "x": 5, "y": 2},
|
||||
{"matrix": [2, 6], "x": 6, "y": 2},
|
||||
{"matrix": [2, 7], "x": 7, "y": 2},
|
||||
{"matrix": [2, 8], "x": 8, "y": 2},
|
||||
{"matrix": [2, 9], "x": 9, "y": 2}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
25
keyboards/lazydesigners/kontro/keymaps/default/keymap.c
Normal file
25
keyboards/lazydesigners/kontro/keymaps/default/keymap.c
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
// Copyright 2024 LAZDESIGNERS
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT(
|
||||
KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,
|
||||
KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT,
|
||||
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_DOT, KC_UP, KC_COMM
|
||||
),
|
||||
[1] = LAYOUT(
|
||||
KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0,
|
||||
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10,
|
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO
|
||||
),
|
||||
[2] = LAYOUT(
|
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
|
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
|
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO
|
||||
),
|
||||
};
|
||||
|
||||
|
||||
13
keyboards/lazydesigners/kontro/keymaps/vial/config.h
Normal file
13
keyboards/lazydesigners/kontro/keymaps/vial/config.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#define VIAL_KEYBOARD_UID {0xC8, 0xE6, 0x2A, 0xC9, 0xD5, 0xE6, 0x29, 0x6D}
|
||||
|
||||
#define VIAL_UNLOCK_COMBO_ROWS { 0, 0 }
|
||||
#define VIAL_UNLOCK_COMBO_COLS { 0, 9 }
|
||||
|
||||
#define VIAL_COMBO_ENTRIES 32
|
||||
#define VIAL_TAP_DANCE_ENTRIES 32
|
||||
#define DYNAMIC_KEYMAP_LAYER_COUNT 8
|
||||
25
keyboards/lazydesigners/kontro/keymaps/vial/keymap.c
Normal file
25
keyboards/lazydesigners/kontro/keymaps/vial/keymap.c
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
// Copyright 2024 LAZDESIGNERS
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT(
|
||||
KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,
|
||||
KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT,
|
||||
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_DOT, KC_UP, KC_COMM
|
||||
),
|
||||
[1] = LAYOUT(
|
||||
KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0,
|
||||
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10,
|
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO
|
||||
),
|
||||
[2] = LAYOUT(
|
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
|
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
|
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO
|
||||
),
|
||||
};
|
||||
|
||||
|
||||
2
keyboards/lazydesigners/kontro/keymaps/vial/rules.mk
Normal file
2
keyboards/lazydesigners/kontro/keymaps/vial/rules.mk
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
VIA_ENABLE = yes
|
||||
VIAL_ENABLE = yes
|
||||
15
keyboards/lazydesigners/kontro/keymaps/vial/vial.json
Normal file
15
keyboards/lazydesigners/kontro/keymaps/vial/vial.json
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"matrix": {"rows": 3, "cols": 10},
|
||||
"layouts": {
|
||||
"labels":
|
||||
[
|
||||
["Version", "Alpha","Gamma"]
|
||||
],
|
||||
"keymap": [
|
||||
["0,0","0,1","0,2","0,3","0,4","0,5","0,6","0,7","0,8","0,9"],
|
||||
["1,0","1,1","1,2","1,3","1,4","1,5","1,6","1,7","1,8","1,9"],
|
||||
["2,0\n\n\n0,0","2,1\n\n\n0,0","2,2\n\n\n0,0","2,3\n\n\n0,0","2,4\n\n\n0,0","2,5\n\n\n0,0","2,6\n\n\n0,0","2,7\n\n\n0,0","2,8\n\n\n0,0","2,9\n\n\n0,0"],
|
||||
[{"w":0.25,"d":true},"\n\n\n0,1","2,0\n\n\n0,1","2,1\n\n\n0,1","2,2\n\n\n0,1","2,3\n\n\n0,1",{"w":1.5},"2,4\n\n\n0,1","2,6\n\n\n0,1","2,7\n\n\n0,1","2,8\n\n\n0,1","2,9\n\n\n0,1"]
|
||||
]
|
||||
}
|
||||
}
|
||||
18
keyboards/lazydesigners/kontro/readme.md
Normal file
18
keyboards/lazydesigners/kontro/readme.md
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Kontro
|
||||
|
||||
A gasket mounted 30% keyboard designed and produced in 2024 by [LAZYDESIGNERS](http://lazydesigners.cn).
|
||||
|
||||
* Keyboard Maintainer: [LAZYDESIGNERS](https://github.com/jackytrabbit)
|
||||
* Hardware Supported: Kontro Alpha and Kontro Gamma
|
||||
* Hardware Availability: Check [LAZYDESIGNERS's homepage.](http://lazydesigners.cn)
|
||||
|
||||
Make example for this keyboard (after setting up your vial build environment):
|
||||
|
||||
make lazydesigners/kontro:vial
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make lazydesigners/kontro:vial:flash
|
||||
|
||||
**Reset Key:** To enter the bootloader, press the boot button and short the reset pads together on the PCB.
|
||||
|
||||
12
keyboards/lazydesigners/kontro/rules.mk
Normal file
12
keyboards/lazydesigners/kontro/rules.mk
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
||||
MOUSEKEY_ENABLE = yes # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
CONSOLE_ENABLE = no # Console for debug
|
||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||
NKRO_ENABLE = yes # Enable N-Key Rollover
|
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
Loading…
Add table
Add a link
Reference in a new issue