From 53beb28c406919b932265b7e77303c3b0904867a Mon Sep 17 00:00:00 2001 From: Erik Trinkle Date: Sun, 21 Jan 2024 19:52:11 -0500 Subject: [PATCH] add number row config --- .../rj12/dactyl/manuform_number_row/info.json | 76 ++++++++++ .../manuform_number_row/keymaps/vial/config.h | 10 ++ .../manuform_number_row/keymaps/vial/keymap.c | 98 +++++++++++++ .../manuform_number_row/keymaps/vial/rules.mk | 8 ++ .../keymaps/vial/vial.json | 134 ++++++++++++++++++ .../rj12/dactyl/manuform_number_row/rules.mk | 1 + 6 files changed, 327 insertions(+) create mode 100644 keyboards/cyboard/rj12/dactyl/manuform_number_row/info.json create mode 100644 keyboards/cyboard/rj12/dactyl/manuform_number_row/keymaps/vial/config.h create mode 100644 keyboards/cyboard/rj12/dactyl/manuform_number_row/keymaps/vial/keymap.c create mode 100644 keyboards/cyboard/rj12/dactyl/manuform_number_row/keymaps/vial/rules.mk create mode 100644 keyboards/cyboard/rj12/dactyl/manuform_number_row/keymaps/vial/vial.json create mode 100644 keyboards/cyboard/rj12/dactyl/manuform_number_row/rules.mk diff --git a/keyboards/cyboard/rj12/dactyl/manuform_number_row/info.json b/keyboards/cyboard/rj12/dactyl/manuform_number_row/info.json new file mode 100644 index 00000000000..840412f4b63 --- /dev/null +++ b/keyboards/cyboard/rj12/dactyl/manuform_number_row/info.json @@ -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 } + ] + } + } +} diff --git a/keyboards/cyboard/rj12/dactyl/manuform_number_row/keymaps/vial/config.h b/keyboards/cyboard/rj12/dactyl/manuform_number_row/keymaps/vial/config.h new file mode 100644 index 00000000000..d9728839e68 --- /dev/null +++ b/keyboards/cyboard/rj12/dactyl/manuform_number_row/keymaps/vial/config.h @@ -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 diff --git a/keyboards/cyboard/rj12/dactyl/manuform_number_row/keymaps/vial/keymap.c b/keyboards/cyboard/rj12/dactyl/manuform_number_row/keymaps/vial/keymap.c new file mode 100644 index 00000000000..ce3f29661ab --- /dev/null +++ b/keyboards/cyboard/rj12/dactyl/manuform_number_row/keymaps/vial/keymap.c @@ -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( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______ + ) +}; diff --git a/keyboards/cyboard/rj12/dactyl/manuform_number_row/keymaps/vial/rules.mk b/keyboards/cyboard/rj12/dactyl/manuform_number_row/keymaps/vial/rules.mk new file mode 100644 index 00000000000..a4fbe60c24e --- /dev/null +++ b/keyboards/cyboard/rj12/dactyl/manuform_number_row/keymaps/vial/rules.mk @@ -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 diff --git a/keyboards/cyboard/rj12/dactyl/manuform_number_row/keymaps/vial/vial.json b/keyboards/cyboard/rj12/dactyl/manuform_number_row/keymaps/vial/vial.json new file mode 100644 index 00000000000..7f7e6faf7e4 --- /dev/null +++ b/keyboards/cyboard/rj12/dactyl/manuform_number_row/keymaps/vial/vial.json @@ -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" + ] +] + } +} diff --git a/keyboards/cyboard/rj12/dactyl/manuform_number_row/rules.mk b/keyboards/cyboard/rj12/dactyl/manuform_number_row/rules.mk new file mode 100644 index 00000000000..e02abfc9b0e --- /dev/null +++ b/keyboards/cyboard/rj12/dactyl/manuform_number_row/rules.mk @@ -0,0 +1 @@ +