Added basic VIAL support for RAMA Works U80-A and H60 (Kei) (#128)

* Added basic support for RAMA Works U80-A

Successfully compiled above configurations.

Disabled or reduced features as follows:
-Layer limited into 2 (0 and 1)
-Space Cadet
-Leader keys
-Grave Escape
-Putting VIAL_INSECURE 
-Combo
-Tap dance

* Add files via upload

* Added VIAL Secure

* Added porting to H60 PCB

Compile successful.

Tested on Monokei Kei with H60 PCB.

* Update readme.md

* readme.md revised
This commit is contained in:
WrinkleKrinkles 2022-03-05 05:27:00 +00:00 committed by GitHub
parent a977deb2b5
commit 8036dc88b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 571 additions and 0 deletions

View File

@ -0,0 +1,10 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once
#define VIAL_KEYBOARD_UID {0x02, 0x7E, 0x59, 0x9E, 0x37, 0x2F, 0xCF, 0xA7}
#define VIAL_UNLOCK_COMBO_ROWS {0,2}
#define VIAL_UNLOCK_COMBO_COLS {0,13}
#define DYNAMIC_KEYMAP_LAYER_COUNT 3
#define VIAL_TAP_DANCE_ENTRIES 4
#define VIAL_COMBO_ENTRIES 4

View File

@ -0,0 +1,40 @@
/* Copyright 2020 hineybush
*/
#include QMK_KEYBOARD_H
// Defines names for use in layer keycodes and the keymap
enum layer_names {
_BASE,
_FN1,
_FN2,
_FN3
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_BASE] = LAYOUT_all(
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_TRNS,
KC_LCTL, KC_LGUI, KC_LALT, KC_TRNS, KC_SPC, KC_TRNS, KC_RALT, MO(1), KC_RGUI, KC_RCTL),
[_FN1] = LAYOUT_all(
KC_TRNS, BL_TOGG, BL_DEC, BL_INC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPLY, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
[_FN2] = LAYOUT_all(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
[_FN3] = LAYOUT_all(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
};

View File

@ -0,0 +1,4 @@
# EDITED from VIA keymap for H60 PCB
Layers reduced into 3 layers.
Backlight, console, and command disabled.
Tap dance and combo limited into 4

View File

@ -0,0 +1,7 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes
LTO_ENABLE = yes
SLEEP_LED_ENABLE = no
BACKLIGHT_ENABLE = no
COMMAND_ENABLE = no
CONSOLE_ENABLE = no

View File

@ -0,0 +1,335 @@
{
"name": "h60",
"vendorId": "0x04D8",
"productId": "0xEBBE",
"lighting": "qmk_backlight_rgblight",
"matrix": {
"rows": 5,
"cols": 14
},
"layouts": {
"labels": [
"Split Backspace",
"Split Left Shift",
"Split Right Shift",
"ISO Enter",
[
"Bottom Row",
"6.25U",
"MX HHKB",
"7U Tsangan",
"7U WKL",
"Split Space"
]
],
"keymap": [
[
{
"x": 5.5,
"c": "#777777"
},
"0,0",
{
"c": "#cccccc"
},
"0,1",
"0,2",
"0,3",
"0,4",
"0,5",
"0,6",
"0,7",
"0,8",
"0,9",
"0,10",
"0,11",
"0,12",
{
"c": "#aaaaaa",
"w": 2
},
"1,13\n\n\n0,0",
{
"x": 1
},
"0,13\n\n\n0,1",
"1,13\n\n\n0,1"
],
[
{
"x": 5.5,
"c": "#cccccc",
"w": 1.5
},
"1,0",
"1,1",
"1,2",
"1,3",
"1,4",
"1,5",
"1,6",
"1,7",
"1,8",
"1,9",
"1,10",
"1,11",
"1,12",
{
"w": 1.5
},
"2,13\n\n\n3,0",
{
"x": 2,
"w": 1.25,
"h": 2,
"w2": 1.5,
"h2": 1,
"x2": -0.25
},
"2,12\n\n\n3,1"
],
[
{
"x": 5.5,
"c": "#aaaaaa",
"w": 1.75
},
"2,0",
{
"c": "#cccccc"
},
"2,1",
"2,2",
"2,3",
"2,4",
"2,5",
"2,6",
"2,7",
"2,8",
"2,9",
"2,10",
"2,11",
{
"c": "#777777",
"w": 2.25
},
"2,12\n\n\n3,0",
{
"x": 1,
"c": "#aaaaaa"
},
"4,13\n\n\n3,1"
],
[
{
"x": 2.25,
"w": 1.25
},
"3,0\n\n\n1,1",
"3,13\n\n\n1,1",
{
"x": 1,
"w": 2.25
},
"3,0\n\n\n1,0",
{
"c": "#cccccc"
},
"3,1",
"3,2",
"3,3",
"3,4",
"3,5",
"3,6",
"3,7",
"3,8",
"3,9",
"3,10",
{
"c": "#aaaaaa",
"w": 2.75
},
"3,11\n\n\n2,0",
{
"x": 1,
"w": 1.75
},
"3,11\n\n\n2,1",
"3,12\n\n\n2,1"
],
[
{
"x": 5.5,
"w": 1.25
},
"4,0\n\n\n4,0",
{
"w": 1.25
},
"4,1\n\n\n4,0",
{
"w": 1.25
},
"4,2\n\n\n4,0",
{
"c": "#cccccc",
"w": 6.25
},
"4,6\n\n\n4,0",
{
"c": "#aaaaaa",
"w": 1.25
},
"4,9\n\n\n4,0",
{
"w": 1.25
},
"4,10\n\n\n4,0",
{
"w": 1.25
},
"4,11\n\n\n4,0",
{
"w": 1.25
},
"4,12\n\n\n4,0"
],
[
{
"y": 0.25,
"x": 5.5,
"c": "#cccccc",
"w": 1.5,
"d": true
},
"4,0\n\n\n4,1",
{
"c": "#aaaaaa"
},
"4,1\n\n\n4,1",
{
"w": 1.5
},
"4,2\n\n\n4,1",
{
"c": "#cccccc",
"w": 7
},
"4,6\n\n\n4,1",
{
"c": "#aaaaaa",
"w": 1.5
},
"4,10\n\n\n4,1",
"4,11\n\n\n4,1",
{
"c": "#cccccc",
"w": 1.5,
"d": true
},
"4,12\n\n\n4,1"
],
[
{
"y": 0.25,
"x": 5.5,
"c": "#aaaaaa",
"w": 1.5
},
"4,0\n\n\n4,2",
"4,1\n\n\n4,2",
{
"w": 1.5
},
"4,2\n\n\n4,2",
{
"c": "#cccccc",
"w": 7
},
"4,6\n\n\n4,2",
{
"c": "#aaaaaa",
"w": 1.5
},
"4,10\n\n\n4,2",
"4,11\n\n\n4,2",
{
"w": 1.5
},
"4,12\n\n\n4,2"
],
[
{
"y": 0.25,
"x": 5.5,
"w": 1.5
},
"4,0\n\n\n4,3",
{
"d": true
},
"4,1\n\n\n4,3",
{
"w": 1.5
},
"4,2\n\n\n4,3",
{
"c": "#cccccc",
"w": 7
},
"4,6\n\n\n4,3",
{
"c": "#aaaaaa",
"w": 1.5
},
"4,10\n\n\n4,3",
{
"c": "#cccccc",
"d": true
},
"4,11\n\n\n4,3",
{
"c": "#aaaaaa",
"w": 1.5
},
"4,12\n\n\n4,3"
],
[
{
"y": 0.25,
"x": 5.5,
"w": 1.5
},
"4,0\n\n\n4,4",
"4,1\n\n\n4,4",
{
"w": 1.5
},
"4,2\n\n\n4,4",
{
"c": "#cccccc",
"w": 2.75
},
"4,3\n\n\n4,4",
{
"w": 1.5
},
"4,6\n\n\n4,4",
{
"w": 2.75
},
"4,8\n\n\n4,4",
{
"c": "#aaaaaa",
"w": 1.5
},
"4,10\n\n\n4,4",
"4,11\n\n\n4,4",
{
"w": 1.5
},
"4,12\n\n\n4,4"
]
]
}
}

View File

@ -0,0 +1,10 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once
#define VIAL_KEYBOARD_UID {0x54, 0xD2, 0xEC, 0xF2, 0x89, 0x92, 0xE0, 0x4E}
#define VIAL_UNLOCK_COMBO_ROWS {1,1}
#define VIAL_UNLOCK_COMBO_COLS {0,14}
#define DYNAMIC_KEYMAP_LAYER_COUNT 2

View File

@ -0,0 +1,21 @@
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_all(
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SLCK, KC_PAUS,
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_INS, KC_HOME, KC_PGUP,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN,
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT),
[1] = LAYOUT_all(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, EF_DEC, EF_INC, H1_DEC, H1_INC, H2_DEC, H2_INC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, BR_DEC, BR_INC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, S1_DEC, S1_INC, S2_DEC, S2_INC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, ES_DEC, ES_INC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS)
};

View File

@ -0,0 +1,9 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes
LEADER_ENABLE = no
SPACE_CADET_ENABLE = no
GRAVE_ESC_ENABLE = no
TAP_DANCE_ENABLE = no
COMBO_ENABLE = no
QMK_SETTINGS = no
LTO_ENABLE = yes

View File

@ -0,0 +1,135 @@
{
"name": "RAMA WORKS U80-A",
"vendorId": "0x5241",
"productId": "0x080a",
"lighting": "wt_rgb_backlight",
"matrix": {"rows": 6, "cols": 17},
"layouts": {
"keymap": [
[
{"c": "#afb0ae", "t": "#505557"},
"0,0",
{"x": 1, "c": "#505557", "t": "#aeb0b0"},
"0,1",
"0,2",
"0,3",
"0,4",
{"x": 0.5, "c": "#6b7173"},
"0,5",
"0,6",
"0,7",
"0,8",
{"x": 0.5, "c": "#505557"},
"0,9",
"0,10",
"0,11",
"0,12",
{"x": 0.25, "c": "#6b7173"},
"0,14",
"0,15",
"0,16"
],
[
{"y": 0.25},
"1,0",
{"c": "#505557"},
"1,1",
"1,2",
"1,3",
"1,4",
"1,5",
"1,6",
"1,7",
"1,8",
"1,9",
"1,10",
"1,11",
"1,12",
{"c": "#6b7173", "w": 2},
"1,13",
{"x": 0.25},
"1,14",
"1,15",
"1,16"
],
[
{"w": 1.5},
"2,0",
{"c": "#505557"},
"2,1",
"2,2",
"2,3",
"2,4",
"2,5",
"2,6",
"2,7",
"2,8",
"2,9",
"2,10",
"2,11",
"2,12",
{"c": "#6b7173", "w": 1.5},
"2,13",
{"x": 0.25},
"2,14",
"2,15",
"2,16"
],
[
{"w": 1.75},
"3,0",
{"c": "#505557"},
"3,1",
"3,2",
"3,3",
"3,4",
"3,5",
"3,6",
"3,7",
"3,8",
"3,9",
"3,10",
"3,11",
{"c": "#afb0ae", "t": "#505557", "w": 2.25},
"3,12"
],
[
{"c": "#6b7173", "t": "#aeb0b0", "w": 2.25},
"4,0",
{"c": "#505557"},
"4,2",
"4,3",
"4,4",
"4,5",
"4,6",
"4,7",
"4,8",
"4,9",
"4,10",
"4,11",
{"c": "#6b7173", "w": 2.75},
"4,12",
{"x": 1.25},
"4,15"
],
[
{"w": 1.5},
"5,0",
"5,1",
{"w": 1.5},
"5,2",
{"c": "#505557", "w": 7},
"5,7",
{"c": "#6b7173", "w": 1.5},
"5,11",
"5,12",
{"w": 1.5},
"5,13",
{"x": 0.25},
"5,14",
"5,15",
"5,16"
]
]
}
}