added tipsytypist-vial keymap to Reviung39 (#133)

This commit is contained in:
tipsycod3r 2022-03-14 15:05:53 +08:00 committed by GitHub
parent a8e7880c82
commit 30c04f92bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 301 additions and 0 deletions

View File

@ -0,0 +1,31 @@
/* Copyright 2019 gtips
*
* 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/>.
*/
#pragma once
#ifndef CONFIG_USER_H
#define CONFIG_USER_H
#define VIAL_KEYBOARD_UID {0xC0, 0xED, 0x8D, 0x24, 0x88, 0x5F, 0xD0, 0x9F}
#define VIAL_UNLOCK_COMBO_ROWS { 0, 5 }
#define VIAL_UNLOCK_COMBO_COLS { 0, 5 }
#include "../../config.h"
#define TAPPING_TERM 175
#define TAPPING_TOGGLE 3
#endif
// place overrides here

View File

@ -0,0 +1,50 @@
/* Copyright 2019 gtips
*
* 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
enum layer_names {
_BASE,
_FNNO,
_ADJUST,
};
#define TAPPING_TOGGLE 3
#define _BASE 0
#define _FNNO 1
#define _ADJUST 2
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_BASE] = LAYOUT_reviung39(
KC_GESC, KC_Q, KC_D, KC_R, KC_W, KC_B, KC_J, KC_F, KC_U, KC_P, KC_SCLN, KC_BSPC, \
LSFT_T(KC_TAB), KC_A, KC_S, LGUI_T(KC_H), LALT_T(KC_T), KC_G, KC_Y, RALT_T(KC_N), KC_E, KC_O, KC_I, KC_QUOT, \
KC_LCTL, KC_Z, KC_X, KC_M, KC_C, KC_V, KC_K, KC_L, KC_COMM, KC_DOT, KC_SLSH, RSFT_T(KC_ENT), \
TT(1), KC_SPC, TT(2)
),
[_FNNO] = LAYOUT_reviung39(
KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_LBRC, KC_RBRC, KC_7, KC_8, KC_9, KC_0, KC_DEL, \
KC_TRNS, KC_F5, KC_F6, KC_F7, KC_F8, KC_MINS, KC_EQL, RALT_T(KC_4), RGUI_T(KC_5), KC_6, KC_HOME, KC_END, \
KC_TRNS, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_BSLS, KC_1, KC_2, KC_3, KC_TRNS, KC_TRNS,
KC_TRNS, KC_BSPC, KC_PDOT
),
[_ADJUST] = LAYOUT_reviung39(
KC_GESC, KC_NLCK, KC_P7, KC_P8, KC_P9, KC_P0, KC_NO, KC_PGUP, KC_UP, KC_PGDOWN, KC_NO, KC_DEL, \
KC_TRNS, KC_NO, KC_P4, LGUI_T(KC_P5), LALT_T(KC_P6), KC_BRIU, KC_VOLU, KC_LEFT, KC_DOWN, KC_RGHT, KC_NO, KC_NO, \
KC_LCTL, KC_NO, KC_P1, KC_P2, KC_P3, KC_BRID, KC_VOLD, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, \
KC_TRNS, KC_NO, KC_TRNS
),
};

View File

@ -0,0 +1,11 @@
RGBLIGHT_ENABLE = no
OLED_DRIVER_ENABLE = yes
BOOTMAGIC_ENABLE = yes
MOUSEKEY_ENABLE = no
EXTRAKEY_ENABLE = yes
CONSOLE_ENABLE = no
COMMAND_ENABLE = yes
TAP_DANCE_ENABLE = yes
VIA_ENABLE = yes
VIAL_ENABLE = yes
EXTRAFLAGS += -flto

View File

@ -0,0 +1,209 @@
{
"name": "Reviung39",
"vendorId": "0x03EB",
"productId": "0x2FF4",
"lighting": "none",
"matrix": { "rows": 7, "cols": 6 },
"layouts": {
"keymap":
[
[
{
"x": 3
},
"0,3",
{
"x": 5
},
"3,2"
],
[
{
"y": -0.85,
"x": 2
},
"0,2",
{
"x": 1
},
"0,4",
{
"x": 3
},
"3,1",
{
"x": 1
},
"3,3"
],
[
{
"y": -0.7999999999999999,
"x": 1
},
"0,1",
{
"x": 3
},
"0,5",
{
"x": 1
},
"3,0",
{
"x": 3
},
"3,4"
],
[
{
"y": -0.8500000000000001,
"c": "#777777"
},
"0,0",
{
"x": 11
},
"3,5"
],
[
{
"y": -0.5,
"x": 3,
"c": "#cccccc"
},
"1,3",
{
"x": 5
},
"4,2"
],
[
{
"y": -0.8500000000000001,
"x": 2
},
"1,2",
{
"x": 1
},
"1,4",
{
"x": 3
},
"4,1",
{
"x": 1
},
"4,3"
],
[
{
"y": -0.7999999999999998,
"x": 1
},
"1,1",
{
"x": 3
},
"1,5",
{
"x": 1
},
"4,0",
{
"x": 3
},
"4,4"
],
[
{
"y": -0.8500000000000001,
"c": "#aaaaaa"
},
"1,0",
{
"x": 11
},
"4,5"
],
[
{
"y": -0.5,
"x": 3,
"c": "#cccccc"
},
"2,3",
{
"x": 5
},
"5,2"
],
[
{
"y": -0.8500000000000001,
"x": 2
},
"2,2",
{
"x": 1
},
"2,4",
{
"x": 3
},
"5,1",
{
"x": 1
},
"5,3"
],
[
{
"y": -0.7999999999999998,
"x": 1
},
"2,1",
{
"x": 3
},
"2,5",
{
"x": 1
},
"5,0",
{
"x": 3
},
"5,4"
],
[
{
"y": -0.8500000000000001,
"c": "#aaaaaa"
},
"2,0",
{
"x": 11
},
"5,5"
],
[
{
"x": 4.25,
"w": 1.25
},
"6,0",
{
"w": 2
},
"6,1",
{
"w": 1.25
},
"6,2"
]
]
}
}