Migrate rgblight.pin and RGB_DI_PIN to ws2812.pin (#20303)

This commit is contained in:
Ryan
2023-04-06 18:00:54 +10:00
committed by GitHub
parent 71c22a12db
commit 47966dc2a6
2600 changed files with 4027 additions and 1909 deletions

View File

@@ -16,7 +16,6 @@
#pragma once
#define RGBLED_NUM 2
#define RGB_DI_PIN B2
// Save as much space as we can...
#define LAYER_STATE_8BIT

View File

@@ -8,6 +8,9 @@
"pid": "0x0202",
"device_version": "0.0.1"
},
"ws2812": {
"pin": "B2"
},
"matrix_pins": {
"direct": [
["B0", "B1"]

View File

@@ -11,6 +11,9 @@
"pin": "D5",
"levels": 6
},
"ws2812": {
"pin": "C6"
},
"processor": "atmega16u2",
"bootloader": "atmel-dfu",
"matrix_pins": {

View File

@@ -28,7 +28,6 @@ This will not be used, as RGBLIGHT_ENABLE is set to 'no' in rules.mk
We do not have enough space in the flash for this at the moment, maybe
further optimizations can be done on that side.
*/
#define RGB_DI_PIN C6
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
#define RGBLED_NUM 2

View File

@@ -18,9 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
/* RGB Underglow
* F6 PIN for XD60v2 that has pre-soldered WS2812 LEDs
*/
#define RGB_DI_PIN F6
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@@ -13,6 +13,9 @@
"levels": 6,
"on_state": 0
},
"ws2812": {
"pin": "F6"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu"
}

View File

@@ -18,9 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
/* RGB Underglow
* F6 PIN for XD60v3 that has pre-soldered LEDs
*/
#define RGB_DI_PIN F6
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@@ -13,6 +13,9 @@
"levels": 6,
"on_state": 0
},
"ws2812": {
"pin": "F6"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu"
}

View File

@@ -39,7 +39,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define NO_ACTION_ONESHOT
// ws2812 options
#define RGB_DI_PIN F6 // pin the DI on the ws2812 is hooked-up to
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@@ -19,6 +19,9 @@
"breathing": true,
"on_state": 0
},
"ws2812": {
"pin": "F6"
},
"indicators": {
"caps_lock": "B2",
"on_state": 0

View File

@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGB_DI_PIN F6
# define RGBLED_NUM 6
# define RGBLIGHT_HUE_STEP 12
# define RGBLIGHT_SAT_STEP 25

View File

@@ -18,6 +18,9 @@
"levels": 6,
"on_state": 0
},
"ws2812": {
"pin": "F6"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["ortho_5x15"],

View File

@@ -21,7 +21,6 @@
#define MATRIX_ROWS 6
#define MATRIX_COLS 15
#define RGB_DI_PIN C7
#define RGBLED_NUM 7
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD

View File

@@ -17,6 +17,9 @@
"caps_lock": "B6",
"on_state": 0
},
"ws2812": {
"pin": "C7"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["75_ansi", "75_iso"],

View File

@@ -16,7 +16,6 @@
#pragma once
#define RGB_DI_PIN F6
#define RGBLED_NUM 12
// #define RGBLIGHT_HUE_STEP 8
// #define RGBLIGHT_SAT_STEP 8

View File

@@ -22,6 +22,9 @@
"caps_lock": "B2",
"on_state": 0
},
"ws2812": {
"pin": "F6"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["75_ansi", "75_iso"],

View File

@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGB_DI_PIN B7
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@@ -21,6 +21,9 @@
"caps_lock": "E2",
"on_state": 0
},
"ws2812": {
"pin": "B7"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["tkl_ansi", "tkl_iso"],

View File

@@ -21,7 +21,6 @@
#define MATRIX_ROWS 6
#define MATRIX_COLS 18
#define RGB_DI_PIN C7
#define RGBLED_NUM 16
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD

View File

@@ -17,6 +17,9 @@
"num_lock": "C6",
"on_state": 0
},
"ws2812": {
"pin": "C7"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {