Added Vial keymap for THE30
This commit is contained in:
parent
3227490b98
commit
45be46e312
4 changed files with 66 additions and 0 deletions
8
keyboards/lazydesigners/the30/keymaps/vial/config.h
Normal file
8
keyboards/lazydesigners/the30/keymaps/vial/config.h
Normal file
|
@ -0,0 +1,8 @@
|
|||
#define VIAL_KEYBOARD_UID {0xE6, 0xB2, 0xE1, 0x96, 0x6D, 0x40, 0xF5, 0x70}
|
||||
|
||||
|
||||
#define VIAL_UNLOCK_COMBO_ROWS { 0, 2 }
|
||||
#define VIAL_UNLOCK_COMBO_COLS { 0, 9 }
|
||||
|
||||
#define DYNAMIC_KEYMAP_LAYER_COUNT 4
|
||||
#define LAYER_STATE_8BIT
|
39
keyboards/lazydesigners/the30/keymaps/vial/keymap.c
Normal file
39
keyboards/lazydesigners/the30/keymaps/vial/keymap.c
Normal file
|
@ -0,0 +1,39 @@
|
|||
/* Copyright 2020 LAZYDESIGNERS
|
||||
*
|
||||
* 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] = {
|
||||
[0] = LAYOUT_ortho_3x10(
|
||||
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_COMM, KC_DOT, MO(1)
|
||||
),
|
||||
[1] = LAYOUT_ortho_3x10(
|
||||
RESET, 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] = LAYOUT_ortho_3x10(
|
||||
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
|
||||
),
|
||||
[3] = LAYOUT_ortho_3x10(
|
||||
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
|
||||
),
|
||||
};
|
5
keyboards/lazydesigners/the30/keymaps/vial/rules.mk
Normal file
5
keyboards/lazydesigners/the30/keymaps/vial/rules.mk
Normal file
|
@ -0,0 +1,5 @@
|
|||
VIA_ENABLE = yes
|
||||
VIAL_ENABLE = yes
|
||||
LTO_ENABLE = yes
|
||||
|
||||
#VIAL_INSECURE = yes
|
14
keyboards/lazydesigners/the30/keymaps/vial/vial.json
Normal file
14
keyboards/lazydesigners/the30/keymaps/vial/vial.json
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"name": "THE30",
|
||||
"vendorId": "0x4C44",
|
||||
"productId": "0x0030",
|
||||
"lighting": "qmk_backlight_rgblight",
|
||||
"matrix": {"rows": 3, "cols": 10},
|
||||
"layouts": {
|
||||
"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","2,1","2,2","2,3","2,4","2,5","2,6","2,7","2,8","2,9"]
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue