Add Vial support for idobao/montex/v2

This commit is contained in:
OTLabs 2023-09-17 22:58:35 -06:00 committed by GitHub
parent fbf1c160eb
commit b7e0d6f6b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 135 additions and 0 deletions

View File

@ -0,0 +1,9 @@
// Copyright 2023 Oleg Titov <oleg.titov@gmail.com>
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#define VIAL_KEYBOARD_UID {0x1A, 0xC2, 0xE7, 0x4C, 0xE4, 0x37, 0xF3, 0x6A}
#define VIAL_UNLOCK_COMBO_ROWS { 0, 0 }
#define VIAL_UNLOCK_COMBO_COLS { 0, 4 }

View File

@ -0,0 +1,54 @@
// Copyright 2022 IBNobody (@IBNobody)
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/*
*
* EscTab F1CalBsp
*
* CtrNum / * -
*
* Gui 7 8 9
* +
* Alt 4 5 6
*
* Shi 1 2 3
* Ent
* MO1 0 .
*
*/
[0] = LAYOUT_numpad_6x5(
QK_GESC, KC_TAB, KC_F1, KC_CALC, KC_BSPC,
KC_LCTL, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
KC_LGUI, KC_P7, KC_P8, KC_P9, KC_PPLS,
KC_LALT, KC_P4, KC_P5, KC_P6,
KC_LSFT, KC_P1, KC_P2, KC_P3, KC_PENT,
MO(1), KC_P0, KC_PDOT
),
/*
*
* RstTOGMODPScSLk
*
* Hu+ Sp-Sp+Br-
*
* Hu-Hom PgU
* Br+
* St+
*
* St-End PgD
* Ent
* mo1Insert Del
*
*/
[1] = LAYOUT_numpad_6x5(
QK_BOOT, RGB_TOG, RGB_MOD, KC_PSCR, KC_SCRL,
RGB_HUI, XXXXXXX, RGB_SPD, RGB_SPI, RGB_VAD,
RGB_HUD, KC_HOME, KC_UP, KC_PGUP, RGB_VAI,
RGB_SAI, KC_LEFT, XXXXXXX, KC_RGHT,
RGB_SAD, KC_END, KC_DOWN, KC_PGDN, KC_ENT,
_______, KC_INS, KC_DEL
)
};

View File

@ -0,0 +1,8 @@
VIA_ENABLE = yes # Enable VIA
VIAL_ENABLE = yes # Enable VIAL
# Options to reduce firmware size:
LTO_ENABLE = yes # make the compiler work harder
QMK_SETTINGS = no # enables the tab to change QMK settings from the GUI1~# enables the tab to change QMK settings from the GUI1~ # enables the tab to change QMK settings from the GUI
TAP_DANCE_ENABLE = yes
COMBO_ENABLE = no

View File

@ -0,0 +1,64 @@
{
"name": "IDOBAO Montex V2",
"vendorId": "0x6964",
"productId": "0x0227",
"lighting": {
"extends": "qmk_rgblight",
"supportedLightingValues": [128, 129, 131],
"underglowEffects": [
["00. None", 0],
["01. Solid Color", 1],
["02. Alphas Mods", 1],
["03. Gradient U&D", 1],
["04. Gradient L&R", 1],
["05. Breathing", 1],
["06. Cycle Solid Color", 1],
["07. Cycle LR", 1],
["08. Cycle TB", 1],
["09. Rainbow Beacon", 1],
["10. Spinning Pinwheel", 1],
["11. Spinning Spiral", 1],
["12. Cycle Pinwheel", 1],
["13. Raindrops", 1],
["14. Jellybean Raindrops", 1],
["15. Hue Breathing", 1],
["16. Hue Pendulum", 1],
["17. Hue Wave", 1],
["18. Pixel Rain", 1],
["19. Pixel Flow", 1],
["20. Reactive Simple", 1],
["21. Reactive Solid", 1],
["22. Reactive Wide", 1],
["23. Reactive Multi-wide", 1],
["24. Splash", 1],
["25. Solid Splash", 1]
]
},
"customKeycodes": [
{"name": "", "title": "{undefined}", "shortName": ""},
{"name": "", "title": "{undefined}", "shortName": ""},
{"name": "Toggle Per-key", "title": "RGB_TPK", "shortName": "RGB T/PK"},
{"name": "Toggle Under Glow", "title": "RGB_TUG", "shortName": "RGB T/UG"},
{"name": "", "title": "{undefined}", "shortName": ""},
{"name": "", "title": "{undefined}", "shortName": ""},
{"name": "", "title": "{undefined}", "shortName": ""},
{"name": "", "title": "{undefined}", "shortName": ""},
{
"name": "Toggle NumLk LED",
"title": "Toggle NumLock LED Feature",
"shortName": "NumLk LED"
},
{"name": "Version", "title": "Type Firmware Version", "shortName": "Ver?"}
],
"matrix": {"rows": 6, "cols": 5},
"layouts": {
"keymap": [
[{"c": "#777777"}, "0,0", {"c": "#aaaaaa"}, "0,1", "0,2", "0,3", "0,4"],
[{"y": 0.5, "c": "#cccccc"}, "1,0", "1,1", "1,2", "1,3", "1,4"],
["2,0", "2,1", "2,2", "2,3", {"h": 2}, "2,4"],
["3,0", "3,1", "3,2", "3,3"],
["4,0", "4,1", "4,2", "4,3", {"c": "#777777", "h": 2}, "5,3"],
[{"c": "#cccccc"}, "5,0", {"w": 2}, "5,1", "5,2"]
]
}
}