diff --git a/keyboards/ai03/soyuz/keymaps/vial/config.h b/keyboards/ai03/soyuz/keymaps/vial/config.h new file mode 100644 index 0000000000..f332c86254 --- /dev/null +++ b/keyboards/ai03/soyuz/keymaps/vial/config.h @@ -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 } + diff --git a/keyboards/ai03/soyuz/keymaps/vial/keymap.c b/keyboards/ai03/soyuz/keymaps/vial/keymap.c new file mode 100644 index 0000000000..dd581d8164 --- /dev/null +++ b/keyboards/ai03/soyuz/keymaps/vial/keymap.c @@ -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 . + */ +#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) { + +} diff --git a/keyboards/ai03/soyuz/keymaps/vial/rules.mk b/keyboards/ai03/soyuz/keymaps/vial/rules.mk new file mode 100644 index 0000000000..cb25952f52 --- /dev/null +++ b/keyboards/ai03/soyuz/keymaps/vial/rules.mk @@ -0,0 +1,5 @@ +VIAL_ENABLE = yes +VIA_ENABLE=yes +TAP_DANCE_ENABLE = no +LTO_ENABLE = yes +COMBO_ENABLE = no diff --git a/keyboards/ai03/soyuz/keymaps/vial/vial.json b/keyboards/ai03/soyuz/keymaps/vial/vial.json new file mode 100644 index 0000000000..ca9a5e33c9 --- /dev/null +++ b/keyboards/ai03/soyuz/keymaps/vial/vial.json @@ -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"] + ] + } +}