Port Maja (#388)

* Maja

* Remove rule
This commit is contained in:
stanrc85 2023-03-06 01:07:53 -05:00 committed by GitHub
parent 0f5f9b5756
commit 6e4b5b0a6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 331 additions and 0 deletions

View File

@ -0,0 +1,13 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once
#define VIAL_KEYBOARD_UID {0x2B, 0xE6, 0xB0, 0x28, 0x81, 0x1E, 0xE4, 0x5E}
#define VIAL_UNLOCK_COMBO_ROWS { 0, 2 }
#define VIAL_UNLOCK_COMBO_COLS { 0, 13 }
#define DYNAMIC_KEYMAP_LAYER_COUNT 2
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#define RGB_MATRIX_KEYPRESSES
#define NO_ACTION_ONESHOT
#define VIAL_TAP_DANCE_ENTRIES 4

View File

@ -0,0 +1,17 @@
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT( /* Base */
KC_GESC, 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_HOME,
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_BSLASH, KC_PGUP,
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_PGDN,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, MO(1), KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT),
[1] = LAYOUT( /* FN */
KC_GESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, QK_BOOT, KC_HOME,
KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI,RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUS, QK_BOOT, KC_PGUP,
KC_CAPS, RGB_SPI, RGB_SPD, KC_TRNS,KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, EEP_RST, KC_PGDN,
KC_LSFT, KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU, KC_MUTE,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_VOLD, KC_MNXT),
};

View File

@ -0,0 +1,10 @@
VIA_ENABLE = yes
LTO_ENABLE = yes
VIAL_ENABLE = yes
KEY_OVERRIDE_ENABLE = no
COMBO_ENABLE = no
QMK_SETTINGS = no
VIALRGB_ENABLE = yes
MOUSEKEY_ENABLE = no
AUDIO_ENABLE = no
CONSOLE_ENABLE = no

View File

@ -0,0 +1,291 @@
{
"name": "MAJA",
"vendorId": "0x4B42",
"productId": "0x6068",
"lighting": "vialrgb",
"matrix": {
"rows": 5,
"cols": 15
},
"layouts": {
"keymap": [
[
{
"y": 0.13,
"x": 2.75
},
"0,2",
{
"x": 8.75
},
"0,11"
],
[
{
"y": -0.8799999999999999,
"x": 0.75,
"c": "#777777"
},
"0,0",
{
"c": "#cccccc"
},
"0,1"
],
[
{
"y": -0.885,
"x": 13.5
},
"0,12",
{
"c": "#aaaaaa",
"w": 2
},
"0,13",
{
"x": 0.879999999999999
},
"0,14"
],
[
{
"y": -0.11499999999999999,
"x": 0.5,
"w": 1.5
},
"1,0",
{
"c": "#cccccc"
},
"1,1",
{
"x": 9.25
},
"1,10"
],
[
{
"y": -0.885,
"x": 13.25
},
"1,11",
"1,12",
{
"w": 1.5
},
"1,13",
{
"x": 0.629999999999999,
"c": "#aaaaaa"
},
"1,14"
],
[
{
"y": -0.11500000000000021,
"x": 0.365,
"w": 1.75
},
"2,0",
{
"x": 0.009999999999999787,
"c": "#cccccc"
},
"2,1"
],
[
{
"y": -0.8849999999999998,
"x": 12.75
},
"2,10",
"2,11",
{
"c": "#777777",
"w": 2.25
},
"2,13",
{
"x": 0.379999999999999,
"c": "#aaaaaa"
},
"2,14"
],
[
{
"y": -0.11500000000000021,
"x": 0.125,
"w": 2.25
},
"3,0",
{
"x": -0.009999999999999787,
"c": "#cccccc"
},
"3,1"
],
[
{
"y": -0.8849999999999998,
"x": 12.25
},
"3,10",
"3,11",
{
"c": "#aaaaaa",
"w": 1.75
},
"3,12"
],
[
{
"y": -0.7400000000000002,
"x": 16.25,
"c": "#777777"
},
"3,13"
],
[
{
"y": -0.375,
"x": 0.125,
"c": "#aaaaaa",
"w": 1.5
},
"4,0"
],
[
{
"y": -0.625,
"x": 15.25,
"c": "#777777"
},
"4,12",
"4,13",
"4,14"
],
[
{
"r": 12,
"rx": 4.75,
"ry": 1.5,
"y": -1,
"x": -1,
"c": "#cccccc"
},
"0,3",
"0,4",
"0,5",
"0,6"
],
[
{
"x": -1.5
},
"1,2",
"1,3",
"1,4",
"1,5"
],
[
{
"x": -1.25
},
"2,2",
"2,3",
"2,4",
"2,5"
],
[
{
"x": -0.75
},
"3,2",
"3,3",
"3,4",
"3,5"
],
[
{
"x": 0.5,
"w": 2
},
"4,3",
{
"c": "#aaaaaa",
"w": 1.25
},
"4,5"
],
[
{
"y": -0.8700000000000001,
"x": -1,
"w": 1.5
},
"4,2"
],
[
{
"r": -12,
"rx": 13.5,
"y": -1.5,
"x": -5,
"c": "#cccccc"
},
"0,7",
"0,8",
"0,9",
"0,10"
],
[
{
"x": -5.5
},
"1,6",
"1,7",
"1,8",
"1,9"
],
[
{
"x": -5.25
},
"2,6",
"2,7",
"2,8",
"2,9"
],
[
{
"y": 1,
"x": -5.75,
"w": 2.75
},
"4,7"
],
[
{
"y": -0.8700000000000001,
"x": -3,
"c": "#aaaaaa",
"w": 1.5
},
"4,9"
],
[
{
"ry": 1.75,
"y": 1.25,
"x": -5.75,
"c": "#cccccc"
},
"3,6",
"3,7",
"3,8",
"3,9"
]
]
}
}