Migrate rgblight.pin
and RGB_DI_PIN
to ws2812.pin
(#20303)
This commit is contained in:
parent
71c22a12db
commit
47966dc2a6
2600 changed files with 4027 additions and 1909 deletions
|
@ -16,8 +16,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#define RGB_DI_PIN B5
|
||||
|
||||
#define RGBLED_NUM 5
|
||||
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
"pid": "0x6262",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B5"
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "C6", "pin_b": "B6", "resolution": 2}
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
/* Copyright 2022 tominabox1
|
||||
*
|
||||
* 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
|
||||
|
||||
/*
|
||||
* WS2812 Underglow Matrix options
|
||||
*/
|
||||
#define RGB_DI_PIN F0
|
|
@ -2,6 +2,9 @@
|
|||
"usb": {
|
||||
"device_version": "0.0.3"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "F0"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["F4", "F5", "B0", "B2", "B1", "B4", "D7", "C7", "D2", "F7"],
|
||||
"rows": ["B3", "D4", "F1", "C6"]
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
/* Copyright 2020 tominabox1
|
||||
*
|
||||
* 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
|
||||
|
||||
/*
|
||||
* WS2812 Underglow Matrix options
|
||||
*/
|
||||
#define RGB_DI_PIN F0
|
|
@ -2,6 +2,9 @@
|
|||
"usb": {
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "F0"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["F4", "F5", "B0", "B2", "B1", "B4", "D7", "C7", "D2", "F7"],
|
||||
"rows": ["B3", "D4", "F1", "C6"]
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
/* Copyright 2020 tominabox1
|
||||
*
|
||||
* 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
|
||||
|
||||
/*
|
||||
* WS2812 Underglow Matrix options
|
||||
*/
|
||||
#define RGB_DI_PIN B1
|
|
@ -2,6 +2,9 @@
|
|||
"usb": {
|
||||
"device_version": "0.0.2"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B2", "F0", "F1", "F4", "F5", "B5", "B4", "D7", "D6", "D4"],
|
||||
"rows": ["B3", "F6", "F7", "C7"]
|
||||
|
|
|
@ -5,8 +5,6 @@
|
|||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
#define RGB_DI_PIN F7
|
||||
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
"pid": "0x0001",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "F7"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B4", "D3", "D2", "F5", "B5", "F6", "D7"],
|
||||
"rows": ["F4", "D4", "C6", "E6", "D1", "D0"]
|
||||
|
|
|
@ -19,6 +19,3 @@
|
|||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
/* #define RGB_DI_PIN B6
|
||||
#define RGBLED_NUM 1 */
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
#define RGB_DI_PIN D6
|
||||
#define RGBLED_NUM 12
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
"pid": "0x3302",
|
||||
"device_version": "0.0.2"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D6"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["C5", "C6", "C7", "B7", "B6", "B5", "B4", "B3", "C2", "D0"],
|
||||
"rows": ["C4", "B0", "B1", "B2"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue