Browse Source

Add support for Zed65_rgb

pull/23363/head
mechlovin 1 month ago
parent
commit
a4a3e17474
10 changed files with 482 additions and 0 deletions
  1. +40
    -0
      keyboards/mechlovin/zed65/rgb/config.h
  2. +24
    -0
      keyboards/mechlovin/zed65/rgb/halconf.h
  3. +173
    -0
      keyboards/mechlovin/zed65/rgb/info.json
  4. +29
    -0
      keyboards/mechlovin/zed65/rgb/keymaps/default/keymap.c
  5. +29
    -0
      keyboards/mechlovin/zed65/rgb/keymaps/via/keymap.c
  6. +1
    -0
      keyboards/mechlovin/zed65/rgb/keymaps/via/rules.mk
  7. +29
    -0
      keyboards/mechlovin/zed65/rgb/mcuconf.h
  8. +28
    -0
      keyboards/mechlovin/zed65/rgb/readme.md
  9. +128
    -0
      keyboards/mechlovin/zed65/rgb/rgb.c
  10. +1
    -0
      keyboards/mechlovin/zed65/rgb/rules.mk

+ 40
- 0
keyboards/mechlovin/zed65/rgb/config.h View File

@ -0,0 +1,40 @@
/*
Copyright 2024 Mechlovin'
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
#ifdef RGBLIGHT_ENABLE
#define WS2812_PWM_DRIVER PWMD3 // default: PWMD2
#define WS2812_PWM_CHANNEL 1 // default: 2
#define WS2812_PWM_PAL_MODE 6 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 2
//#define WS2812_PWM_COMPLEMENTARY_OUTPUT // Define for a complementary timer output (TIMx_CHyN); omit for a normal timer output (TIMx_CHy).
#define WS2812_DMA_STREAM STM32_DMA1_STREAM3 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU.
#define WS2812_DMA_CHANNEL 2 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU.
#define WS2812_DMAMUX_ID STM32_DMAMUX1_TIM3_UP // DMAMUX configuration for TIMx_UP -- only required if your MCU has a DMAMUX peripheral, see the respective reference manual for the appropriate values for your MCU.
#endif
#ifdef RGB_MATRIX_ENABLE
#define IS31FL3741_I2C_ADDRESS_1 IS31FL3741_I2C_ADDRESS_SDA
#define RGB_MATRIX_DISABLE_KEYCODES
#define I2C1_SCL_PIN B8
#define I2C1_SDA_PIN B9
#define I2C1_CLOCK_SPEED 400000
#define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2
#endif

+ 24
- 0
keyboards/mechlovin/zed65/rgb/halconf.h View File

@ -0,0 +1,24 @@
/* Copyright 2024 QMK
*
* 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 HAL_USE_PWM TRUE
#define HAL_USE_I2C TRUE
#include_next <halconf.h>

+ 173
- 0
keyboards/mechlovin/zed65/rgb/info.json View File

@ -0,0 +1,173 @@
{
"manufacturer": "Mechlovin Studio",
"url": "https://mechlovin.studio/",
"maintainer": "mechlovin",
"keyboard_name": "Zed65 RGB",
"usb": {
"vid": "0x4D4C",
"pid": "0x6510",
"device_version": "0.0.1"
},
"features": {
"nkro": true,
"rgblight": true,
"rgb_matrix": true
},
"matrix_pins": {
"rows": ["B11", "B10", "B2", "B1", "B0"],
"cols": ["A5", "A4", "A3", "A7", "B12", "A15", "B3", "B4", "B5", "B6", "B7", "A8", "B15", "B14", "B13"]
},
"build": {
"lto": true
},
"diode_direction": "COL2ROW",
"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,
"splash": true,
"multisplash": true,
"solid_splash": true,
"solid_multisplash": true
},
"default": {
"animation": "cycle_all"
},
"driver": "is31fl3741",
"sleep": true
},
"rgblight": {
"led_count": 9,
"sleep": true,
"animations": {
"alternating": true,
"breathing": true,
"christmas": true,
"knight": true,
"rainbow_mood": true,
"rainbow_swirl": true,
"rgb_test": true,
"snake": true,
"static_gradient": true,
"twinkle": true
}
},
"ws2812": {
"pin": "A6",
"driver": "pwm"
},
"community_layouts": ["65_ansi_blocker_tsangan"],
"layouts": {
"LAYOUT_65_ansi_blocker_tsangan": {
"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": [0, 14], "x": 15, "y": 0},
{"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": [1, 14], "x": 15, "y": 1},
{"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": [2, 14], "x": 15, "y": 2},
{"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25},
{"matrix": [3, 2], "x": 2.25, "y": 3},
{"matrix": [3, 3], "x": 3.25, "y": 3},
{"matrix": [3, 4], "x": 4.25, "y": 3},
{"matrix": [3, 5], "x": 5.25, "y": 3},
{"matrix": [3, 6], "x": 6.25, "y": 3},
{"matrix": [3, 7], "x": 7.25, "y": 3},
{"matrix": [3, 8], "x": 8.25, "y": 3},
{"matrix": [3, 9], "x": 9.25, "y": 3},
{"matrix": [3, 10], "x": 10.25, "y": 3},
{"matrix": [3, 11], "x": 11.25, "y": 3},
{"matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75},
{"matrix": [3, 13], "x": 14, "y": 3},
{"matrix": [3, 14], "x": 15, "y": 3},
{"matrix": [4, 0], "x": 0, "y": 4, "w": 1.5},
{"matrix": [4, 1], "x": 1.5, "y": 4},
{"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.5},
{"matrix": [4, 6], "x": 4, "y": 4, "w": 7},
{"matrix": [4, 11], "x": 11, "y": 4, "w": 1.5},
{"matrix": [4, 12], "x": 13, "y": 4},
{"matrix": [4, 13], "x": 14, "y": 4},
{"matrix": [4, 14], "x": 15, "y": 4}
]
}
}
}

+ 29
- 0
keyboards/mechlovin/zed65/rgb/keymaps/default/keymap.c View File

@ -0,0 +1,29 @@
/*
Copyright 2023 Mechlovin'
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/>.
*/
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_65_ansi_blocker_tsangan(
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_HOME,
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_PGUP,
KC_CAPS, 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_PGDN,
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_END,
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
)
};

+ 29
- 0
keyboards/mechlovin/zed65/rgb/keymaps/via/keymap.c View File

@ -0,0 +1,29 @@
/*
Copyright 2023 Mechlovin'
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/>.
*/
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_65_ansi_blocker_tsangan(
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_HOME,
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_PGUP,
KC_CAPS, 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_PGDN,
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_END,
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
)
};

+ 1
- 0
keyboards/mechlovin/zed65/rgb/keymaps/via/rules.mk View File

@ -0,0 +1 @@
VIA_ENABLE = yes

+ 29
- 0
keyboards/mechlovin/zed65/rgb/mcuconf.h View File

@ -0,0 +1,29 @@
/* Copyright 2024 QMK
*
* 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
#include_next <mcuconf.h>
#undef STM32_I2C_USE_I2C1
#define STM32_I2C_USE_I2C1 TRUE
#undef STM32_PWM_USE_TIM3
#define STM32_PWM_USE_TIM3 TRUE
#undef STM32_DMA_USE_DMAMUX
#define STM32_DMA_USE_DMAMUX TRUE

+ 28
- 0
keyboards/mechlovin/zed65/rgb/readme.md View File

@ -0,0 +1,28 @@
# zed65rgb
![Zed65RGB](https://i.imgur.com/IbsSLb6h.jpeg)
A replace PCB for the Space65 R1&R2 keyboard.
* Keyboard Maintainer: [Mechlovin](https://github.com/mechlovin)
* Hardware Supported: Space65 R1&R2
* Hardware Availability: [Mechlovin' Studio](https://mechlovin.studio/)
Make example for this keyboard (after setting up your build environment):
make mechlovin/zed65/rev1
Flashing example for this keyboard:
make mechlovin/zed65/rev1:flash
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).
## Bootloader
Enter the bootloader in 4 ways:
* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
* **Bootloader reset**: Hold down the key at (0,13) in the matrix (usually the Back Space) and plug in the keyboard
* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available

+ 128
- 0
keyboards/mechlovin/zed65/rgb/rgb.c View File

@ -0,0 +1,128 @@
/* Copyright 2024 Mechlovin'
*
* 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/>.
*/
#include "quantum.h"
void board_init(void) {
AFIO->MAPR |= AFIO_MAPR_I2C1_REMAP;
}
#ifdef RGB_MATRIX_ENABLE
const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = {
/* Refer to IS31 manual for these locations
* driver
* | R location
* | | G location
* | | | B location
* | | | | LED Number in schematic
* | | | | | Key Number in schematic
* | | | | | | LED Index
* | | | | | | |*/
{0, CS37_SW7, CS39_SW7, CS38_SW7}, //D93-SW2-0
{0, CS37_SW8, CS39_SW8, CS38_SW8}, //D95-SW7-1
{0, CS34_SW7, CS36_SW7, CS35_SW7}, //D97-SW13-2
{0, CS34_SW8, CS36_SW8, CS35_SW8}, //D99-SW19-3
{0, CS31_SW7, CS33_SW7, CS32_SW7}, //D101-SW24-4
{0, CS31_SW8, CS33_SW8, CS32_SW8}, //D103-SW29-5
{0, CS28_SW7, CS30_SW7, CS29_SW7}, //D105-SW33-6
{0, CS28_SW8, CS30_SW8, CS29_SW8}, //D107-SW39-7
{0, CS7_SW7, CS9_SW7, CS8_SW7}, //D109-SW44-8
{0, CS7_SW8, CS9_SW8, CS8_SW8}, //D111-SW49-9
{0, CS13_SW7, CS15_SW7, CS14_SW7}, //D113-SW54-10
{0, CS13_SW8, CS15_SW8, CS14_SW8}, //D115-SW60-11
{0, CS16_SW7, CS18_SW7, CS17_SW7}, //D117-SW66-12
{0, CS16_SW8, CS18_SW8, CS17_SW8}, //D86-SW72-13
{0, CS19_SW8, CS21_SW8, CS20_SW8}, //D180-SW80-14
{0, CS37_SW5, CS39_SW5, CS38_SW5}, //D124-SW5-15
{0, CS37_SW6, CS39_SW6, CS38_SW6}, //D127-SW9-16
{0, CS34_SW5, CS36_SW5, CS35_SW5}, //D130-SW14-17
{0, CS34_SW6, CS36_SW6, CS35_SW6}, //D133-SW20-18
{0, CS31_SW5, CS33_SW5, CS32_SW5}, //D135-SW25-19
{0, CS31_SW6, CS33_SW6, CS32_SW6}, //D137-SW30-20
{0, CS28_SW5, CS30_SW5, CS29_SW5}, //D139-SW34-21
{0, CS28_SW6, CS30_SW6, CS29_SW6}, //D142-SW40-22
{0, CS7_SW5, CS9_SW5, CS8_SW5}, //D144-SW45-23
{0, CS7_SW6, CS9_SW6, CS8_SW6}, //D146-SW50-24
{0, CS13_SW5, CS15_SW5, CS14_SW5}, //D148-SW55-25
{0, CS13_SW6, CS15_SW6, CS14_SW6}, //D151-SW61-26
{0, CS16_SW5, CS18_SW5, CS17_SW5}, //D154-SW67-27
{0, CS16_SW6, CS18_SW6, CS17_SW6}, //D179-SW73-28
{0, CS19_SW6, CS21_SW6, CS20_SW6}, //D59-SW81-29
{0, CS37_SW3, CS39_SW3, CS38_SW3}, //D165-SW93-30
{0, CS37_SW4, CS39_SW4, CS38_SW4}, //D167-SW11-31
{0, CS34_SW3, CS36_SW3, CS35_SW3}, //D168-SW16-32
{0, CS34_SW4, CS36_SW4, CS35_SW4}, //D169-SW22-33
{0, CS31_SW3, CS33_SW3, CS32_SW3}, //D170-SW27-34
{0, CS31_SW4, CS33_SW4, CS32_SW4}, //D171-SW32-35
{0, CS28_SW3, CS30_SW3, CS29_SW3}, //D172-SW38-36
{0, CS28_SW4, CS30_SW4, CS29_SW4}, //D173-SW43-37
{0, CS7_SW3, CS9_SW3, CS8_SW3}, //D174-SW48-38
{0, CS7_SW4, CS9_SW4, CS8_SW4}, //D175-SW53-39
{0, CS13_SW3, CS15_SW3, CS14_SW3}, //D176-SW58-40
{0, CS13_SW4, CS15_SW4, CS14_SW4}, //D177-SW64-41
{0, CS16_SW3, CS18_SW3, CS17_SW3}, //D87-SW94-42
{0, CS19_SW3, CS21_SW3, CS20_SW3}, //D42-SW23-43
{0, CS37_SW1, CS39_SW1, CS38_SW1}, //D125-SW3-44
{0, CS34_SW1, CS36_SW1, CS35_SW1}, //D131-SW15-45
{0, CS34_SW2, CS36_SW2, CS35_SW2}, //D134-SW21-46
{0, CS31_SW1, CS33_SW1, CS32_SW1}, //D136-SW26-47
{0, CS31_SW2, CS33_SW2, CS32_SW2}, //D138-SW31-48
{0, CS28_SW1, CS30_SW1, CS29_SW1}, //D140-SW35-49
{0, CS28_SW2, CS30_SW2, CS29_SW2}, //D143-SW41-50
{0, CS7_SW1, CS9_SW1, CS8_SW1}, //D145-SW46-51
{0, CS7_SW2, CS9_SW2, CS8_SW2}, //D147-SW51-52
{0, CS13_SW1, CS15_SW1, CS14_SW1}, //D149-SW56-53
{0, CS13_SW2, CS15_SW2, CS14_SW2}, //D152-SW62-54
{0, CS16_SW1, CS18_SW1, CS17_SW1}, //D155-SW68-55
{0, CS16_SW2, CS18_SW2, CS17_SW2}, //D160-SW74-56
{0, CS19_SW2, CS21_SW2, CS20_SW2}, //D47-SW28-57
{0, CS37_SW9, CS39_SW9, CS38_SW9}, //D124-SW104-58
{0, CS37_SW2, CS39_SW2, CS38_SW2}, //D127-SW106-59
{0, CS34_SW9, CS36_SW9, CS35_SW9}, //D130-SW17-60
{0, CS28_SW9, CS30_SW9, CS29_SW9}, //D142-SW36-61
{0, CS13_SW9, CS15_SW9, CS14_SW9}, //D151-SW63-62
{0, CS16_SW9, CS18_SW9, CS17_SW9}, //D154-SW69-63
{0, CS16_SW4, CS18_SW4, CS17_SW4}, //D179-SW75-64
{0, CS19_SW4, CS21_SW4, CS20_SW4}, //D59-SW82-65
};
led_config_t g_led_config = { {
// Key Matrix to LED Index
{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14},
{15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29},
{30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, NO_LED, 42, 43},
{44, NO_LED, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57},
{58, 59, 60, NO_LED, NO_LED, NO_LED, 61, NO_LED, NO_LED, NO_LED, NO_LED, 62, 63, 64, 65},
}, {
{0, 0}, {16, 0}, {32, 0}, {48, 0}, {64, 0}, {80, 0}, {96, 0}, {112, 0}, {128, 0}, {144, 0}, {160, 0}, {176, 0}, {192, 0}, {208, 0}, {224, 0},
{0, 0}, {16, 0}, {32, 0}, {48, 0}, {64, 0}, {80, 0}, {96, 0}, {112, 0}, {128, 0}, {144, 0}, {160, 0}, {176, 0}, {192, 0}, {208, 0}, {224, 0},
{0, 0}, {16, 0}, {32, 0}, {48, 0}, {64, 0}, {80, 0}, {96, 0}, {112, 0}, {128, 0}, {144, 0}, {160, 0}, {176, 0}, {208, 0}, {224, 0},
{0, 0}, {32, 0}, {48, 0}, {64, 0}, {80, 0}, {96, 0}, {112, 0}, {128, 0}, {144, 0}, {160, 0}, {176, 0}, {192, 0}, {208, 0}, {224, 0},
{0, 0}, {16, 0}, {32, 0}, {96, 0}, {176, 0}, {192, 0}, {208, 0}, {224, 0},
}, {
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1,
}
};
#endif

+ 1
- 0
keyboards/mechlovin/zed65/rgb/rules.mk View File

@ -0,0 +1 @@
# This file intentionally left blank

Loading…
Cancel
Save