Skip to content

Commit

Permalink
VIAL keymap - initial upload (#750)
Browse files Browse the repository at this point in the history
  • Loading branch information
azhizhinov committed Jun 23, 2024
1 parent d47a8c4 commit 73e009f
Show file tree
Hide file tree
Showing 4 changed files with 133 additions and 0 deletions.
12 changes: 12 additions & 0 deletions keyboards/pierce/keymaps/vial/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Copyright 2022 durken (@durken1)
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#define VIAL_KEYBOARD_UID {0x5C, 0x0A, 0x3E, 0x82, 0x9A, 0x9B, 0x3B, 0x85}
#define VIAL_UNLOCK_COMBO_ROWS {0, 0}
#define VIAL_UNLOCK_COMBO_COLS {0, 3}
// VIAL specific reduce memory
#define VIAL_COMBO_ENTRIES 4
#define VIAL_TAP_DANCE_ENTRIES 4
#define VIAL_KEY_OVERRIDE_ENTRIES 4
27 changes: 27 additions & 0 deletions keyboards/pierce/keymaps/vial/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// Copyright 2023 durken
// SPDX-License-Identifier: GPL-2.0-or-later

#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/*
* ┌───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┐
* │ Q │ W │ E │ R │ T │ │ Y │ U │ I │ O │ P │
* ├───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┤
* │ A │ S │ D │ F │ G │ │ H │ J │ K │ L │ ; │
* ├───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┤
* │ Z │ X │ C │ V │ B │ │ N │ M │ , │ . │ / │
* └───┴───┴───┴───┴───┘ └───┴───┴───┴───┴───┘
* ┌───┐ ┌───┐
* │GUI├───┐ ┌───┤Alt│
* └───┤Bsp├───┐ ┌───┤Ent├───┘
* └───┤ │ │ ├───┘
* └───┘ └───┘
*/
[0] = LAYOUT_split_3x5_3(
KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,
KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN,
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH,
KC_LGUI, KC_BSPC, KC_SPC, KC_SPC, KC_ENT, KC_RALT
)
};
3 changes: 3 additions & 0 deletions keyboards/pierce/keymaps/vial/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes
LTO_ENABLE = yes
91 changes: 91 additions & 0 deletions keyboards/pierce/keymaps/vial/vial.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"name": "pierce",
"vendorId": "0x6431",
"productId": "0x6060",
"lighting": "none",
"matrix": {
"rows": 4,
"cols": 10
},
"layouts": {
"keymap": [
[
"0,0",
"0,1",
"0,2",
"0,3",
"0,4",
{
"x": 0.25
},
"0,5",
"0,6",
"0,7",
"0,8",
"0,9"
],
[
"1,0",
"1,1",
"1,2",
"1,3",
"1,4",
{
"x": 0.25
},
"1,5",
"1,6",
"1,7",
"1,8",
"1,9"
],
[
"2,0",
"2,1",
"2,2",
"2,3",
"2,4",
{
"x": 0.25
},
"2,5",
"2,6",
"2,7",
"2,8",
"2,9"
],
[
{
"x": 2
},
"3,2",
{
"x": 4.25
},
"3,7"
],
[
{
"y": -0.75,
"x": 3
},
"3,3",
{
"x": 2.25
},
"3,6"
],
[
{
"y": -0.75,
"x": 4
},
"3,4",
{
"x": 0.25
},
"3,5"
]
]
}
}

0 comments on commit 73e009f

Please sign in to comment.