Skip to content

Commit

Permalink
create separate version for RJ-12 RP2040 dactyls.
Browse files Browse the repository at this point in the history
First POC, manuform function row
  • Loading branch information
RealET committed Nov 10, 2023
1 parent a309c15 commit 910302a
Show file tree
Hide file tree
Showing 101 changed files with 522 additions and 12 deletions.
11 changes: 11 additions & 0 deletions keyboards/cyboard/2_2/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/* Copyright 2023 Cyboard LLC (@Cyboard-DigitalTailor)
* SPDX-License-Identifier: GPL-2.0-or-later
*/

#pragma once

/* Split keyboard settings */
#define SERIAL_USART_TX_PIN GP28
#define SPLIT_HAND_PIN GP0

#define USB_VBUS_PIN GP27
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 12 additions & 0 deletions keyboards/cyboard/2_2/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"usb": {
"device_version": "0.2.0"
},
"matrix_pins": {
"rows": ["GP2", "GP3", "GP8", "GP4", "GP13", "GP9", "GP14"],
"cols": ["GP1", "GP10", "GP11", "GP12", "GP7", "GP6", "GP5", "GP19"]
},
"ws2812": {
"pin": "GP15"
}
}
6 changes: 0 additions & 6 deletions keyboards/cyboard/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@

#pragma once

/* Split keyboard settings */
#define SERIAL_USART_TX_PIN GP28
#define SPLIT_HAND_PIN GP0

/* RGB settings */
#ifdef RGB_MATRIX_ENABLE
# define WS2812_PIO_USE_PIO1 // Force the usage of PIO1 peripheral, by default the WS2812 implementation uses the PIO0 peripheral
Expand All @@ -26,5 +22,3 @@
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U

#define USB_VBUS_PIN GP27
6 changes: 0 additions & 6 deletions keyboards/cyboard/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,10 @@
"usb": {
"vid": "0x4359",
"pid": "0x0000",
"device_version": "0.2.0"
},
"processor": "RP2040",
"bootloader": "rp2040",
"diode_direction": "ROW2COL",
"matrix_pins": {
"rows": ["GP2", "GP3", "GP8", "GP4", "GP13", "GP9", "GP14"],
"cols": ["GP1", "GP10", "GP11", "GP12", "GP7", "GP6", "GP5", "GP19"]
},
"split": {
"enabled": true
},
Expand All @@ -27,7 +22,6 @@
"rgb_matrix": true
},
"ws2812": {
"pin": "GP15",
"driver": "vendor"
},
"rgb_matrix": {
Expand Down
11 changes: 11 additions & 0 deletions keyboards/cyboard/rj12/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/* Copyright 2023 Cyboard LLC (@Cyboard-DigitalTailor)
* SPDX-License-Identifier: GPL-2.0-or-later
*/

#pragma once

/* Split keyboard settings */
#define SERIAL_USART_TX_PIN GP0
#define MASTER_LEFT

#define USB_VBUS_PIN GP19
3 changes: 3 additions & 0 deletions keyboards/cyboard/rj12/dactyl/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"keyboard_name": "Dactyl"
}
88 changes: 88 additions & 0 deletions keyboards/cyboard/rj12/dactyl/manuform_function_row/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
{
"layouts": {
"LAYOUT_manuform_fun": {
"layout": [
{ "matrix": [6, 6], "x": 0, "y": 0 },
{ "matrix": [6, 5], "x": 1, "y": 0 },
{ "matrix": [6, 4], "x": 2, "y": 0 },
{ "matrix": [6, 3], "x": 3, "y": 0 },
{ "matrix": [6, 2], "x": 4, "y": 0 },
{ "matrix": [6, 1], "x": 5, "y": 0 },
{ "matrix": [13, 1], "x": 11.5, "y": 0 },
{ "matrix": [13, 2], "x": 12.5, "y": 0 },
{ "matrix": [13, 3], "x": 13.5, "y": 0 },
{ "matrix": [13, 4], "x": 14.5, "y": 0 },
{ "matrix": [13, 5], "x": 15.5, "y": 0 },
{ "matrix": [13, 6], "x": 16.5, "y": 0 },
{ "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,108 @@
/* 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_fun(
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_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_fun(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_UP, KC_END, _______, _______,
_______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
),

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

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

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

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

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

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

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

[9] = LAYOUT_manuform_fun(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
)
};
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
Loading

0 comments on commit 910302a

Please sign in to comment.