diff options
Diffstat (limited to 'keyboards/mechlovin/delphine/rgb_led')
-rw-r--r-- | keyboards/mechlovin/delphine/rgb_led/config.h | 1 | ||||
-rw-r--r-- | keyboards/mechlovin/delphine/rgb_led/info.json | 6 | ||||
-rw-r--r-- | keyboards/mechlovin/delphine/rgb_led/rgb_led.c | 2 | ||||
-rw-r--r-- | keyboards/mechlovin/delphine/rgb_led/rgb_led.h | 19 | ||||
-rw-r--r-- | keyboards/mechlovin/delphine/rgb_led/rules.mk | 1 |
5 files changed, 7 insertions, 22 deletions
diff --git a/keyboards/mechlovin/delphine/rgb_led/config.h b/keyboards/mechlovin/delphine/rgb_led/config.h index 0f91dd6efa..c813d4fa12 100644 --- a/keyboards/mechlovin/delphine/rgb_led/config.h +++ b/keyboards/mechlovin/delphine/rgb_led/config.h @@ -1,7 +1,6 @@ #pragma once #ifdef RGBLIGHT_ENABLE -#define RGB_DI_PIN E2 #define RGBLED_NUM 13 #define RGBLIGHT_HUE_STEP 8 #define RGBLIGHT_SAT_STEP 8 diff --git a/keyboards/mechlovin/delphine/rgb_led/info.json b/keyboards/mechlovin/delphine/rgb_led/info.json index 0a8f1ab220..3b9fb036e9 100644 --- a/keyboards/mechlovin/delphine/rgb_led/info.json +++ b/keyboards/mechlovin/delphine/rgb_led/info.json @@ -2,5 +2,11 @@ "usb": { "pid": "0xDEF2", "device_version": "0.0.1" + }, + "ws2812": { + "pin": "E2" + }, + "rgb_matrix": { + "driver": "IS31FL3731" } } diff --git a/keyboards/mechlovin/delphine/rgb_led/rgb_led.c b/keyboards/mechlovin/delphine/rgb_led/rgb_led.c index 3e02735cdf..02a011ba4b 100644 --- a/keyboards/mechlovin/delphine/rgb_led/rgb_led.c +++ b/keyboards/mechlovin/delphine/rgb_led/rgb_led.c @@ -14,7 +14,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "rgb_led.h" +#include "quantum.h" #ifdef RGB_MATRIX_ENABLE diff --git a/keyboards/mechlovin/delphine/rgb_led/rgb_led.h b/keyboards/mechlovin/delphine/rgb_led/rgb_led.h deleted file mode 100644 index 60d5817344..0000000000 --- a/keyboards/mechlovin/delphine/rgb_led/rgb_led.h +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright 2020 Team 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 - -#include "quantum.h" diff --git a/keyboards/mechlovin/delphine/rgb_led/rules.mk b/keyboards/mechlovin/delphine/rgb_led/rules.mk index 204fb1241b..5c624bc68f 100644 --- a/keyboards/mechlovin/delphine/rgb_led/rules.mk +++ b/keyboards/mechlovin/delphine/rgb_led/rules.mk @@ -1,3 +1,2 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow RGB_MATRIX_ENABLE = yes # Use RGB matrix -RGB_MATRIX_DRIVER = IS31FL3731 |