Add dz60rgb

This commit is contained in:
Hydroxycarbamide 2025-02-12 00:51:50 +01:00
parent e2c6a058b3
commit 87fb0d61e5
Signed by: Siklos
GPG key ID: C06D07D96997549A
16 changed files with 695 additions and 0 deletions

View file

@ -0,0 +1,105 @@
#include "quantum.h"
#ifdef RGB_MATRIX_ENABLE
const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = {
{ 0, SW11_CS14, SW10_CS14, SW12_CS14 },
{ 0, SW11_CS13, SW10_CS13, SW12_CS13 },
{ 0, SW11_CS12, SW10_CS12, SW12_CS12 },
{ 0, SW11_CS11, SW10_CS11, SW12_CS11 },
{ 0, SW11_CS10, SW10_CS10, SW12_CS10 },
{ 0, SW11_CS9, SW10_CS9, SW12_CS9 },
{ 0, SW11_CS8, SW10_CS8, SW12_CS8 },
{ 0, SW11_CS7, SW10_CS7, SW12_CS7 },
{ 0, SW11_CS6, SW10_CS6, SW12_CS6 },
{ 0, SW11_CS5, SW10_CS5, SW12_CS5 },
{ 0, SW11_CS4, SW10_CS4, SW12_CS4 },
{ 0, SW11_CS3, SW10_CS3, SW12_CS3 },
{ 0, SW11_CS2, SW10_CS2, SW12_CS2 },
{ 0, SW11_CS1, SW10_CS1, SW12_CS1 },
{ 0, SW8_CS14, SW7_CS14, SW9_CS14 },
{ 0, SW8_CS13, SW7_CS13, SW9_CS13 },
{ 0, SW8_CS12, SW7_CS12, SW9_CS12 },
{ 0, SW8_CS11, SW7_CS11, SW9_CS11 },
{ 0, SW8_CS10, SW7_CS10, SW9_CS10 },
{ 0, SW8_CS9, SW7_CS9, SW9_CS9 },
{ 0, SW8_CS8, SW7_CS8, SW9_CS8 },
{ 0, SW8_CS7, SW7_CS7, SW9_CS7 },
{ 0, SW8_CS6, SW7_CS6, SW9_CS6 },
{ 0, SW8_CS5, SW7_CS5, SW9_CS5 },
{ 0, SW8_CS4, SW7_CS4, SW9_CS4 },
{ 0, SW8_CS3, SW7_CS3, SW9_CS3 },
{ 0, SW8_CS2, SW7_CS2, SW9_CS2 },
{ 0, SW8_CS1, SW7_CS1, SW9_CS1 },
{ 0, SW5_CS14, SW4_CS14, SW6_CS14 },
{ 0, SW5_CS12, SW4_CS12, SW6_CS12 },
{ 0, SW5_CS11, SW4_CS11, SW6_CS11 },
{ 0, SW5_CS10, SW4_CS10, SW6_CS10 },
{ 0, SW5_CS9, SW4_CS9, SW6_CS9 },
{ 0, SW5_CS8, SW4_CS8, SW6_CS8 },
{ 0, SW5_CS7, SW4_CS7, SW6_CS7 },
{ 0, SW5_CS6, SW4_CS6, SW6_CS6 },
{ 0, SW5_CS5, SW4_CS5, SW6_CS5 },
{ 0, SW5_CS4, SW4_CS4, SW6_CS4 },
{ 0, SW5_CS3, SW4_CS3, SW6_CS3 },
{ 0, SW5_CS2, SW4_CS2, SW6_CS2 },
{ 0, SW5_CS1, SW4_CS1, SW6_CS1 },
{ 0, SW2_CS14, SW1_CS14, SW3_CS14 },
{ 0, SW2_CS13, SW1_CS13, SW3_CS13 },
{ 0, SW2_CS11, SW1_CS11, SW3_CS11 },
{ 0, SW2_CS10, SW1_CS10, SW3_CS10 },
{ 0, SW2_CS9, SW1_CS9, SW3_CS9 },
{ 0, SW2_CS8, SW1_CS8, SW3_CS8 },
{ 0, SW2_CS7, SW1_CS7, SW3_CS7 },
{ 0, SW2_CS6, SW1_CS6, SW3_CS6 },
{ 0, SW2_CS5, SW1_CS5, SW3_CS5 },
{ 0, SW2_CS4, SW1_CS4, SW3_CS4 },
{ 0, SW2_CS3, SW1_CS3, SW3_CS3 },
{ 0, SW2_CS2, SW1_CS2, SW3_CS2 },
{ 0, SW2_CS1, SW1_CS1, SW3_CS1 },
{ 0, SW2_CS15, SW1_CS15, SW3_CS15 },
{ 0, SW5_CS13, SW4_CS13, SW6_CS13 },
{ 0, SW2_CS12, SW1_CS12, SW3_CS12 },
{ 0, SW5_CS15, SW4_CS15, SW6_CS15 },
{ 0, SW8_CS15, SW7_CS15, SW9_CS15 },
{ 0, SW2_CS16, SW1_CS16, SW3_CS16 },
{ 0, SW5_CS16, SW4_CS16, SW6_CS16 },
{ 0, SW8_CS16, SW7_CS16, SW9_CS16 },
{ 0, SW11_CS16, SW10_CS16, SW12_CS16 }
};
led_config_t g_led_config = {
{
{ 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 },
{ 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14 },
{ 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, NO_LED, 28 },
{ 53, 52, 51, 50, 49, 48, 47, 46, 45, 44, 43, 42, NO_LED, 41 },
{ 62, 61, 60, NO_LED, NO_LED, 59, NO_LED, NO_LED, 58, 57, 56, 55, NO_LED, 54 }
}, {
{ 216, 0 }, { 192, 0 }, { 176, 0 }, { 160, 0 }, { 144, 0 }, { 128, 0 }, { 112, 0 }, { 96, 0 }, { 80, 0 }, { 64, 0 }, { 48, 0 }, { 32, 0 }, { 16, 0 }, { 0, 0 },
{ 220, 16 }, { 200, 16 }, { 184, 16 }, { 168, 16 }, { 152, 16 }, { 136, 16 }, { 120, 16 }, { 104, 16 }, { 88, 16 }, { 72, 16 }, { 56, 16 }, { 40, 16 }, { 24, 16 }, { 4, 16 },
{ 214, 32 }, { 188, 32 }, { 172, 32 }, { 156, 32 }, { 140, 32 }, { 124, 32 }, { 108, 32 }, { 92, 32 }, { 76, 32 }, { 60, 32 }, { 44, 32 }, { 28, 32 }, { 6, 32 },
{ 224, 48 }, { 208, 48 }, { 186, 48 }, { 164, 48 }, { 148, 48 }, { 132, 48 }, { 116, 48 }, { 100, 48 }, { 84, 48 }, { 68, 48 }, { 52, 48 }, { 36, 48 }, { 9, 48 },
{ 224, 64 }, { 208, 64 }, { 192, 64 }, { 176, 64 }, { 160, 64 }, { 102, 64 }, { 42, 64 }, { 22, 64 }, { 2, 64 }
}, {
1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
1, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
1, 1, 1, 1, 1, 4, 1, 1, 1
}
};
bool rgb_matrix_indicators_kb(void) {
if (!rgb_matrix_indicators_user()) {
return false;
}
if (host_keyboard_led_state().caps_lock) {
rgb_matrix_set_color(40, 0xFF, 0xFF, 0xFF);
}
return true;
}
#endif

View file

@ -0,0 +1,82 @@
{
"keyboard_name": "DZ60RGB",
"manufacturer": "DZTECH",
"url": "",
"maintainer": "dztech",
"usb": {
"vid": "0x445A"
},
"layouts": {
"LAYOUT": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
{"matrix": [0, 2], "x": 2, "y": 0},
{"matrix": [0, 3], "x": 3, "y": 0},
{"matrix": [0, 4], "x": 4, "y": 0},
{"matrix": [0, 5], "x": 5, "y": 0},
{"matrix": [0, 6], "x": 6, "y": 0},
{"matrix": [0, 7], "x": 7, "y": 0},
{"matrix": [0, 8], "x": 8, "y": 0},
{"matrix": [0, 9], "x": 9, "y": 0},
{"matrix": [0, 10], "x": 10, "y": 0},
{"matrix": [0, 11], "x": 11, "y": 0},
{"matrix": [0, 12], "x": 12, "y": 0},
{"matrix": [0, 13], "x": 13, "y": 0, "w": 2},
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
{"matrix": [1, 1], "x": 1.5, "y": 1},
{"matrix": [1, 2], "x": 2.5, "y": 1},
{"matrix": [1, 3], "x": 3.5, "y": 1},
{"matrix": [1, 4], "x": 4.5, "y": 1},
{"matrix": [1, 5], "x": 5.5, "y": 1},
{"matrix": [1, 6], "x": 6.5, "y": 1},
{"matrix": [1, 7], "x": 7.5, "y": 1},
{"matrix": [1, 8], "x": 8.5, "y": 1},
{"matrix": [1, 9], "x": 9.5, "y": 1},
{"matrix": [1, 10], "x": 10.5, "y": 1},
{"matrix": [1, 11], "x": 11.5, "y": 1},
{"matrix": [1, 12], "x": 12.5, "y": 1},
{"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5},
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
{"matrix": [2, 1], "x": 1.75, "y": 2},
{"matrix": [2, 2], "x": 2.75, "y": 2},
{"matrix": [2, 3], "x": 3.75, "y": 2},
{"matrix": [2, 4], "x": 4.75, "y": 2},
{"matrix": [2, 5], "x": 5.75, "y": 2},
{"matrix": [2, 6], "x": 6.75, "y": 2},
{"matrix": [2, 7], "x": 7.75, "y": 2},
{"matrix": [2, 8], "x": 8.75, "y": 2},
{"matrix": [2, 9], "x": 9.75, "y": 2},
{"matrix": [2, 10], "x": 10.75, "y": 2},
{"matrix": [2, 11], "x": 11.75, "y": 2},
{"matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25},
{"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25},
{"matrix": [3, 1], "x": 2.25, "y": 3},
{"matrix": [3, 2], "x": 3.25, "y": 3},
{"matrix": [3, 3], "x": 4.25, "y": 3},
{"matrix": [3, 4], "x": 5.25, "y": 3},
{"matrix": [3, 5], "x": 6.25, "y": 3},
{"matrix": [3, 6], "x": 7.25, "y": 3},
{"matrix": [3, 7], "x": 8.25, "y": 3},
{"matrix": [3, 8], "x": 9.25, "y": 3},
{"matrix": [3, 9], "x": 10.25, "y": 3},
{"matrix": [3, 10], "x": 11.25, "y": 3, "w": 1.75},
{"matrix": [3, 11], "x": 13, "y": 3},
{"matrix": [3, 13], "x": 14, "y": 3},
{"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25},
{"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25},
{"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25},
{"matrix": [4, 5], "x": 3.75, "y": 4, "w": 6.25},
{"matrix": [4, 8], "x": 10, "y": 4},
{"matrix": [4, 9], "x": 11, "y": 4},
{"matrix": [4, 10], "x": 12, "y": 4},
{"matrix": [4, 11], "x": 13, "y": 4},
{"matrix": [4, 13], "x": 14, "y": 4}
]
}
}
}

View file

@ -0,0 +1,4 @@
#pragma once
#define TAPPING_TERM 150
#define USB_POLLING_INTERVAL_MS 1 // Polling interval in ms

View file

@ -0,0 +1,32 @@
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(
KC_ESC, 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_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_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_ENT,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, RSFT_T(KC_SLSH), KC_UP, LT(3, KC_DEL),
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT
),
[1] = LAYOUT(
KC_GRAVE, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL,
_______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUS, TO(0),
TO(2), KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGUP, NK_TOGG,
_______, _______, _______, _______, _______, _______, _______, _______, _______, KC_END, KC_PGDN, KC_VOLU, KC_MUTE,
_______, _______, _______, TO(4), _______, KC_RCTL, KC_MPRV, KC_VOLD, KC_MNXT
),
[2] = LAYOUT(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, TO(0),
TO(0), KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, _______, _______,
_______, LSFT(KC_1), LSFT(KC_2), LSFT(KC_3), LSFT(KC_4), LSFT(KC_5), LSFT(KC_6), LSFT(KC_7), LSFT(KC_8), LSFT(KC_9), LSFT(KC_0), _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______
),
[3] = LAYOUT(
KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, KC_PPLS, _______, _______, _______, _______, KC_PSLS, KC_PAST, KC_PMNS, KC_PPLS, RGB_TOG,
_______, KC_P7, KC_P8, KC_P9, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, KC_P7, KC_P8, KC_P9, RGB_RMOD, RGB_MOD, TO(0),
_______, KC_P4, KC_P5, KC_P6, RGB_VAD, RGB_VAI, RGB_SPD, RGB_SPI, KC_P4, KC_P5, KC_P6, _______, KC_PENT,
_______, KC_P1, KC_P2, KC_P3, _______, _______, _______, _______, KC_P1, KC_P2, KC_P3, _______, _______,
_______, KC_P0, KC_PDOT, KC_PENT, KC_P0, KC_PDOT, _______, _______, _______
)
};

View file

@ -0,0 +1,36 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once
#define VIAL_KEYBOARD_UID {0xD1, 0x4C, 0x61, 0xE8, 0x68, 0xE9, 0xD2, 0x3C}
#define VIAL_UNLOCK_COMBO_ROWS { 0, 4 }
#define VIAL_UNLOCK_COMBO_COLS { 0, 0 }
#define USB_POLLING_INTERVAL_MS 1 // Polling interval in ms
#define TAPPING_TERM 150
// Reduce firmware size by decreasing number of functions
#define DYNAMIC_KEYMAP_LAYER_COUNT 4
#define DYNAMIC_KEYMAP_MACRO_COUNT 8
#define VIAL_COMBO_ENTRIES 4
// Disable some RGB modes to save space
#undef ENABLE_RGB_MATRIX_PIXEL_RAIN
#undef ENABLE_RGB_MATRIX_PIXEL_FLOW
#undef ENABLE_RGB_MATRIX_PIXEL_FRACTAL
#undef ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
#undef ENABLE_RGB_MATRIX_RAINBOW_BEACON
#undef ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
#undef ENABLE_RGB_MATRIX_DUAL_BEACON
#undef ENABLE_RGB_MATRIX_CYCLE_SPIRAL
#undef ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
#undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN
#undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
#undef ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
#undef ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
#undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
#undef ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
#undef ENABLE_RGB_MATRIX_BAND_VAL
#undef RGB_MATRIX_KEYPRESSES
#undef RGB_MATRIX_FRAMEBUFFER_EFFECTS

View file

@ -0,0 +1,32 @@
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(
KC_ESC, 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_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_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_ENT,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, RSFT_T(KC_SLSH), KC_UP, LT(3, KC_DEL),
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT
),
[1] = LAYOUT(
KC_GRAVE, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL,
_______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUS, TO(0),
TO(2), KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGUP, NK_TOGG,
_______, _______, _______, _______, _______, _______, _______, _______, _______, KC_END, KC_PGDN, KC_VOLU, KC_MUTE,
_______, _______, _______, TO(4), _______, KC_RCTL, KC_MPRV, KC_VOLD, KC_MNXT
),
[2] = LAYOUT(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, TO(0),
TO(0), KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, _______, _______,
_______, LSFT(KC_1), LSFT(KC_2), LSFT(KC_3), LSFT(KC_4), LSFT(KC_5), LSFT(KC_6), LSFT(KC_7), LSFT(KC_8), LSFT(KC_9), LSFT(KC_0), _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______
),
[3] = LAYOUT(
KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, KC_PPLS, _______, _______, _______, _______, KC_PSLS, KC_PAST, KC_PMNS, KC_PPLS, RGB_TOG,
_______, KC_P7, KC_P8, KC_P9, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, KC_P7, KC_P8, KC_P9, RGB_RMOD, RGB_MOD, TO(0),
_______, KC_P4, KC_P5, KC_P6, RGB_VAD, RGB_VAI, RGB_SPD, RGB_SPI, KC_P4, KC_P5, KC_P6, _______, KC_PENT,
_______, KC_P1, KC_P2, KC_P3, _______, _______, _______, _______, KC_P1, KC_P2, KC_P3, _______, _______,
_______, KC_P0, KC_PDOT, KC_PENT, KC_P0, KC_PDOT, _______, _______, _______
)
};

View file

@ -0,0 +1,9 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes
# Options to reduce firmware size:
LTO_ENABLE = yes # make the compiler work harder
QMK_SETTINGS = no # enables the tab to change QMK settings from the GUI
TAP_DANCE_ENABLE = no # enables "key tap" functionality
KEY_OVERRIDE_ENABLE = no # enables the ability to add custom keys
COMBO_ENABLE = no

View file

@ -0,0 +1,156 @@
{
"name": "DZ60RGB V2",
"vendorId": "0x445A",
"productId": "0x1121",
"lighting": {
"extends": "none",
"keycodes": "qmk"
},
"matrix": {
"rows": 5,
"cols": 14
},
"layouts": {
"keymap": [
[
{
"c": "#777777"
},
"0,0",
{
"c": "#cccccc"
},
"0,1",
"0,2",
"0,3",
"0,4",
"0,5",
"0,6",
"0,7",
"0,8",
"0,9",
"0,10",
"0,11",
"0,12",
{
"c": "#aaaaaa",
"w": 2
},
"0,13"
],
[
{
"w": 1.5
},
"1,0",
{
"c": "#cccccc"
},
"1,1",
"1,2",
"1,3",
"1,4",
"1,5",
"1,6",
"1,7",
"1,8",
"1,9",
"1,10",
"1,11",
"1,12",
{
"w": 1.5
},
"1,13"
],
[
{
"w": 1.75
},
"2,0",
{
"c": "#cccccc"
},
"2,1",
"2,2",
"2,3",
"2,4",
"2,5",
"2,6",
"2,7",
"2,8",
"2,9",
"2,10",
"2,11",
{
"c": "#aaaaaa",
"w": 2.25
},
"2,13"
],
[
{
"c": "#aaaaaa",
"w": 2.25
},
"3,0",
{
"c": "#cccccc"
},
"3,1",
"3,2",
"3,3",
"3,4",
"3,5",
"3,6",
"3,7",
"3,8",
"3,9",
{
"c": "#aaaaaa",
"w": 1.75
},
"3,10",
{
"c": "#777777"
},
"3,11",
{
"c": "#cccccc"
},
"3,13"
],
[
{
"c": "#aaaaaa",
"w": 1.25
},
"4,0",
{
"w": 1.25
},
"4,1",
{
"w": 1.25
},
"4,2",
{
"c": "#cccccc",
"w": 6.25
},
"4,5",
{
"c": "#aaaaaa"
},
"4,8",
"4,9",
{
"c": "#777777"
},
"4,10",
"4,11",
"4,13"
]
]
}
}

View file

@ -0,0 +1,24 @@
# DZ60RGB
![dz60rgb](https://cdn.shopify.com/s/files/1/0043/9140/3591/products/TIM_20190130170231_grande.jpg?v=1548839053)
A hotswap 60% RGB keyboard.
* Keyboard Maintainer: [moyi4681](https://github.com/moyi4681)
* Hardware Supported: DZtech DZ60RGB V1 and V2
* Hardware Availability: [KBDfans](https://kbdfans.com/)
There are three versions of the DZ60RGB. Please use the appropriate firmware for your board.
* V1: STM32F303 (Arm), takes .bin files
* V2: ATmega32U4 (AVR), takes .hex files
* V2.1: ATmega32U4 (AVR), takes .bin files [Flash Manual](https://docs.google.com/document/d/111qx6Qec4JqtIhWaZlMND-VuRnFtn9a-gJaHN8fsL7M/edit?usp=sharing)
Started shipping in June 2021 as a slightly modified version of v2.
Make example for this keyboard (after setting up your build environment):
make dztech/dz60rgb/v1:default # Arm (STM32F303)
make dztech/dz60rgb/v2:default # AVR (ATmega32U4)
make dztech/dz60rgb/v2_1:default # AVR (ATmega32U4)
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).

View file

@ -0,0 +1,3 @@
#pragma once
#define IS31FL3733_I2C_ADDRESS_1 IS31FL3733_I2C_ADDRESS_GND_GND

View file

@ -0,0 +1,73 @@
{
"usb": {
"pid": "0x1120",
"device_version": "1.0.0"
},
"rgb_matrix": {
"animations": {
"alphas_mods": true,
"gradient_up_down": true,
"gradient_left_right": true,
"breathing": true,
"band_sat": true,
"band_val": true,
"band_pinwheel_sat": true,
"band_pinwheel_val": true,
"band_spiral_sat": true,
"band_spiral_val": true,
"cycle_all": true,
"cycle_left_right": true,
"cycle_up_down": true,
"rainbow_moving_chevron": true,
"cycle_out_in": true,
"cycle_out_in_dual": true,
"cycle_pinwheel": true,
"cycle_spiral": true,
"dual_beacon": true,
"rainbow_beacon": true,
"rainbow_pinwheels": true,
"raindrops": true,
"jellybean_raindrops": true,
"hue_breathing": true,
"hue_pendulum": true,
"hue_wave": true,
"pixel_rain": true,
"pixel_flow": true,
"pixel_fractal": true,
"typing_heatmap": true,
"digital_rain": true,
"solid_reactive_simple": true,
"solid_reactive": true,
"solid_reactive_wide": true,
"solid_reactive_multiwide": true,
"solid_reactive_cross": true,
"solid_reactive_multicross": true,
"solid_reactive_nexus": true,
"solid_reactive_multinexus": true,
"solid_splash": true
},
"default": {
"animation": "cycle_all"
},
"driver": "is31fl3733",
"led_process_limit": 4,
"led_flush_limit": 26,
"sleep": true
},
"matrix_pins": {
"cols": ["A6", "A7", "B0", "B13", "B15", "A8", "A15", "B3", "B4", "B5", "B8", "B9", "C13", "C14"],
"rows": ["B1", "B10", "B11", "B14", "B12"]
},
"diode_direction": "COL2ROW",
"processor": "STM32F303",
"bootloader": "stm32-dfu",
"features": {
"bootmagic": true,
"mousekey": true,
"extrakey": true,
"nkro": true,
"rgb_matrix": true
},
"board": "QMK_PROTON_C",
"debounce": 3
}

View file

@ -0,0 +1,3 @@
#pragma once
#define IS31FL3733_I2C_ADDRESS_1 IS31FL3733_I2C_ADDRESS_GND_GND

View file

@ -0,0 +1,55 @@
{
"usb": {
"pid": "0x1121",
"device_version": "2.0.0"
},
"rgb_matrix": {
"animations": {
"alphas_mods": true,
"gradient_left_right": true,
"breathing": true,
"band_val": true,
"band_pinwheel_val": true,
"band_spiral_val": true,
"cycle_all": true,
"cycle_left_right": true,
"cycle_up_down": true,
"rainbow_moving_chevron": true,
"cycle_out_in": true,
"cycle_out_in_dual": true,
"cycle_pinwheel": true,
"cycle_spiral": true,
"dual_beacon": true,
"rainbow_beacon": true,
"rainbow_pinwheels": true,
"raindrops": true,
"jellybean_raindrops": true,
"hue_breathing": true,
"hue_pendulum": true,
"hue_wave": true,
"pixel_rain": true,
"pixel_flow": true,
"pixel_fractal": true,
"typing_heatmap": true,
"solid_reactive_simple": true,
"solid_reactive": true
},
"driver": "is31fl3733",
"sleep": true
},
"matrix_pins": {
"cols": ["C7", "F7", "F6", "F0", "B0", "B1", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "B7"],
"rows": ["F5", "F4", "F1", "B3", "B2"]
},
"diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"features": {
"bootmagic": true,
"mousekey": true,
"extrakey": true,
"nkro": true,
"rgb_matrix": true
},
"debounce": 3
}

View file

@ -0,0 +1,21 @@
/* Copyright 2021 trankimtung
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#define IS31FL3733_I2C_ADDRESS_1 IS31FL3733_I2C_ADDRESS_GND_GND
#define USB_POLLING_INTERVAL_MS 1

View file

@ -0,0 +1,59 @@
{
"usb": {
"pid": "0x1121",
"device_version": "2.1.0"
},
"rgb_matrix": {
"animations":{
"gradient_left_right": true,
"breathing": true,
"band_val": true,
"band_pinwheel_val": true,
"band_spiral_val": true,
"cycle_all": true,
"cycle_left_right": true,
"cycle_up_down": true,
"rainbow_moving_chevron": true,
"cycle_out_in": true,
"cycle_out_in_dual": true,
"cycle_pinwheel": true,
"cycle_spiral": true,
"dual_beacon": true,
"rainbow_beacon": true,
"rainbow_pinwheels": true,
"raindrops": true,
"jellybean_raindrops": true,
"hue_breathing": true,
"hue_pendulum": true,
"hue_wave": true,
"pixel_rain": true,
"pixel_flow": true,
"pixel_fractal": true,
"typing_heatmap": true,
"solid_reactive_simple": true,
"solid_reactive": true
},
"driver": "is31fl3733",
"sleep": true
},
"matrix_pins": {
"cols": ["C7", "F7", "F6", "F0", "B0", "B1", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "B7"],
"rows": ["F5", "F4", "F1", "B3", "B2"]
},
"diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "lufa-ms",
"features": {
"bootmagic": true,
"mousekey": true,
"extrakey": true,
"nkro": true,
"rgb_matrix": true,
"space_cadet": false,
"grave_esc": false
},
"build": {
"lto": true
},
"debounce": 3
}

View file

@ -0,0 +1 @@
BOOTLOADER_SIZE = 6144