Skip to content

Commit

Permalink
add number row config
Browse files Browse the repository at this point in the history
  • Loading branch information
RealET committed Jan 22, 2024
1 parent cb53e39 commit 53beb28
Show file tree
Hide file tree
Showing 6 changed files with 327 additions and 0 deletions.
76 changes: 76 additions & 0 deletions keyboards/cyboard/rj12/dactyl/manuform_number_row/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"layouts": {
"LAYOUT_manuform_num": {
"layout": [
{ "matrix": [5, 6], "x": 0, "y": 1 },
{ "matrix": [5, 5], "x": 1, "y": 1 },
{ "matrix": [5, 4], "x": 2, "y": 1 },
{ "matrix": [5, 3], "x": 3, "y": 1 },
{ "matrix": [5, 2], "x": 4, "y": 1 },
{ "matrix": [5, 1], "x": 5, "y": 1 },
{ "matrix": [12, 1], "x": 11.5, "y": 1 },
{ "matrix": [12, 2], "x": 12.5, "y": 1 },
{ "matrix": [12, 3], "x": 13.5, "y": 1 },
{ "matrix": [12, 4], "x": 14.5, "y": 1 },
{ "matrix": [12, 5], "x": 15.5, "y": 1 },
{ "matrix": [12, 6], "x": 16.5, "y": 1 },
{ "matrix": [4, 6], "x": 0, "y": 2 },
{ "matrix": [4, 5], "x": 1, "y": 2 },
{ "matrix": [4, 4], "x": 2, "y": 2 },
{ "matrix": [4, 3], "x": 3, "y": 2 },
{ "matrix": [4, 2], "x": 4, "y": 2 },
{ "matrix": [4, 1], "x": 5, "y": 2 },
{ "matrix": [11, 1], "x": 11.5, "y": 2 },
{ "matrix": [11, 2], "x": 12.5, "y": 2 },
{ "matrix": [11, 3], "x": 13.5, "y": 2 },
{ "matrix": [11, 4], "x": 14.5, "y": 2 },
{ "matrix": [11, 5], "x": 15.5, "y": 2 },
{ "matrix": [11, 6], "x": 16.5, "y": 2 },
{ "matrix": [3, 6], "x": 0, "y": 3 },
{ "matrix": [3, 5], "x": 1, "y": 3 },
{ "matrix": [3, 4], "x": 2, "y": 3 },
{ "matrix": [3, 3], "x": 3, "y": 3 },
{ "matrix": [3, 2], "x": 4, "y": 3 },
{ "matrix": [3, 1], "x": 5, "y": 3 },
{ "matrix": [10, 1], "x": 11.5, "y": 3 },
{ "matrix": [10, 2], "x": 12.5, "y": 3 },
{ "matrix": [10, 3], "x": 13.5, "y": 3 },
{ "matrix": [10, 4], "x": 14.5, "y": 3 },
{ "matrix": [10, 5], "x": 15.5, "y": 3 },
{ "matrix": [10, 6], "x": 16.5, "y": 3 },
{ "matrix": [2, 6], "x": 0, "y": 4 },
{ "matrix": [2, 5], "x": 1, "y": 4 },
{ "matrix": [2, 4], "x": 2, "y": 4 },
{ "matrix": [2, 3], "x": 3, "y": 4 },
{ "matrix": [2, 2], "x": 4, "y": 4 },
{ "matrix": [2, 1], "x": 5, "y": 4 },
{ "matrix": [9, 1], "x": 11.5, "y": 4 },
{ "matrix": [9, 2], "x": 12.5, "y": 4 },
{ "matrix": [9, 3], "x": 13.5, "y": 4 },
{ "matrix": [9, 4], "x": 14.5, "y": 4 },
{ "matrix": [9, 5], "x": 15.5, "y": 4 },
{ "matrix": [9, 6], "x": 16.5, "y": 4 },
{ "matrix": [1, 6], "x": 0, "y": 5 },
{ "matrix": [1, 5], "x": 1, "y": 5 },
{ "matrix": [1, 4], "x": 2, "y": 5 },
{ "matrix": [1, 3], "x": 3, "y": 5 },
{ "matrix": [1, 2], "x": 4.5, "y": 5.5 },
{ "matrix": [1, 1], "x": 5.5, "y": 5.5 },
{ "matrix": [1, 0], "x": 6.5, "y": 6 },
{ "matrix": [8, 0], "x": 10, "y": 6 },
{ "matrix": [8, 1], "x": 11, "y": 5.5 },
{ "matrix": [8, 2], "x": 12, "y": 5.5 },
{ "matrix": [8, 3], "x": 13.5, "y": 5 },
{ "matrix": [8, 4], "x": 14.5, "y": 5 },
{ "matrix": [8, 5], "x": 15.5, "y": 5 },
{ "matrix": [8, 6], "x": 16.5, "y": 5 },
{ "matrix": [0, 2], "x": 6.5, "y": 7 },
{ "matrix": [0, 1], "x": 7.5, "y": 7 },
{ "matrix": [0, 0], "x": 7.5, "y": 6 },
{ "matrix": [7, 0], "x": 9, "y": 6 },
{ "matrix": [7, 1], "x": 9, "y": 7 },
{ "matrix": [7, 2], "x": 10, "y": 7 }
]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */

#pragma once

#define VIAL_KEYBOARD_UID {0xC4, 0xCC, 0xB4, 0x76, 0x30, 0x16, 0xFC, 0x70}

#define VIAL_UNLOCK_COMBO_ROWS { 10, 10 }
#define VIAL_UNLOCK_COMBO_COLS { 4, 5 }

#define DYNAMIC_KEYMAP_LAYER_COUNT 10
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
/* Copyright 2023 Cyboard LLC (@Cyboard-DigitalTailor)
* SPDX-License-Identifier: GPL-2.0-or-later
*/

#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

[0] = LAYOUT_manuform_num(
KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS,
KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
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_DOWN, KC_LGUI, KC_LALT, KC_LGUI, KC_ENT, KC_DEL, KC_BSPC, KC_SPC, MO(1), KC_LBRC, KC_RBRC, KC_LEFT, KC_RIGHT,
KC_HOME, KC_END, KC_ESC, KC_GRAVE, KC_CAPS, KC_APP
),

[1] = LAYOUT_manuform_num(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_UP, KC_END, _______, _______,
_______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
),

[2] = LAYOUT_manuform_num(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
),

[3] = LAYOUT_manuform_num(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
),

[4] = LAYOUT_manuform_num(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
),

[5] = LAYOUT_manuform_num(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
),

[6] = LAYOUT_manuform_num(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
),

[7] = LAYOUT_manuform_num(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
),

[8] = LAYOUT_manuform_num(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
),

[9] = LAYOUT_manuform_num(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
)
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes
LTO_ENABLE = no
QMK_SETTINGS = yes
TAP_DANCE_ENABLE = yes
COMBO_ENABLE = yes
KEY_OVERRIDE_ENABLE = yes
VIALRGB_ENABLE = yes
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
{
"name": "Dactyl",
"vendorId": "0xFEED",
"productId": "0x0000",
"lighting": "vialrgb",
"matrix": {
"rows": 14,
"cols": 7
},
"layouts": {
"keymap":
[
[
"5,6",
"5,5",
"5,4",
"5,3",
"5,2",
"5,1",
{
"x": 5.5
},
"12,1",
"12,2",
"12,3",
"12,4",
"12,5",
"12,6"
],
[
"4,6",
"4,5",
"4,4",
"4,3",
"4,2",
"4,1",
{
"x": 5.5
},
"11,1",
"11,2",
"11,3",
"11,4",
"11,5",
"11,6"
],
[
"3,6",
"3,5",
"3,4",
"3,3",
"3,2",
"3,1",
{
"x": 5.5
},
"10,1",
"10,2",
"10,3",
"10,4",
"10,5",
"10,6"
],
[
"2,6",
"2,5",
"2,4",
"2,3",
"2,2",
"2,1",
{
"x": 5.5
},
"9,1",
"9,2",
"9,3",
"9,4",
"9,5",
"9,6"
],
[
"1,6",
"1,5",
"1,4",
"1,3",
{
"x": 9.5
},
"8,3",
"8,4",
"8,5",
"8,6"
],
[
{
"y": -0.5,
"x": 4.5
},
"1,2",
"1,1",
{
"x": 4.5
},
"8,1",
"8,2"
],
[
{
"y": -0.5,
"x": 6.5
},
"1,0",
"0,0",
{
"x": 0.5
},
"7,0",
"8,0"
],
[
{
"x": 6.5
},
"0,2",
"0,1",
{
"x": 0.5
},
"7,1",
"7,2"
]
]
}
}
1 change: 1 addition & 0 deletions keyboards/cyboard/rj12/dactyl/manuform_number_row/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

0 comments on commit 53beb28

Please sign in to comment.