Add support for ai03 Soyuz numpad (#171)

* Add support for ai03 Soyuz numpad

* Remove "VIAL_INSECURE = no" from rules.mk
This commit is contained in:
Kavya 2022-05-27 10:23:41 +05:30 committed by GitHub
parent 08ae881210
commit 35fcb57e7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 75 additions and 0 deletions

View File

@ -0,0 +1,9 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once
#define VIAL_KEYBOARD_UID {0x47, 0x52, 0xAC, 0x31, 0xBC, 0xA0, 0xE6, 0x8C}
#define VIAL_UNLOCK_COMBO_ROWS { 0, 0 }
#define VIAL_UNLOCK_COMBO_COLS { 0, 3 }

View File

@ -0,0 +1,41 @@
/* Copyright 2019 Ryota Goto
*
* 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_5x4( /* Base */
KC_NLCK, KC_PSLS, KC_PAST, KC_BSPC, \
KC_P7, KC_P8, KC_P9, KC_MINS, \
KC_P4, KC_P5, KC_P6, KC_PPLS, \
KC_P1, KC_P2, KC_P3, KC_EQL, \
KC_P0, KC_P0, KC_PDOT, KC_PENT \
)
};
void matrix_init_user(void) {
}
void matrix_scan_user(void) {
}
void led_set_user(uint8_t usb_led) {
}

View File

@ -0,0 +1,5 @@
VIAL_ENABLE = yes
VIA_ENABLE=yes
TAP_DANCE_ENABLE = no
LTO_ENABLE = yes
COMBO_ENABLE = no

View File

@ -0,0 +1,20 @@
{
"name": "Soyuz",
"lighting": "none",
"matrix": {"rows": 5, "cols": 4},
"layouts": {
"labels": [
"2U +",
"2U Enter",
"2U 0"
],
"keymap": [
["0,0","0,1","0,2","0,3"],
["1,0","1,1","1,2","1,3\n\n\n0,0",{"x":0.25,"h":2},"1,3\n\n\n0,1"],
["2,0","2,1","2,2","2,3\n\n\n0,0"],
["3,0","3,1","3,2","3,3\n\n\n1,0",{"x":0.25,"h":2},"3,3\n\n\n1,1"],
["4,0\n\n\n2,0","4,1\n\n\n2,0","4,2","4,3\n\n\n1,0"],
[{"y":0.25,"w":2},"4,0\n\n\n2,1"]
]
}
}