diff options
| author | Drashna Jaelre <drashna@live.com> | 2018-10-22 10:26:19 -0700 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2018-10-22 14:55:57 -0400 |
| commit | 7e99d869deb57251dc15620beff34d5fd53066e4 (patch) | |
| tree | ed27b00c76ffc6ac799fa56c2c3e89672094ba0e /keyboards | |
| parent | 00b6f14821f44ead75504e28d7fed26791cb2875 (diff) | |
| download | qmk_firmware-7e99d869deb57251dc15620beff34d5fd53066e4.tar.gz qmk_firmware-7e99d869deb57251dc15620beff34d5fd53066e4.zip | |
Remove all of the deprecated RGB defines
Fixes #3641
Diffstat (limited to 'keyboards')
57 files changed, 62 insertions, 177 deletions
diff --git a/keyboards/6ball/config.h b/keyboards/6ball/config.h index 19d24486c..b0e59f20c 100644 --- a/keyboards/6ball/config.h +++ b/keyboards/6ball/config.h | |||
| @@ -39,11 +39,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 39 | 39 | ||
| 40 | /* ws2812 RGB LED */ | 40 | /* ws2812 RGB LED */ |
| 41 | #define RGB_DI_PIN F7 | 41 | #define RGB_DI_PIN F7 |
| 42 | #define RGBLIGHT_TIMER | 42 | |
| 43 | #define RGBLIGHT_ANIMATIONS | 43 | #define RGBLIGHT_ANIMATIONS |
| 44 | #define RGBLED_NUM 6 // Number of LEDs | 44 | #define RGBLED_NUM 6 // Number of LEDs |
| 45 | #define ws2812_PORTREG PORTD | ||
| 46 | #define ws2812_DDRREG DDRD | ||
| 47 | 45 | ||
| 48 | /* COL2ROW or ROW2COL */ | 46 | /* COL2ROW or ROW2COL */ |
| 49 | #define DIODE_DIRECTION COL2ROW | 47 | #define DIODE_DIRECTION COL2ROW |
diff --git a/keyboards/9key/config.h b/keyboards/9key/config.h index eee8407cc..4e5a2fd45 100644 --- a/keyboards/9key/config.h +++ b/keyboards/9key/config.h | |||
| @@ -39,10 +39,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 39 | 39 | ||
| 40 | /* ws2812 RGB LED */ | 40 | /* ws2812 RGB LED */ |
| 41 | #define RGB_DI_PIN F7 | 41 | #define RGB_DI_PIN F7 |
| 42 | #define RGBLIGHT_TIMER | 42 | |
| 43 | #define RGBLED_NUM 1 // Number of LEDs | 43 | #define RGBLED_NUM 1 // Number of LEDs |
| 44 | #define ws2812_PORTREG PORTD | ||
| 45 | #define ws2812_DDRREG DDRD | ||
| 46 | 44 | ||
| 47 | /* COL2ROW or ROW2COL */ | 45 | /* COL2ROW or ROW2COL */ |
| 48 | #define DIODE_DIRECTION COL2ROW | 46 | #define DIODE_DIRECTION COL2ROW |
diff --git a/keyboards/amj40/keymaps/default/rules.mk b/keyboards/amj40/keymaps/default/rules.mk index 41a198224..fe9867220 100644 --- a/keyboards/amj40/keymaps/default/rules.mk +++ b/keyboards/amj40/keymaps/default/rules.mk | |||
| @@ -18,9 +18,6 @@ RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. | |||
| 18 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | 18 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE |
| 19 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 19 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 20 | 20 | ||
| 21 | #define ws2812_PORTREG PORTD | ||
| 22 | #define ws2812_DDRREG DDRD | ||
| 23 | |||
| 24 | 21 | ||
| 25 | ifndef QUANTUM_DIR | 22 | ifndef QUANTUM_DIR |
| 26 | include ../../../../Makefile | 23 | include ../../../../Makefile |
diff --git a/keyboards/amj40/keymaps/fabian/rules.mk b/keyboards/amj40/keymaps/fabian/rules.mk index 7e0634e09..90559e0dd 100644 --- a/keyboards/amj40/keymaps/fabian/rules.mk +++ b/keyboards/amj40/keymaps/fabian/rules.mk | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # Build Options | 1 | # Build Options |
| 2 | # change to "no" to disable the options, or define them in the Makefile in | 2 | # change to "no" to disable the options, or define them in the Makefile in |
| 3 | # the appropriate keymap folder that will get included automatically | 3 | # the appropriate keymap folder that will get included automatically |
| 4 | # | 4 | # |
| 5 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | 5 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) |
| @@ -17,11 +17,3 @@ RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. | |||
| 17 | 17 | ||
| 18 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | 18 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE |
| 19 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 19 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 20 | |||
| 21 | #define ws2812_PORTREG PORTD | ||
| 22 | #define ws2812_DDRREG DDRD | ||
| 23 | |||
| 24 | |||
| 25 | ifndef QUANTUM_DIR | ||
| 26 | include ../../../../Makefile | ||
| 27 | endif | ||
diff --git a/keyboards/amj40/keymaps/jetpacktuxedo/rules.mk b/keyboards/amj40/keymaps/jetpacktuxedo/rules.mk index 6ad923668..2b613b28e 100644 --- a/keyboards/amj40/keymaps/jetpacktuxedo/rules.mk +++ b/keyboards/amj40/keymaps/jetpacktuxedo/rules.mk | |||
| @@ -17,11 +17,3 @@ RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. | |||
| 17 | 17 | ||
| 18 | # Do not enable SLEEP_LED_ENABLE. It uses the same timer as BACKLIGHT_ENABLE | 18 | # Do not enable SLEEP_LED_ENABLE. It uses the same timer as BACKLIGHT_ENABLE |
| 19 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 19 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 20 | |||
| 21 | #define ws2812_PORTREG PORTD | ||
| 22 | #define ws2812_DDRREG DDRD | ||
| 23 | |||
| 24 | |||
| 25 | ifndef QUANTUM_DIR | ||
| 26 | include ../../../../Makefile | ||
| 27 | endif | ||
diff --git a/keyboards/amj40/keymaps/myee/rules.mk b/keyboards/amj40/keymaps/myee/rules.mk index c35191cef..fe07e43d8 100644 --- a/keyboards/amj40/keymaps/myee/rules.mk +++ b/keyboards/amj40/keymaps/myee/rules.mk | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # Build Options | 1 | # Build Options |
| 2 | # change to "no" to disable the options, or define them in the Makefile in | 2 | # change to "no" to disable the options, or define them in the Makefile in |
| 3 | # the appropriate keymap folder that will get included automatically | 3 | # the appropriate keymap folder that will get included automatically |
| 4 | # | 4 | # |
| 5 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | 5 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) |
| @@ -17,11 +17,3 @@ RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. | |||
| 17 | 17 | ||
| 18 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | 18 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE |
| 19 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 19 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 20 | |||
| 21 | #define ws2812_PORTREG PORTD | ||
| 22 | #define ws2812_DDRREG DDRD | ||
| 23 | |||
| 24 | |||
| 25 | ifndef QUANTUM_DIR | ||
| 26 | include ../../../../Makefile | ||
| 27 | endif | ||
diff --git a/keyboards/bfo9000/config.h b/keyboards/bfo9000/config.h index 561d2d114..893fa5ab6 100644 --- a/keyboards/bfo9000/config.h +++ b/keyboards/bfo9000/config.h | |||
| @@ -53,7 +53,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 53 | 53 | ||
| 54 | /* ws2812 RGB LED */ | 54 | /* ws2812 RGB LED */ |
| 55 | #define RGB_DI_PIN B4 | 55 | #define RGB_DI_PIN B4 |
| 56 | #define RGBLIGHT_TIMER | 56 | |
| 57 | #define RGBLED_NUM 20 // Number of LEDs | 57 | #define RGBLED_NUM 20 // Number of LEDs |
| 58 | 58 | ||
| 59 | /* | 59 | /* |
diff --git a/keyboards/blockey/config.h b/keyboards/blockey/config.h index b099a816b..53860bfbc 100644 --- a/keyboards/blockey/config.h +++ b/keyboards/blockey/config.h | |||
| @@ -51,11 +51,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 51 | 51 | ||
| 52 | /* ws2812 RGB LED */ | 52 | /* ws2812 RGB LED */ |
| 53 | #define RGB_DI_PIN B1 | 53 | #define RGB_DI_PIN B1 |
| 54 | #define RGBLIGHT_TIMER | ||
| 55 | #define RGBLED_NUM 4 | ||
| 56 | #define ws2812_PORTREG PORTB | ||
| 57 | #define ws2812_DDRREG DDRB | ||
| 58 | 54 | ||
| 55 | #define RGBLED_NUM 4 | ||
| 59 | #define RGBLIGHT_HUE_STEP 10 | 56 | #define RGBLIGHT_HUE_STEP 10 |
| 60 | #define RGBLIGHT_SAT_STEP 17 | 57 | #define RGBLIGHT_SAT_STEP 17 |
| 61 | 58 | ||
diff --git a/keyboards/chocopad/config.h b/keyboards/chocopad/config.h index 2163ff8bc..d2a1a7b48 100644 --- a/keyboards/chocopad/config.h +++ b/keyboards/chocopad/config.h | |||
| @@ -47,9 +47,7 @@ | |||
| 47 | #define RGBLIGHT_VAL_STEP 8 | 47 | #define RGBLIGHT_VAL_STEP 8 |
| 48 | #endif | 48 | #endif |
| 49 | #define RGB_DI_PIN D3 | 49 | #define RGB_DI_PIN D3 |
| 50 | #define RGBLIGHT_TIMER | 50 | |
| 51 | #define RGBLED_NUM 4 | 51 | #define RGBLED_NUM 4 |
| 52 | #define ws2812_PORTREG PORTD | ||
| 53 | #define ws2812_DDRREG DDRD | ||
| 54 | 52 | ||
| 55 | #endif | 53 | #endif |
diff --git a/keyboards/crkbd/rev1/config.h b/keyboards/crkbd/rev1/config.h index efce13a49..915779060 100644 --- a/keyboards/crkbd/rev1/config.h +++ b/keyboards/crkbd/rev1/config.h | |||
| @@ -57,10 +57,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 57 | 57 | ||
| 58 | /* ws2812 RGB LED */ | 58 | /* ws2812 RGB LED */ |
| 59 | #define RGB_DI_PIN D3 | 59 | #define RGB_DI_PIN D3 |
| 60 | #define RGBLIGHT_TIMER | 60 | |
| 61 | #define RGBLED_NUM 12 // Number of LEDs | 61 | #define RGBLED_NUM 12 // Number of LEDs |
| 62 | #define ws2812_PORTREG PORTD | ||
| 63 | #define ws2812_DDRREG DDRD | ||
| 64 | 62 | ||
| 65 | /* | 63 | /* |
| 66 | * Feature disable options | 64 | * Feature disable options |
diff --git a/keyboards/deltasplit75/v2/config.h b/keyboards/deltasplit75/v2/config.h index 319a149fb..475a5c9dc 100644 --- a/keyboards/deltasplit75/v2/config.h +++ b/keyboards/deltasplit75/v2/config.h | |||
| @@ -61,10 +61,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 61 | 61 | ||
| 62 | /* ws2812 RGB LED */ | 62 | /* ws2812 RGB LED */ |
| 63 | #define RGB_DI_PIN D3 | 63 | #define RGB_DI_PIN D3 |
| 64 | #define RGBLIGHT_TIMER | 64 | |
| 65 | #define RGBLED_NUM 12 // Number of LEDs | 65 | #define RGBLED_NUM 12 // Number of LEDs |
| 66 | #define ws2812_PORTREG PORTD | ||
| 67 | #define ws2812_DDRREG DDRD | ||
| 68 | 66 | ||
| 69 | /* | 67 | /* |
| 70 | * Feature disable options | 68 | * Feature disable options |
| @@ -85,4 +83,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 85 | //#define NO_ACTION_FUNCTION | 83 | //#define NO_ACTION_FUNCTION |
| 86 | 84 | ||
| 87 | 85 | ||
| 88 | #endif \ No newline at end of file | 86 | #endif |
diff --git a/keyboards/dilly/config.h b/keyboards/dilly/config.h index d9ca4597c..084186fc6 100644 --- a/keyboards/dilly/config.h +++ b/keyboards/dilly/config.h | |||
| @@ -50,9 +50,7 @@ | |||
| 50 | #define RGBLIGHT_VAL_STEP 8 | 50 | #define RGBLIGHT_VAL_STEP 8 |
| 51 | #endif | 51 | #endif |
| 52 | #define RGB_DI_PIN D3 | 52 | #define RGB_DI_PIN D3 |
| 53 | #define RGBLIGHT_TIMER | 53 | |
| 54 | #define RGBLED_NUM 10 | 54 | #define RGBLED_NUM 10 |
| 55 | #define ws2812_PORTREG PORTD | ||
| 56 | #define ws2812_DDRREG DDRD | ||
| 57 | 55 | ||
| 58 | #endif | 56 | #endif |
diff --git a/keyboards/ergo42/rev1/config.h b/keyboards/ergo42/rev1/config.h index 1a674a858..a7edb4097 100644 --- a/keyboards/ergo42/rev1/config.h +++ b/keyboards/ergo42/rev1/config.h | |||
| @@ -66,10 +66,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 66 | 66 | ||
| 67 | /* ws2812 RGB LED */ | 67 | /* ws2812 RGB LED */ |
| 68 | #define RGB_DI_PIN D3 | 68 | #define RGB_DI_PIN D3 |
| 69 | #define RGBLIGHT_TIMER | 69 | |
| 70 | #define RGBLED_NUM 12 // Number of LEDs | 70 | #define RGBLED_NUM 12 // Number of LEDs |
| 71 | #define ws2812_PORTREG PORTD | ||
| 72 | #define ws2812_DDRREG DDRD | ||
| 73 | 71 | ||
| 74 | /* | 72 | /* |
| 75 | * Feature disable options | 73 | * Feature disable options |
diff --git a/keyboards/ergodash/mini/config.h b/keyboards/ergodash/mini/config.h index a7be1635c..11cff145e 100644 --- a/keyboards/ergodash/mini/config.h +++ b/keyboards/ergodash/mini/config.h | |||
| @@ -73,10 +73,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 73 | 73 | ||
| 74 | /* ws2812 RGB LED */ | 74 | /* ws2812 RGB LED */ |
| 75 | #define RGB_DI_PIN D3 | 75 | #define RGB_DI_PIN D3 |
| 76 | #define RGBLIGHT_TIMER | 76 | |
| 77 | #define RGBLED_NUM 20 // Number of LEDs | 77 | #define RGBLED_NUM 20 // Number of LEDs |
| 78 | #define ws2812_PORTREG PORTD | ||
| 79 | #define ws2812_DDRREG DDRD | ||
| 80 | 78 | ||
| 81 | /* | 79 | /* |
| 82 | * Feature disable options | 80 | * Feature disable options |
diff --git a/keyboards/ergodash/rev1/config.h b/keyboards/ergodash/rev1/config.h index 09dd6604e..d3f3314ee 100644 --- a/keyboards/ergodash/rev1/config.h +++ b/keyboards/ergodash/rev1/config.h | |||
| @@ -63,10 +63,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 63 | 63 | ||
| 64 | /* ws2812 RGB LED */ | 64 | /* ws2812 RGB LED */ |
| 65 | #define RGB_DI_PIN D3 | 65 | #define RGB_DI_PIN D3 |
| 66 | #define RGBLIGHT_TIMER | 66 | |
| 67 | #define RGBLED_NUM 24 // Number of LEDs | 67 | #define RGBLED_NUM 24 // Number of LEDs |
| 68 | #define ws2812_PORTREG PORTD | ||
| 69 | #define ws2812_DDRREG DDRD | ||
| 70 | 68 | ||
| 71 | /* | 69 | /* |
| 72 | * Feature disable options | 70 | * Feature disable options |
diff --git a/keyboards/ergodash/rev2/config.h b/keyboards/ergodash/rev2/config.h index 489afe017..5f9c68991 100644 --- a/keyboards/ergodash/rev2/config.h +++ b/keyboards/ergodash/rev2/config.h | |||
| @@ -70,10 +70,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 70 | 70 | ||
| 71 | /* ws2812 RGB LED */ | 71 | /* ws2812 RGB LED */ |
| 72 | #define RGB_DI_PIN D3 | 72 | #define RGB_DI_PIN D3 |
| 73 | #define RGBLIGHT_TIMER | 73 | |
| 74 | #define RGBLED_NUM 24 // Number of LEDs | 74 | #define RGBLED_NUM 24 // Number of LEDs |
| 75 | #define ws2812_PORTREG PORTD | ||
| 76 | #define ws2812_DDRREG DDRD | ||
| 77 | 75 | ||
| 78 | /* | 76 | /* |
| 79 | * Feature disable options | 77 | * Feature disable options |
diff --git a/keyboards/ergotravel/rev1/config.h b/keyboards/ergotravel/rev1/config.h index 5fa447da7..3af1147a7 100644 --- a/keyboards/ergotravel/rev1/config.h +++ b/keyboards/ergotravel/rev1/config.h | |||
| @@ -61,10 +61,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 61 | 61 | ||
| 62 | /* ws2812 RGB LED */ | 62 | /* ws2812 RGB LED */ |
| 63 | #define RGB_DI_PIN D3 | 63 | #define RGB_DI_PIN D3 |
| 64 | #define RGBLIGHT_TIMER | 64 | |
| 65 | #define RGBLED_NUM 12 // Number of LEDs | 65 | #define RGBLED_NUM 12 // Number of LEDs |
| 66 | #define ws2812_PORTREG PORTD | ||
| 67 | #define ws2812_DDRREG DDRD | ||
| 68 | 66 | ||
| 69 | /* | 67 | /* |
| 70 | * Feature disable options | 68 | * Feature disable options |
| @@ -83,4 +81,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 83 | //#define NO_ACTION_ONESHOT | 81 | //#define NO_ACTION_ONESHOT |
| 84 | //#define NO_ACTION_MACRO | 82 | //#define NO_ACTION_MACRO |
| 85 | //#define NO_ACTION_FUNCTION | 83 | //#define NO_ACTION_FUNCTION |
| 86 | |||
diff --git a/keyboards/fortitude60/rev1/config.h b/keyboards/fortitude60/rev1/config.h index 8c6f21afe..b89f5c7df 100644 --- a/keyboards/fortitude60/rev1/config.h +++ b/keyboards/fortitude60/rev1/config.h | |||
| @@ -66,7 +66,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 66 | /* ws2812 RGB LED */ | 66 | /* ws2812 RGB LED */ |
| 67 | #ifdef RGBLIGHT_ENABLE | 67 | #ifdef RGBLIGHT_ENABLE |
| 68 | #define RGB_DI_PIN B5 | 68 | #define RGB_DI_PIN B5 |
| 69 | #define RGBLIGHT_TIMER | 69 | |
| 70 | #define RGBLED_NUM 18 // Number of LEDs */ | 70 | #define RGBLED_NUM 18 // Number of LEDs */ |
| 71 | #endif | 71 | #endif |
| 72 | /* | 72 | /* |
diff --git a/keyboards/fourier/rev1/config.h b/keyboards/fourier/rev1/config.h index c13752226..3bd67228c 100644 --- a/keyboards/fourier/rev1/config.h +++ b/keyboards/fourier/rev1/config.h | |||
| @@ -56,11 +56,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 56 | 56 | ||
| 57 | /* ws2812 RGB LED */ | 57 | /* ws2812 RGB LED */ |
| 58 | #define RGB_DI_PIN D3 | 58 | #define RGB_DI_PIN D3 |
| 59 | #define RGBLIGHT_TIMER | 59 | |
| 60 | #define RGBLIGHT_ANIMATIONS | 60 | #define RGBLIGHT_ANIMATIONS |
| 61 | #define RGBLED_NUM 14 // Number of LEDs | 61 | #define RGBLED_NUM 14 // Number of LEDs |
| 62 | #define ws2812_PORTREG PORTD | ||
| 63 | #define ws2812_DDRREG DDRD | ||
| 64 | 62 | ||
| 65 | /* | 63 | /* |
| 66 | * Feature disable options | 64 | * Feature disable options |
diff --git a/keyboards/gh60/keymaps/dbroqua/config.h b/keyboards/gh60/keymaps/dbroqua/config.h index 0b8218d28..fd63c9a8f 100644 --- a/keyboards/gh60/keymaps/dbroqua/config.h +++ b/keyboards/gh60/keymaps/dbroqua/config.h | |||
| @@ -158,26 +158,19 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 158 | /* | 158 | /* |
| 159 | * RGB Underglow | 159 | * RGB Underglow |
| 160 | * These settings are for the F4 by default: | 160 | * These settings are for the F4 by default: |
| 161 | * | ||
| 162 | * | 161 | * |
| 163 | * #define ws2812_PORTREG PORTF | 162 | * |
| 164 | * #define ws2812_DDRREG DDRF | ||
| 165 | * #define ws2812_pin PF4 | 163 | * #define ws2812_pin PF4 |
| 166 | * #define RGBLED_NUM 14 // Number of LEDs | 164 | * #define RGBLED_NUM 14 // Number of LEDs |
| 167 | * #define RGBLIGHT_HUE_STEP 10 | 165 | * #define RGBLIGHT_HUE_STEP 10 |
| 168 | * #define RGBLIGHT_SAT_STEP 17 | 166 | * #define RGBLIGHT_SAT_STEP 17 |
| 169 | * #define RGBLIGHT_VAL_STEP 17 | 167 | * #define RGBLIGHT_VAL_STEP 17 |
| 170 | * | 168 | * |
| 171 | * The firmware supports 5 different light effects, and the color (hue, saturation, brightness) can be customized in most effects. | 169 | * The firmware supports 5 different light effects, and the color (hue, saturation, brightness) can be customized in most effects. |
| 172 | * To control the underglow, you need to modify your keymap file to assign those functions to some keys/key combinations. | 170 | * To control the underglow, you need to modify your keymap file to assign those functions to some keys/key combinations. |
| 173 | * For details, please check this keymap. keyboard/planck/keymaps/yang/keymap.c | 171 | * For details, please check this keymap. keyboard/planck/keymaps/yang/keymap.c |
| 174 | */ | 172 | */ |
| 175 | 173 | ||
| 176 | /* Deprecated code below | ||
| 177 | #define ws2812_PORTREG PORTF | ||
| 178 | #define ws2812_DDRREG DDRF | ||
| 179 | #define ws2812_pin PF4 | ||
| 180 | */ | ||
| 181 | #define RGB_DI_PIN F4 | 174 | #define RGB_DI_PIN F4 |
| 182 | #define RGBLIGHT_ANIMATIONS | 175 | #define RGBLIGHT_ANIMATIONS |
| 183 | #define RGBLED_NUM 11 // Number of LEDs | 176 | #define RGBLED_NUM 11 // Number of LEDs |
diff --git a/keyboards/gh60/keymaps/robotmaxtron/config.h b/keyboards/gh60/keymaps/robotmaxtron/config.h index abaddb71f..925a69efe 100644 --- a/keyboards/gh60/keymaps/robotmaxtron/config.h +++ b/keyboards/gh60/keymaps/robotmaxtron/config.h | |||
| @@ -161,26 +161,19 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 161 | /* | 161 | /* |
| 162 | * RGB Underglow | 162 | * RGB Underglow |
| 163 | * These settings are for the F4 by default: | 163 | * These settings are for the F4 by default: |
| 164 | * | ||
| 165 | * | 164 | * |
| 166 | * #define ws2812_PORTREG PORTF | 165 | * |
| 167 | * #define ws2812_DDRREG DDRF | ||
| 168 | * #define ws2812_pin PF4 | 166 | * #define ws2812_pin PF4 |
| 169 | * #define RGBLED_NUM 14 // Number of LEDs | 167 | * #define RGBLED_NUM 14 // Number of LEDs |
| 170 | * #define RGBLIGHT_HUE_STEP 10 | 168 | * #define RGBLIGHT_HUE_STEP 10 |
| 171 | * #define RGBLIGHT_SAT_STEP 17 | 169 | * #define RGBLIGHT_SAT_STEP 17 |
| 172 | * #define RGBLIGHT_VAL_STEP 17 | 170 | * #define RGBLIGHT_VAL_STEP 17 |
| 173 | * | 171 | * |
| 174 | * The firmware supports 5 different light effects, and the color (hue, saturation, brightness) can be customized in most effects. | 172 | * The firmware supports 5 different light effects, and the color (hue, saturation, brightness) can be customized in most effects. |
| 175 | * To control the underglow, you need to modify your keymap file to assign those functions to some keys/key combinations. | 173 | * To control the underglow, you need to modify your keymap file to assign those functions to some keys/key combinations. |
| 176 | * For details, please check this keymap. keyboard/planck/keymaps/yang/keymap.c | 174 | * For details, please check this keymap. keyboard/planck/keymaps/yang/keymap.c |
| 177 | */ | 175 | */ |
| 178 | 176 | ||
| 179 | /* Deprecated code below | ||
| 180 | #define ws2812_PORTREG PORTF | ||
| 181 | #define ws2812_DDRREG DDRF | ||
| 182 | #define ws2812_pin PF4 | ||
| 183 | */ | ||
| 184 | #define RGB_DI_PIN F4 | 177 | #define RGB_DI_PIN F4 |
| 185 | #define RGBLIGHT_ANIMATIONS | 178 | #define RGBLIGHT_ANIMATIONS |
| 186 | #define RGBLED_NUM 8 // Number of LEDs | 179 | #define RGBLED_NUM 8 // Number of LEDs |
diff --git a/keyboards/handwired/dactyl_manuform/config.h b/keyboards/handwired/dactyl_manuform/config.h index 19cd356d8..320ce3c48 100644 --- a/keyboards/handwired/dactyl_manuform/config.h +++ b/keyboards/handwired/dactyl_manuform/config.h | |||
| @@ -53,7 +53,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 53 | 53 | ||
| 54 | /* ws2812 RGB LED */ | 54 | /* ws2812 RGB LED */ |
| 55 | #define RGB_DI_PIN D3 | 55 | #define RGB_DI_PIN D3 |
| 56 | #define RGBLIGHT_TIMER | 56 | |
| 57 | #define RGBLED_NUM 12 // Number of LEDs | 57 | #define RGBLED_NUM 12 // Number of LEDs |
| 58 | 58 | ||
| 59 | 59 | ||
| @@ -74,5 +74,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 74 | //#define NO_ACTION_ONESHOT | 74 | //#define NO_ACTION_ONESHOT |
| 75 | //#define NO_ACTION_MACRO | 75 | //#define NO_ACTION_MACRO |
| 76 | //#define NO_ACTION_FUNCTION | 76 | //#define NO_ACTION_FUNCTION |
| 77 | |||
| 78 | |||
diff --git a/keyboards/handwired/qc60/proto/config.h b/keyboards/handwired/qc60/proto/config.h index 81466b019..8c21fa926 100644 --- a/keyboards/handwired/qc60/proto/config.h +++ b/keyboards/handwired/qc60/proto/config.h | |||
| @@ -10,5 +10,3 @@ | |||
| 10 | /* ws2812 RGB LED */ | 10 | /* ws2812 RGB LED */ |
| 11 | #define RGB_DI_PIN D3 | 11 | #define RGB_DI_PIN D3 |
| 12 | #define RGBLED_NUM 1 // Number of LEDs | 12 | #define RGBLED_NUM 1 // Number of LEDs |
| 13 | // #define ws2812_PORTREG PORTD | ||
| 14 | // #define ws2812_DDRREG DDRD | ||
diff --git a/keyboards/helix/pico/config.h b/keyboards/helix/pico/config.h index 41edfcbc2..b8822e227 100644 --- a/keyboards/helix/pico/config.h +++ b/keyboards/helix/pico/config.h | |||
| @@ -83,10 +83,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 83 | 83 | ||
| 84 | /* ws2812 RGB LED */ | 84 | /* ws2812 RGB LED */ |
| 85 | #define RGB_DI_PIN D3 | 85 | #define RGB_DI_PIN D3 |
| 86 | #define RGBLIGHT_TIMER | 86 | |
| 87 | //#define RGBLED_NUM 12 // Number of LEDs. see ./keymaps/default/config.h | 87 | //#define RGBLED_NUM 12 // Number of LEDs. see ./keymaps/default/config.h |
| 88 | #define ws2812_PORTREG PORTD | ||
| 89 | #define ws2812_DDRREG DDRD | ||
| 90 | 88 | ||
| 91 | // Helix keyboard RGB LED support | 89 | // Helix keyboard RGB LED support |
| 92 | //#define RGBLIGHT_ANIMATIONS : see ./rules.mk: LED_ANIMATIONS = yes or no | 90 | //#define RGBLIGHT_ANIMATIONS : see ./rules.mk: LED_ANIMATIONS = yes or no |
diff --git a/keyboards/helix/rev1/config.h b/keyboards/helix/rev1/config.h index 7fec62fc8..07b5c4f6f 100644 --- a/keyboards/helix/rev1/config.h +++ b/keyboards/helix/rev1/config.h | |||
| @@ -74,11 +74,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 74 | 74 | ||
| 75 | /* ws2812 RGB LED */ | 75 | /* ws2812 RGB LED */ |
| 76 | #define RGB_DI_PIN D3 | 76 | #define RGB_DI_PIN D3 |
| 77 | #define RGBLIGHT_TIMER | ||
| 78 | #define RGBLED_NUM 12 // Number of LEDs | ||
| 79 | #define ws2812_PORTREG PORTD | ||
| 80 | #define ws2812_DDRREG DDRD | ||
| 81 | 77 | ||
| 78 | #define RGBLED_NUM 12 // Number of LEDs | ||
| 82 | /* | 79 | /* |
| 83 | * Feature disable options | 80 | * Feature disable options |
| 84 | * These options are also useful to firmware size reduction. | 81 | * These options are also useful to firmware size reduction. |
diff --git a/keyboards/helix/rev2/config.h b/keyboards/helix/rev2/config.h index b354d312d..f7d35b371 100644 --- a/keyboards/helix/rev2/config.h +++ b/keyboards/helix/rev2/config.h | |||
| @@ -87,10 +87,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 87 | 87 | ||
| 88 | /* ws2812 RGB LED */ | 88 | /* ws2812 RGB LED */ |
| 89 | #define RGB_DI_PIN D3 | 89 | #define RGB_DI_PIN D3 |
| 90 | #define RGBLIGHT_TIMER | 90 | |
| 91 | //#define RGBLED_NUM 12 // Number of LEDs. see ./keymaps/default/config.h | 91 | //#define RGBLED_NUM 12 // Number of LEDs. see ./keymaps/default/config.h |
| 92 | #define ws2812_PORTREG PORTD | ||
| 93 | #define ws2812_DDRREG DDRD | ||
| 94 | 92 | ||
| 95 | // Helix keyboard RGB LED support | 93 | // Helix keyboard RGB LED support |
| 96 | //#define RGBLIGHT_ANIMATIONS : see ./rules.mk: LED_ANIMATIONS = yes or no | 94 | //#define RGBLIGHT_ANIMATIONS : see ./rules.mk: LED_ANIMATIONS = yes or no |
diff --git a/keyboards/iris/rev1/config.h b/keyboards/iris/rev1/config.h index cc7f2d8d4..3c088f671 100644 --- a/keyboards/iris/rev1/config.h +++ b/keyboards/iris/rev1/config.h | |||
| @@ -63,7 +63,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 63 | 63 | ||
| 64 | /* ws2812 RGB LED */ | 64 | /* ws2812 RGB LED */ |
| 65 | #define RGB_DI_PIN D3 | 65 | #define RGB_DI_PIN D3 |
| 66 | #define RGBLIGHT_TIMER | 66 | |
| 67 | #define RGBLED_NUM 12 // Number of LEDs | 67 | #define RGBLED_NUM 12 // Number of LEDs |
| 68 | 68 | ||
| 69 | /* | 69 | /* |
diff --git a/keyboards/iris/rev1_led/config.h b/keyboards/iris/rev1_led/config.h index e9eac2455..d8571f8da 100644 --- a/keyboards/iris/rev1_led/config.h +++ b/keyboards/iris/rev1_led/config.h | |||
| @@ -63,7 +63,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 63 | 63 | ||
| 64 | /* ws2812 RGB LED */ | 64 | /* ws2812 RGB LED */ |
| 65 | #define RGB_DI_PIN D3 | 65 | #define RGB_DI_PIN D3 |
| 66 | #define RGBLIGHT_TIMER | 66 | |
| 67 | #define RGBLED_NUM 12 // Number of LEDs | 67 | #define RGBLED_NUM 12 // Number of LEDs |
| 68 | 68 | ||
| 69 | /* | 69 | /* |
diff --git a/keyboards/iris/rev2/config.h b/keyboards/iris/rev2/config.h index 368d21c98..087e0f69e 100644 --- a/keyboards/iris/rev2/config.h +++ b/keyboards/iris/rev2/config.h | |||
| @@ -63,7 +63,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 63 | 63 | ||
| 64 | /* ws2812 RGB LED */ | 64 | /* ws2812 RGB LED */ |
| 65 | #define RGB_DI_PIN D3 | 65 | #define RGB_DI_PIN D3 |
| 66 | #define RGBLIGHT_TIMER | 66 | |
| 67 | #define RGBLED_NUM 12 // Number of LEDs | 67 | #define RGBLED_NUM 12 // Number of LEDs |
| 68 | 68 | ||
| 69 | /* | 69 | /* |
diff --git a/keyboards/iris/rev3/config.h b/keyboards/iris/rev3/config.h index 7f68180c2..3329a4edb 100644 --- a/keyboards/iris/rev3/config.h +++ b/keyboards/iris/rev3/config.h | |||
| @@ -63,7 +63,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 63 | 63 | ||
| 64 | /* ws2812 RGB LED */ | 64 | /* ws2812 RGB LED */ |
| 65 | #define RGB_DI_PIN F7 | 65 | #define RGB_DI_PIN F7 |
| 66 | #define RGBLIGHT_TIMER | 66 | |
| 67 | #define RGBLED_NUM 12 // Number of LEDs | 67 | #define RGBLED_NUM 12 // Number of LEDs |
| 68 | 68 | ||
| 69 | /* | 69 | /* |
diff --git a/keyboards/lets_split/keymaps/zer09/config.h b/keyboards/lets_split/keymaps/zer09/config.h index 73438d8a9..14be4ccc5 100644 --- a/keyboards/lets_split/keymaps/zer09/config.h +++ b/keyboards/lets_split/keymaps/zer09/config.h | |||
| @@ -52,8 +52,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 52 | /* ws2812 RGB LED */ | 52 | /* ws2812 RGB LED */ |
| 53 | #undef RGBLED_NUM | 53 | #undef RGBLED_NUM |
| 54 | #define RGB_DI_PIN D3 | 54 | #define RGB_DI_PIN D3 |
| 55 | #define RGBLIGHT_TIMER | 55 | |
| 56 | #define RGBLED_NUM 50 | 56 | #define RGBLED_NUM 50 |
| 57 | #define ws2812_PORTREG PORTD | ||
| 58 | #define ws2812_DDRREG DDRD | ||
| 59 | #endif | 57 | #endif |
diff --git a/keyboards/lets_split/rev1/config.h b/keyboards/lets_split/rev1/config.h index 73f90e715..c0e4d1fbc 100644 --- a/keyboards/lets_split/rev1/config.h +++ b/keyboards/lets_split/rev1/config.h | |||
| @@ -60,10 +60,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 60 | 60 | ||
| 61 | /* ws2812 RGB LED */ | 61 | /* ws2812 RGB LED */ |
| 62 | #define RGB_DI_PIN D3 | 62 | #define RGB_DI_PIN D3 |
| 63 | #define RGBLIGHT_TIMER | 63 | |
| 64 | #define RGBLED_NUM 16 // Number of LEDs | 64 | #define RGBLED_NUM 16 // Number of LEDs |
| 65 | #define ws2812_PORTREG PORTD | ||
| 66 | #define ws2812_DDRREG DDRD | ||
| 67 | 65 | ||
| 68 | /* | 66 | /* |
| 69 | * Feature disable options | 67 | * Feature disable options |
diff --git a/keyboards/lets_split/rev2/config.h b/keyboards/lets_split/rev2/config.h index 1c48f38e0..1ff25cd48 100644 --- a/keyboards/lets_split/rev2/config.h +++ b/keyboards/lets_split/rev2/config.h | |||
| @@ -60,10 +60,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 60 | 60 | ||
| 61 | /* ws2812 RGB LED */ | 61 | /* ws2812 RGB LED */ |
| 62 | #define RGB_DI_PIN D3 | 62 | #define RGB_DI_PIN D3 |
| 63 | #define RGBLIGHT_TIMER | 63 | |
| 64 | #define RGBLED_NUM 12 // Number of LEDs | 64 | #define RGBLED_NUM 12 // Number of LEDs |
| 65 | #define ws2812_PORTREG PORTD | ||
| 66 | #define ws2812_DDRREG DDRD | ||
| 67 | 65 | ||
| 68 | /* | 66 | /* |
| 69 | * Feature disable options | 67 | * Feature disable options |
diff --git a/keyboards/lets_split/sockets/config.h b/keyboards/lets_split/sockets/config.h index d004b26bd..a45cdd13b 100644 --- a/keyboards/lets_split/sockets/config.h +++ b/keyboards/lets_split/sockets/config.h | |||
| @@ -60,10 +60,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 60 | 60 | ||
| 61 | /* ws2812 RGB LED */ | 61 | /* ws2812 RGB LED */ |
| 62 | #define RGB_DI_PIN D4 | 62 | #define RGB_DI_PIN D4 |
| 63 | #define RGBLIGHT_TIMER | 63 | |
| 64 | #define RGBLED_NUM 12 // Number of LEDs | 64 | #define RGBLED_NUM 12 // Number of LEDs |
| 65 | #define ws2812_PORTREG PORTD | ||
| 66 | #define ws2812_DDRREG DDRD | ||
| 67 | 65 | ||
| 68 | /* Audio settings */ | 66 | /* Audio settings */ |
| 69 | #ifdef AUDIO_ENABLE | 67 | #ifdef AUDIO_ENABLE |
diff --git a/keyboards/levinson/rev1/config.h b/keyboards/levinson/rev1/config.h index 52a644e82..8161b4e32 100644 --- a/keyboards/levinson/rev1/config.h +++ b/keyboards/levinson/rev1/config.h | |||
| @@ -53,7 +53,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 53 | 53 | ||
| 54 | /* ws2812 RGB LED */ | 54 | /* ws2812 RGB LED */ |
| 55 | #define RGB_DI_PIN D3 | 55 | #define RGB_DI_PIN D3 |
| 56 | #define RGBLIGHT_TIMER | 56 | |
| 57 | #define RGBLED_NUM 12 // Number of LEDs | 57 | #define RGBLED_NUM 12 // Number of LEDs |
| 58 | 58 | ||
| 59 | /* Backlight LEDs */ | 59 | /* Backlight LEDs */ |
diff --git a/keyboards/levinson/rev2/config.h b/keyboards/levinson/rev2/config.h index 4845c935e..03b98b45c 100644 --- a/keyboards/levinson/rev2/config.h +++ b/keyboards/levinson/rev2/config.h | |||
| @@ -53,7 +53,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 53 | 53 | ||
| 54 | /* ws2812 RGB LED */ | 54 | /* ws2812 RGB LED */ |
| 55 | #define RGB_DI_PIN D3 | 55 | #define RGB_DI_PIN D3 |
| 56 | #define RGBLIGHT_TIMER | 56 | |
| 57 | #define RGBLED_NUM 12 // Number of LEDs | 57 | #define RGBLED_NUM 12 // Number of LEDs |
| 58 | 58 | ||
| 59 | /* Backlight LEDs */ | 59 | /* Backlight LEDs */ |
diff --git a/keyboards/lily58/rev1/config.h b/keyboards/lily58/rev1/config.h index 9413e8d4a..a991e8832 100644 --- a/keyboards/lily58/rev1/config.h +++ b/keyboards/lily58/rev1/config.h | |||
| @@ -24,7 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | 24 | ||
| 25 | /* USB Device descriptor parameter */ | 25 | /* USB Device descriptor parameter */ |
| 26 | #define VENDOR_ID 0xFC51 | 26 | #define VENDOR_ID 0xFC51 |
| 27 | #define PRODUCT_ID 0x0058 | 27 | #define PRODUCT_ID 0x0058 |
| 28 | #define DEVICE_VER 0x0100 | 28 | #define DEVICE_VER 0x0100 |
| 29 | #define MANUFACTURER F_YUUCHI | 29 | #define MANUFACTURER F_YUUCHI |
| 30 | #define PRODUCT Lily58 | 30 | #define PRODUCT Lily58 |
| @@ -62,10 +62,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 62 | 62 | ||
| 63 | /* ws2812 RGB LED */ | 63 | /* ws2812 RGB LED */ |
| 64 | #define RGB_DI_PIN D3 | 64 | #define RGB_DI_PIN D3 |
| 65 | #define RGBLIGHT_TIMER | 65 | |
| 66 | #define RGBLED_NUM 14 // Number of LEDs | 66 | #define RGBLED_NUM 14 // Number of LEDs |
| 67 | #define ws2812_PORTREG PORTD | ||
| 68 | #define ws2812_DDRREG DDRD | ||
| 69 | 67 | ||
| 70 | /* | 68 | /* |
| 71 | * Feature disable options | 69 | * Feature disable options |
| @@ -83,4 +81,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 83 | //#define NO_ACTION_TAPPING | 81 | //#define NO_ACTION_TAPPING |
| 84 | //#define NO_ACTION_ONESHOT | 82 | //#define NO_ACTION_ONESHOT |
| 85 | //#define NO_ACTION_MACRO | 83 | //#define NO_ACTION_MACRO |
| 86 | //#define NO_ACTION_FUNCTION \ No newline at end of file | 84 | //#define NO_ACTION_FUNCTION |
diff --git a/keyboards/meira/config.h b/keyboards/meira/config.h index 5e9dd6837..ff39f90eb 100644 --- a/keyboards/meira/config.h +++ b/keyboards/meira/config.h | |||
| @@ -42,7 +42,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 42 | 42 | ||
| 43 | #ifdef RGBLIGHT_ENABLE | 43 | #ifdef RGBLIGHT_ENABLE |
| 44 | #define RGB_DI_PIN D3 | 44 | #define RGB_DI_PIN D3 |
| 45 | #define RGBLIGHT_TIMER | 45 | |
| 46 | #define RGBLED_NUM 15 // Number of LEDs | 46 | #define RGBLED_NUM 15 // Number of LEDs |
| 47 | #endif | 47 | #endif |
| 48 | 48 | ||
diff --git a/keyboards/minidox/keymaps/alairock/config.h b/keyboards/minidox/keymaps/alairock/config.h index 3649fdd12..6b0069f4b 100644 --- a/keyboards/minidox/keymaps/alairock/config.h +++ b/keyboards/minidox/keymaps/alairock/config.h | |||
| @@ -30,7 +30,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 30 | 30 | ||
| 31 | /* ws2812 RGB LED */ | 31 | /* ws2812 RGB LED */ |
| 32 | #define RGB_DI_PIN D7 | 32 | #define RGB_DI_PIN D7 |
| 33 | #define RGBLIGHT_TIMER | 33 | |
| 34 | #define RGBLED_NUM 8 // Number of LEDs | 34 | #define RGBLED_NUM 8 // Number of LEDs |
| 35 | #define RGBLIGHT_ANIMATIONS | 35 | #define RGBLIGHT_ANIMATIONS |
| 36 | #define RGBLIGHT_HUE_STEP 10 | 36 | #define RGBLIGHT_HUE_STEP 10 |
diff --git a/keyboards/minidox/keymaps/that_canadian/config.h b/keyboards/minidox/keymaps/that_canadian/config.h index 5832d1866..b85609127 100644 --- a/keyboards/minidox/keymaps/that_canadian/config.h +++ b/keyboards/minidox/keymaps/that_canadian/config.h | |||
| @@ -29,7 +29,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | 29 | ||
| 30 | /* ws2812 RGB LED */ | 30 | /* ws2812 RGB LED */ |
| 31 | #define RGB_DI_PIN D7 | 31 | #define RGB_DI_PIN D7 |
| 32 | #define RGBLIGHT_TIMER | 32 | |
| 33 | #define RGBLED_NUM 8 // Number of LEDs | 33 | #define RGBLED_NUM 8 // Number of LEDs |
| 34 | #define RGBLIGHT_ANIMATIONS | 34 | #define RGBLIGHT_ANIMATIONS |
| 35 | #define RGBLIGHT_HUE_STEP 10 | 35 | #define RGBLIGHT_HUE_STEP 10 |
diff --git a/keyboards/minidox/keymaps/xyverz/config.h b/keyboards/minidox/keymaps/xyverz/config.h index 6d7b6256a..ae26f9499 100644 --- a/keyboards/minidox/keymaps/xyverz/config.h +++ b/keyboards/minidox/keymaps/xyverz/config.h | |||
| @@ -29,7 +29,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | 29 | ||
| 30 | /* ws2812 RGB LED */ | 30 | /* ws2812 RGB LED */ |
| 31 | #define RGB_DI_PIN D7 | 31 | #define RGB_DI_PIN D7 |
| 32 | #define RGBLIGHT_TIMER | 32 | |
| 33 | #define RGBLED_NUM 8 // Number of LEDs | 33 | #define RGBLED_NUM 8 // Number of LEDs |
| 34 | #define RGBLIGHT_ANIMATIONS | 34 | #define RGBLIGHT_ANIMATIONS |
| 35 | #define RGBLIGHT_HUE_STEP 10 | 35 | #define RGBLIGHT_HUE_STEP 10 |
diff --git a/keyboards/mint60/config.h b/keyboards/mint60/config.h index 51c586e63..a762c5ffe 100644 --- a/keyboards/mint60/config.h +++ b/keyboards/mint60/config.h | |||
| @@ -152,10 +152,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 152 | 152 | ||
| 153 | /* ws2812 RGB LED */ | 153 | /* ws2812 RGB LED */ |
| 154 | #define RGB_DI_PIN D3 | 154 | #define RGB_DI_PIN D3 |
| 155 | #define RGBLIGHT_TIMER | 155 | |
| 156 | #define RGBLED_NUM 8 | 156 | #define RGBLED_NUM 8 |
| 157 | #define ws2812_PORTREG PORTD | ||
| 158 | #define ws2812_DDRREG DDRD | ||
| 159 | 157 | ||
| 160 | #define RGBLIGHT_HUE_STEP 10 | 158 | #define RGBLIGHT_HUE_STEP 10 |
| 161 | #define RGBLIGHT_SAT_STEP 17 | 159 | #define RGBLIGHT_SAT_STEP 17 |
diff --git a/keyboards/miuni32/config.h b/keyboards/miuni32/config.h index 9f26b2291..a56a818f5 100644 --- a/keyboards/miuni32/config.h +++ b/keyboards/miuni32/config.h | |||
| @@ -24,7 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | #define VENDOR_ID 0xFEED | 24 | #define VENDOR_ID 0xFEED |
| 25 | #define PRODUCT_ID 0x6060 | 25 | #define PRODUCT_ID 0x6060 |
| 26 | #define DEVICE_VER 0x0001 | 26 | #define DEVICE_VER 0x0001 |
| 27 | #define MANUFACTURER Bigtuna.io | 27 | #define MANUFACTURER Bigtuna.io |
| 28 | #define PRODUCT Miuni32 | 28 | #define PRODUCT Miuni32 |
| 29 | #define DESCRIPTION A custom keyboard for writers | 29 | #define DESCRIPTION A custom keyboard for writers |
| 30 | 30 | ||
| @@ -48,7 +48,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 48 | 48 | ||
| 49 | /* COL2ROW or ROW2COL */ | 49 | /* COL2ROW or ROW2COL */ |
| 50 | #define DIODE_DIRECTION ROW2COL | 50 | #define DIODE_DIRECTION ROW2COL |
| 51 | 51 | ||
| 52 | // #define BACKLIGHT_PIN B7 | 52 | // #define BACKLIGHT_PIN B7 |
| 53 | // #define BACKLIGHT_BREATHING | 53 | // #define BACKLIGHT_BREATHING |
| 54 | // #define BACKLIGHT_LEVELS 3 | 54 | // #define BACKLIGHT_LEVELS 3 |
| @@ -159,9 +159,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 159 | //#define NO_ACTION_MACRO | 159 | //#define NO_ACTION_MACRO |
| 160 | //#define NO_ACTION_FUNCTION | 160 | //#define NO_ACTION_FUNCTION |
| 161 | 161 | ||
| 162 | #define RGBLIGHT_TIMER | 162 | |
| 163 | #define RGB_DI_PIN D0 // The pin your RGB strip is wired to | 163 | #define RGB_DI_PIN D0 // The pin your RGB strip is wired to |
| 164 | #define RGBLIGHT_TIMER // Require for fancier stuff (not compatible with audio) | ||
| 165 | #define RGBLED_NUM 7 // Number of LEDs | 164 | #define RGBLED_NUM 7 // Number of LEDs |
| 166 | #define RGBLIGHT_ANIMATIONS | 165 | #define RGBLIGHT_ANIMATIONS |
| 167 | #define RGBLIGHT_HUE_STEP 10 | 166 | #define RGBLIGHT_HUE_STEP 10 |
diff --git a/keyboards/nyquist/rev1/config.h b/keyboards/nyquist/rev1/config.h index 61bcb80e2..eec084ecc 100644 --- a/keyboards/nyquist/rev1/config.h +++ b/keyboards/nyquist/rev1/config.h | |||
| @@ -61,10 +61,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 61 | 61 | ||
| 62 | /* ws2812 RGB LED */ | 62 | /* ws2812 RGB LED */ |
| 63 | #define RGB_DI_PIN D3 | 63 | #define RGB_DI_PIN D3 |
| 64 | #define RGBLIGHT_TIMER | 64 | |
| 65 | #define RGBLED_NUM 16 // Number of LEDs | 65 | #define RGBLED_NUM 16 // Number of LEDs |
| 66 | #define ws2812_PORTREG PORTD | ||
| 67 | #define ws2812_DDRREG DDRD | ||
| 68 | 66 | ||
| 69 | /* | 67 | /* |
| 70 | * Feature disable options | 68 | * Feature disable options |
diff --git a/keyboards/nyquist/rev2/config.h b/keyboards/nyquist/rev2/config.h index 75d2e9393..ab062c920 100644 --- a/keyboards/nyquist/rev2/config.h +++ b/keyboards/nyquist/rev2/config.h | |||
| @@ -58,7 +58,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 58 | 58 | ||
| 59 | /* ws2812 RGB LED */ | 59 | /* ws2812 RGB LED */ |
| 60 | #define RGB_DI_PIN D3 | 60 | #define RGB_DI_PIN D3 |
| 61 | #define RGBLIGHT_TIMER | 61 | |
| 62 | #define RGBLED_NUM 16 // Number of LEDs | 62 | #define RGBLED_NUM 16 // Number of LEDs |
| 63 | 63 | ||
| 64 | /* Backlight LEDs */ | 64 | /* Backlight LEDs */ |
diff --git a/keyboards/orthodox/rev1/config.h b/keyboards/orthodox/rev1/config.h index 98c24c8c0..03936e737 100644 --- a/keyboards/orthodox/rev1/config.h +++ b/keyboards/orthodox/rev1/config.h | |||
| @@ -70,10 +70,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 70 | 70 | ||
| 71 | /* ws2812 RGB LED */ | 71 | /* ws2812 RGB LED */ |
| 72 | //#define RGB_DI_PIN D3 | 72 | //#define RGB_DI_PIN D3 |
| 73 | //#define RGBLIGHT_TIMER | ||
| 74 | //#define RGBLED_NUM 16 // Number of LEDs | 73 | //#define RGBLED_NUM 16 // Number of LEDs |
| 75 | //#define ws2812_PORTREG PORTD | ||
| 76 | //#define ws2812_DDRREG DDRD | ||
| 77 | 74 | ||
| 78 | /* | 75 | /* |
| 79 | * Feature disable options | 76 | * Feature disable options |
diff --git a/keyboards/orthodox/rev3/config.h b/keyboards/orthodox/rev3/config.h index 851499176..2e4018e91 100644 --- a/keyboards/orthodox/rev3/config.h +++ b/keyboards/orthodox/rev3/config.h | |||
| @@ -75,10 +75,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 75 | 75 | ||
| 76 | /* ws2812 RGB LED */ | 76 | /* ws2812 RGB LED */ |
| 77 | //#define RGB_DI_PIN D3 | 77 | //#define RGB_DI_PIN D3 |
| 78 | //#define RGBLIGHT_TIMER | 78 | |
| 79 | //#define RGBLED_NUM 16 // Number of LEDs | 79 | //#define RGBLED_NUM 16 // Number of LEDs |
| 80 | //#define ws2812_PORTREG PORTD | ||
| 81 | //#define ws2812_DDRREG DDRD | ||
| 82 | 80 | ||
| 83 | /* | 81 | /* |
| 84 | * Feature disable options | 82 | * Feature disable options |
diff --git a/keyboards/orthodox/rev3_teensy/config.h b/keyboards/orthodox/rev3_teensy/config.h index daba627fa..e2e693079 100644 --- a/keyboards/orthodox/rev3_teensy/config.h +++ b/keyboards/orthodox/rev3_teensy/config.h | |||
| @@ -67,10 +67,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 67 | 67 | ||
| 68 | /* ws2812 RGB LED */ | 68 | /* ws2812 RGB LED */ |
| 69 | //#define RGB_DI_PIN D3 | 69 | //#define RGB_DI_PIN D3 |
| 70 | //#define RGBLIGHT_TIMER | 70 | |
| 71 | //#define RGBLED_NUM 16 // Number of LEDs | 71 | //#define RGBLED_NUM 16 // Number of LEDs |
| 72 | //#define ws2812_PORTREG PORTD | ||
| 73 | //#define ws2812_DDRREG DDRD | ||
| 74 | 72 | ||
| 75 | /* | 73 | /* |
| 76 | * Feature disable options | 74 | * Feature disable options |
diff --git a/keyboards/preonic/keymaps/zach/config.h b/keyboards/preonic/keymaps/zach/config.h index 40a083da3..25f88afdc 100644 --- a/keyboards/preonic/keymaps/zach/config.h +++ b/keyboards/preonic/keymaps/zach/config.h | |||
| @@ -65,7 +65,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 65 | 65 | ||
| 66 | /* ws2812 RGB LED */ | 66 | /* ws2812 RGB LED */ |
| 67 | //#define RGB_DI_PIN D1 | 67 | //#define RGB_DI_PIN D1 |
| 68 | //#define RGBLIGHT_TIMER | 68 | |
| 69 | //#define RGBLED_NUM 28 // Number of LEDs | 69 | //#define RGBLED_NUM 28 // Number of LEDs |
| 70 | //#define RGBLIGHT_HUE_STEP 10 | 70 | //#define RGBLIGHT_HUE_STEP 10 |
| 71 | //#define RGBLIGHT_SAT_STEP 17 | 71 | //#define RGBLIGHT_SAT_STEP 17 |
diff --git a/keyboards/qwertyydox/config.h b/keyboards/qwertyydox/config.h index 5c4f8a6b2..b22ca534e 100644 --- a/keyboards/qwertyydox/config.h +++ b/keyboards/qwertyydox/config.h | |||
| @@ -64,10 +64,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 64 | 64 | ||
| 65 | /* ws2812 RGB LED */ | 65 | /* ws2812 RGB LED */ |
| 66 | #define RGB_DI_PIN D6 | 66 | #define RGB_DI_PIN D6 |
| 67 | #define RGBLIGHT_TIMER | 67 | |
| 68 | #define RGBLED_NUM 12 // Number of LEDs | 68 | #define RGBLED_NUM 12 // Number of LEDs |
| 69 | #define ws2812_PORTREG PORTD | ||
| 70 | #define ws2812_DDRREG DDRD | ||
| 71 | 69 | ||
| 72 | /* | 70 | /* |
| 73 | * Feature disable options | 71 | * Feature disable options |
diff --git a/keyboards/qwertyydox/rev1/config.h b/keyboards/qwertyydox/rev1/config.h index c5c4daa3d..3d4c9b0d0 100644 --- a/keyboards/qwertyydox/rev1/config.h +++ b/keyboards/qwertyydox/rev1/config.h | |||
| @@ -64,10 +64,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 64 | 64 | ||
| 65 | /* ws2812 RGB LED */ | 65 | /* ws2812 RGB LED */ |
| 66 | #define RGB_DI_PIN D6 | 66 | #define RGB_DI_PIN D6 |
| 67 | #define RGBLIGHT_TIMER | 67 | |
| 68 | #define RGBLED_NUM 12 // Number of LEDs | 68 | #define RGBLED_NUM 12 // Number of LEDs |
| 69 | #define ws2812_PORTREG PORTD | ||
| 70 | #define ws2812_DDRREG DDRD | ||
| 71 | 69 | ||
| 72 | 70 | ||
| 73 | /* | 71 | /* |
diff --git a/keyboards/redox/rev1/config.h b/keyboards/redox/rev1/config.h index f8041f235..fe951f722 100644 --- a/keyboards/redox/rev1/config.h +++ b/keyboards/redox/rev1/config.h | |||
| @@ -62,10 +62,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 62 | 62 | ||
| 63 | /* ws2812 RGB LED */ | 63 | /* ws2812 RGB LED */ |
| 64 | #define RGB_DI_PIN D3 | 64 | #define RGB_DI_PIN D3 |
| 65 | #define RGBLIGHT_TIMER | 65 | |
| 66 | #define RGBLED_NUM 14 // Number of LEDs | 66 | #define RGBLED_NUM 14 // Number of LEDs |
| 67 | #define ws2812_PORTREG PORTD | ||
| 68 | #define ws2812_DDRREG DDRD | ||
| 69 | 67 | ||
| 70 | /* | 68 | /* |
| 71 | * Feature disable options | 69 | * Feature disable options |
diff --git a/keyboards/the_ruler/config.h b/keyboards/the_ruler/config.h index 16135bbd1..e72875c76 100644 --- a/keyboards/the_ruler/config.h +++ b/keyboards/the_ruler/config.h | |||
| @@ -155,9 +155,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 155 | //#define NO_ACTION_MACRO | 155 | //#define NO_ACTION_MACRO |
| 156 | //#define NO_ACTION_FUNCTION | 156 | //#define NO_ACTION_FUNCTION |
| 157 | 157 | ||
| 158 | #define RGBLIGHT_TIMER | 158 | |
| 159 | #define RGB_DI_PIN E6 // The pin your RGB strip is wired to | 159 | #define RGB_DI_PIN E6 // The pin your RGB strip is wired to |
| 160 | #define RGBLIGHT_TIMER // Require for fancier stuff (not compatible with audio) | ||
| 161 | #define RGBLED_NUM 1 // Number of LEDs | 160 | #define RGBLED_NUM 1 // Number of LEDs |
| 162 | #define RGBLIGHT_ANIMATIONS | 161 | #define RGBLIGHT_ANIMATIONS |
| 163 | #define RGBLIGHT_HUE_STEP 10 | 162 | #define RGBLIGHT_HUE_STEP 10 |
diff --git a/keyboards/vitamins_included/rev1/config.h b/keyboards/vitamins_included/rev1/config.h index 26023bfea..0347477ee 100644 --- a/keyboards/vitamins_included/rev1/config.h +++ b/keyboards/vitamins_included/rev1/config.h | |||
| @@ -59,10 +59,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 59 | 59 | ||
| 60 | /* ws2812 RGB LED */ | 60 | /* ws2812 RGB LED */ |
| 61 | #define RGB_DI_PIN F0 | 61 | #define RGB_DI_PIN F0 |
| 62 | #define RGBLIGHT_TIMER | 62 | |
| 63 | #define RGBLED_NUM 16 // Number of LEDs | 63 | #define RGBLED_NUM 16 // Number of LEDs |
| 64 | #define ws2812_PORTREG PORTF | ||
| 65 | #define ws2812_DDRREG DDRF | ||
| 66 | #define RGBLIGHT_ANIMATIONS | 64 | #define RGBLIGHT_ANIMATIONS |
| 67 | 65 | ||
| 68 | /* Audio settings */ | 66 | /* Audio settings */ |
diff --git a/keyboards/viterbi/rev1/config.h b/keyboards/viterbi/rev1/config.h index 3400ea31a..d6a66408e 100644 --- a/keyboards/viterbi/rev1/config.h +++ b/keyboards/viterbi/rev1/config.h | |||
| @@ -61,10 +61,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 61 | 61 | ||
| 62 | /* ws2812 RGB LED */ | 62 | /* ws2812 RGB LED */ |
| 63 | #define RGB_DI_PIN D3 | 63 | #define RGB_DI_PIN D3 |
| 64 | #define RGBLIGHT_TIMER | 64 | |
| 65 | #define RGBLED_NUM 16 // Number of LEDs | 65 | #define RGBLED_NUM 16 // Number of LEDs |
| 66 | #define ws2812_PORTREG PORTD | ||
| 67 | #define ws2812_DDRREG DDRD | ||
| 68 | 66 | ||
| 69 | /* | 67 | /* |
| 70 | * Feature disable options | 68 | * Feature disable options |
diff --git a/keyboards/wavelet/config.h b/keyboards/wavelet/config.h index 4e45ef8e1..ac6c96696 100644 --- a/keyboards/wavelet/config.h +++ b/keyboards/wavelet/config.h | |||
| @@ -53,7 +53,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 53 | 53 | ||
| 54 | /* ws2812 RGB LED */ | 54 | /* ws2812 RGB LED */ |
| 55 | #define RGB_DI_PIN D3 | 55 | #define RGB_DI_PIN D3 |
| 56 | #define RGBLIGHT_TIMER | 56 | |
| 57 | #define RGBLED_NUM 12 // Number of LEDs | 57 | #define RGBLED_NUM 12 // Number of LEDs |
| 58 | 58 | ||
| 59 | /* Backlight LEDs */ | 59 | /* Backlight LEDs */ |
diff --git a/keyboards/zen/rev1/config.h b/keyboards/zen/rev1/config.h index efae55892..890d30757 100644 --- a/keyboards/zen/rev1/config.h +++ b/keyboards/zen/rev1/config.h | |||
| @@ -65,10 +65,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 65 | 65 | ||
| 66 | /* ws2812 RGB LED */ | 66 | /* ws2812 RGB LED */ |
| 67 | #define RGB_DI_PIN D1 | 67 | #define RGB_DI_PIN D1 |
| 68 | #define RGBLIGHT_TIMER | 68 | |
| 69 | #define RGBLED_NUM 16 // Number of LEDs | 69 | #define RGBLED_NUM 16 // Number of LEDs |
| 70 | #define ws2812_PORTREG PORTD | ||
| 71 | #define ws2812_DDRREG DDRD | ||
| 72 | 70 | ||
| 73 | /* | 71 | /* |
| 74 | * Feature disable options | 72 | * Feature disable options |
