Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move RGBLIGHT_SPLIT to data driven #21190

Merged
merged 3 commits into from
Jun 15, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion keyboards/aleblazer/zodiark/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#ifdef RGBLIGHT_ENABLE
#define RGBLED_NUM 68
#define RGBLIGHT_SPLIT
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
Expand Down
1 change: 1 addition & 0 deletions keyboards/aleblazer/zodiark/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
},
"rgblight": {
"max_brightness": 170,
"split": true,
fauxpark marked this conversation as resolved.
Show resolved Hide resolved
"split_count": [34, 34]
},
"rgb_matrix": {
Expand Down
1 change: 0 additions & 1 deletion keyboards/avalanche/v2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@
#pragma once

#define RGBLED_NUM 12
#define RGBLIGHT_SPLIT
1 change: 1 addition & 0 deletions keyboards/avalanche/v2/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
]
},
"rgblight": {
"split": true,
"split_count": [6, 6]
},
"ws2812": {
Expand Down
1 change: 0 additions & 1 deletion keyboards/avalanche/v3/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@
#pragma once

#define RGBLED_NUM 12
#define RGBLIGHT_SPLIT
1 change: 1 addition & 0 deletions keyboards/avalanche/v3/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"soft_serial_pin": "D2"
},
"rgblight": {
"split": true,
"split_count": [7, 7]
},
"ws2812": {
Expand Down
1 change: 0 additions & 1 deletion keyboards/avalanche/v4/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

#ifdef RGBLIGHT_ENABLE
# define RGBLED_NUM 64
# define RGBLIGHT_SPLIT
# define RGBLIGHT_HUE_STEP 10
# define RGBLIGHT_SAT_STEP 17
# define RGBLIGHT_VAL_STEP 17
Expand Down
1 change: 1 addition & 0 deletions keyboards/avalanche/v4/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
},
"rgblight": {
"max_brightness": 100,
"split": true,
"split_count": [32, 32]
},
"processor": "atmega32u4",
Expand Down
1 change: 0 additions & 1 deletion keyboards/bastardkb/tbk/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#pragma once

#define RGBLED_NUM 38
#define RGBLIGHT_SPLIT
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
Expand Down
1 change: 1 addition & 0 deletions keyboards/bastardkb/tbk/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pid": "0x1828"
},
"rgblight": {
"split": true,
"split_count": [19, 19]
},
"ws2812": {
Expand Down
1 change: 0 additions & 1 deletion keyboards/bluebell/swoop/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLED_NUM 36
#define RGBLIGHT_SPLIT
#define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17
#define RGBLIGHT_VAL_STEP 17
Expand Down
1 change: 1 addition & 0 deletions keyboards/bluebell/swoop/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
},
"rgblight": {
"max_brightness": 150,
"split": true,
"split_count": [18, 18]
},
"matrix_pins": {
Expand Down
1 change: 0 additions & 1 deletion keyboards/crkbd/rev1/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#ifdef RGBLIGHT_ENABLE
# define RGBLED_NUM 54 // Number of LEDs
# define RGBLIGHT_SPLIT
#endif

#ifdef RGB_MATRIX_ENABLE
Expand Down
1 change: 1 addition & 0 deletions keyboards/crkbd/rev1/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"soft_serial_pin": "D2"
},
"rgblight": {
"split": true,
"split_count": [27, 27]
},
"ws2812": {
Expand Down
1 change: 0 additions & 1 deletion keyboards/doppelganger/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// #define USE_I2C

#define RGBLED_NUM 2
#define RGBLIGHT_SPLIT

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
Expand Down
1 change: 1 addition & 0 deletions keyboards/doppelganger/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
}
},
"rgblight": {
"split": true,
"split_count": [1, 1]
},
"ws2812": {
Expand Down
1 change: 0 additions & 1 deletion keyboards/draculad/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLED_NUM 10
#define RGBLIGHT_SPLIT
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
Expand Down
3 changes: 3 additions & 0 deletions keyboards/draculad/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"pid": "0x1B1E",
"device_version": "0.0.1"
},
"rgblight": {
"split": true
},
"ws2812": {
"pin": "D3"
},
Expand Down
1 change: 0 additions & 1 deletion keyboards/flxlb/zplit/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* ws2812 RGB LED */
#define RGBLED_NUM 16
#define RGBLIGHT_LED_MAP { 0, 1, 2, 3, 4, 5, 6, 7, 15, 14, 13, 12, 11, 10, 9, 8}
#define RGBLIGHT_SPLIT
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
Expand Down
1 change: 1 addition & 0 deletions keyboards/flxlb/zplit/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
]
},
"rgblight": {
"split": true,
"split_count": [8, 8]
},
"ws2812": {
Expand Down
1 change: 0 additions & 1 deletion keyboards/halfcliff/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COL_PINS { B4, E6, C6, B6, B2 }

#define RGBLED_NUM 10
#define RGBLIGHT_SPLIT
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
Expand Down
1 change: 1 addition & 0 deletions keyboards/halfcliff/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"soft_serial_pin": "D2"
},
"rgblight": {
"split": true,
"split_count": [5, 5]
},
"ws2812": {
Expand Down
2 changes: 0 additions & 2 deletions keyboards/handwired/brain/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#define RGBLED_NUM 28 // Number of LEDs

#define RGBLIGHT_SPLIT

/*
* Feature disable options
* These options are also useful to firmware size reduction.
Expand Down
1 change: 1 addition & 0 deletions keyboards/handwired/brain/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"pin": "D3"
},
"rgblight": {
"split": true,
"max_brightness": 120
},
"split": {
Expand Down
1 change: 0 additions & 1 deletion keyboards/handwired/freoduo/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* ws2812 RGB LED */
#if !defined(RGBLED_NUM)
# define RGBLED_NUM 30
# define RGBLIGHT_SPLIT
// Switch RGB sides with LED MAP.
# define RGBLIGHT_LED_MAP { 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30}
# define RGBLIGHT_LAYERS
Expand Down
1 change: 1 addition & 0 deletions keyboards/handwired/freoduo/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"soft_serial_pin": "D0"
},
"rgblight": {
"split": true,
"split_count": [16, 14]
},
"ws2812": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

// WS2812 RGB LED strip input and number of LEDs
#define RGBLED_NUM 20
#define RGBLIGHT_SPLIT

#define AUDIO_PIN C6

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
},
"rgblight": {
"max_brightness": 80,
"split": true,
"split_count": [10, 10]
},
"processor": "atmega32u4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_DMA_CHANNEL 3 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU.

#define RGBLED_NUM 20
#define RGBLIGHT_SPLIT

#define DEBUG_LED_PIN C13

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
},
"diode_direction": "COL2ROW",
"rgblight": {
"split": true,
"split_count": [10, 10]
},
"ws2812": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.


#define RGBLED_NUM 57
#define RGBLIGHT_SPLIT

#define DEBUG_LED_PIN C13

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
},
"diode_direction": "COL2ROW",
"rgblight": {
"split": true,
"split_count": [26, 31]
},
"ws2812": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

// WS2812 RGB LED strip input and number of LEDs
#define RGBLED_NUM 20
#define RGBLIGHT_SPLIT
#define RGBLIGHT_LIMIT_VAL 80

#define DEBUG_LED_PIN D6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
},
"rgblight": {
"max_brightness": 80,
"split": true,
"split_count": [10, 10]
},
"processor": "at90usb1286",
Expand Down
1 change: 0 additions & 1 deletion keyboards/handwired/tsubasa/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MASTER_RIGHT

# define RGBLED_NUM 12
# define RGBLIGHT_SPLIT
# define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 1
# define RGBLIGHT_VAL_STEP 1
Expand Down
1 change: 1 addition & 0 deletions keyboards/handwired/tsubasa/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"device_version": "1.0.0"
},
"rgblight": {
"split": true,
"split_count": [6, 6]
},
"ws2812": {
Expand Down
1 change: 0 additions & 1 deletion keyboards/helix/rev3_4rows/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#endif

#ifdef RGBLIGHT_ENABLE
#define RGBLIGHT_SPLIT
// #define RGBLIGHT_HUE_STEP 8
// #define RGBLIGHT_SAT_STEP 8
// #define RGBLIGHT_VAL_STEP 8
Expand Down
1 change: 1 addition & 0 deletions keyboards/helix/rev3_4rows/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
},
"rgblight": {
"max_brightness": 120,
"split": true,
"split_count": [25, 25]
},
"processor": "atmega32u4",
Expand Down
1 change: 0 additions & 1 deletion keyboards/helix/rev3_5rows/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#endif

#ifdef RGBLIGHT_ENABLE
#define RGBLIGHT_SPLIT
// #define RGBLIGHT_HUE_STEP 8
// #define RGBLIGHT_SAT_STEP 8
// #define RGBLIGHT_VAL_STEP 8
Expand Down
1 change: 1 addition & 0 deletions keyboards/helix/rev3_5rows/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
},
"rgblight": {
"max_brightness": 120,
"split": true,
"split_count": [32, 32]
},
"processor": "atmega32u4",
Expand Down
1 change: 0 additions & 1 deletion keyboards/hidtech/bastyl/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#pragma once

#define RGBLED_NUM 38
#define RGBLIGHT_SPLIT
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
Expand Down
3 changes: 3 additions & 0 deletions keyboards/hidtech/bastyl/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
"ws2812": {
"pin": "D2"
},
"rgblight": {
"split": true
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
Expand Down
1 change: 0 additions & 1 deletion keyboards/jian/nsrev2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_TWINKLE

#define RGBLIGHT_SLEEP
#define RGBLIGHT_SPLIT

#ifndef IOS_DEVICE_ENABLE
#if RGBLED_NUM <= 6
Expand Down
3 changes: 3 additions & 0 deletions keyboards/jian/nsrev2/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"levels": 5,
"breathing": true
},
"rgblight": {
"split": true
},
"ws2812": {
"pin": "D4"
},
Expand Down
1 change: 0 additions & 1 deletion keyboards/jian/rev1/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.


#define RGBLIGHT_SLEEP
#define RGBLIGHT_SPLIT

#ifndef IOS_DEVICE_ENABLE
#if RGBLED_NUM <= 6
Expand Down
3 changes: 3 additions & 0 deletions keyboards/jian/rev1/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
"pin": "B6",
"levels": 5
},
"rgblight": {
"split": true
},
"ws2812": {
"pin": "D4"
},
Expand Down
1 change: 0 additions & 1 deletion keyboards/jian/rev2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_TWINKLE

#define RGBLIGHT_SLEEP
#define RGBLIGHT_SPLIT

#ifndef IOS_DEVICE_ENABLE
#if RGBLED_NUM <= 6
Expand Down
3 changes: 3 additions & 0 deletions keyboards/jian/rev2/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
"pin": "C6",
"levels": 5
},
"rgblight": {
"split": true
},
"ws2812": {
"pin": "D4"
},
Expand Down
1 change: 0 additions & 1 deletion keyboards/jiran/rev2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 56
#define RGBLIGHT_SPLIT
#define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17
#define RGBLIGHT_VAL_STEP 17
Loading